Module Description
Overview Dynamic Entity Reference provides a field type/widget/formatter combination for Drupal 8 that allows an entity-reference field to reference more than one entity type.
Features Create a single field to hold references to Users and Nodes, Or Terms and Nodes, or all three.
8.x-1.x or 3.x with D10 support:
This version only supports content entities with integer IDs as referenceable entities. It doesn't allow content entities with string IDs as referenceable entities.
8.x-2.x or 4.x with D10 support:
This version allows all content entities as referenceable entities. This version also allows all config entities as referenceable entities but it is only configurable programmatically. The content and config entities can be referenced in the same field as well.
DER Extra
Use DER Extra to shows multi-value DER field autoccomplete widget built using chosen. It only works with DER>1.4 OR >2.0-alpha6. For all other versions please use the patch from #2907597: Make DERI::getSettableOptions more usable.
Note: Dynamic Entity Reference 8.x-2.x fields with numeric IDs aren't supported by all hosting platforms, specifically Acquia. #2930423: MySQL triggers aren't supported on all hosting platforms
Version Version >=1.11 >=2.0-alpha14 >=1.16 >=2.0-alpha19 >=3.x-dev >=4.x-dev Core ^8.7.7|| ^9.1|| ^9.2 ^9.3 ^10 PHP <=7.3 >=7.4 >=8.1 Requirements 7.x-1.x
* Entity reference
* Entity
8.x-1.x, 8.x-2.x, 3.x, 4.x
* Field module (in core)
Known problems Please use the issue queue to report problems. DER issues in core.
Credits Development being undertaken by @larowlan and @jibran of PreviousNext
Tutorials
* Drupal modules the one percent did a screencast of this module in action (4 minutes long)
Features Create a single field to hold references to Users and Nodes, Or Terms and Nodes, or all three.
8.x-1.x or 3.x with D10 support:
This version only supports content entities with integer IDs as referenceable entities. It doesn't allow content entities with string IDs as referenceable entities.
8.x-2.x or 4.x with D10 support:
This version allows all content entities as referenceable entities. This version also allows all config entities as referenceable entities but it is only configurable programmatically. The content and config entities can be referenced in the same field as well.
DER Extra
Use DER Extra to shows multi-value DER field autoccomplete widget built using chosen. It only works with DER>1.4 OR >2.0-alpha6. For all other versions please use the patch from #2907597: Make DERI::getSettableOptions more usable.
Note: Dynamic Entity Reference 8.x-2.x fields with numeric IDs aren't supported by all hosting platforms, specifically Acquia. #2930423: MySQL triggers aren't supported on all hosting platforms
Version Version >=1.11 >=2.0-alpha14 >=1.16 >=2.0-alpha19 >=3.x-dev >=4.x-dev Core ^8.7.7|| ^9.1|| ^9.2 ^9.3 ^10 PHP <=7.3 >=7.4 >=8.1 Requirements 7.x-1.x
* Entity reference
* Entity
8.x-1.x, 8.x-2.x, 3.x, 4.x
* Field module (in core)
Known problems Please use the issue queue to report problems. DER issues in core.
Credits Development being undertaken by @larowlan and @jibran of PreviousNext
Tutorials
* Drupal modules the one percent did a screencast of this module in action (4 minutes long)
Module Link
Project Usage
18522
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Dynamic Entity Reference module aims to solve the issue of allowing an entity-reference field to reference more than one entity type in Drupal 8.
Data Name
dynamic_entity_reference