This module enhances entity reference fields by allowing you to randomly select and display a configured number of referenced entities. It uses AJAX to fetch these random entities, ensuring fresh content without relying on caching for anonymous users. This functionality can be applied to various content entity types like nodes, taxonomy terms, and paragraphs.
This module provides a new "Random Rendered entity" formatter for the "entity_reference" and "entity_reference_revisions" field types which randomly pulls a configurable amount of entities from the referenced items using AJAX(avoiding Internal Page cache for anonymous users).
Meta
Can be used with Node, Taxonomy Term, Paragraphs, ... any Content entity type really.
Ask your assistant about Random entity reference formatter
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 3.0.1 | Stable | 10–11 | Aug 16, 2025 | ||
| 3.0.0 | Stable | 10–11 | PHP >=8.1 | Jul 10, 2024 | |
| 3.0.0-rc6 | Pre-release | 10–11 | PHP >=8.1 | Jul 10, 2024 | |
| 3.0.0-rc5 | Pre-release | 9–10 | PHP >=8.1 | Nov 24, 2023 | |
| 3.0.0-rc4 | Pre-release | 9–10 | PHP >=8.1 | Feb 7, 2023 | |
| 3.0.0-rc3 | Pre-release | 9–10 | PHP >=8.1 | Feb 6, 2023 | |
| 3.0.0-rc2 | Pre-release | 9–10 | PHP >=8.1 | Jan 27, 2023 |