Sometimes I need to create reference field that can reference not only to one entity type, but for many types. For example - reference to commerce_product and node entities. But now in Entity reference field I can select only one entity type.

Will be good to add an option for expose entity type selection into field edit form. So in field settings I can select multiple entity types that will be available, and user select type that he want.

This info can be stored in two fields, target_entity_type & target_id instead of current target_id only.

If this functional is already exists in this or other module, please describe this, if not - will be good to see this feature in future versions.

Comments

rp7’s picture

Would love this functionality as well.

rp7’s picture

Issue summary: View changes

Fixed typo

Jason Dean’s picture

Issue summary: View changes

This would be sooo useful :)

vispa’s picture

Please develop this ability for entity reference field. I need to this.

ev_DMAC’s picture

Support! Would be nice to have this functionality.

greedesign’s picture

This functionality would be extremely useful. Especially for things like featured sliders or other call to action components.
eg. Being able to create a slider that links to a featured product, as well as a term page for a product type.

Syntapse’s picture

subscribing.

Collins405’s picture

Same here, please add! :-)

ehsanamini’s picture

Precisely what I need. I want the applicants on my site to choose from a list of organizations (reference to user entity if the organization has a user account on my site or plain text in case the organization is not registered on the site)

pdxgimlet’s picture

YESSSSS. Exactly what ehsanamini said.

urodriguezpomba’s picture

Please support this ¿Someone patch?

tea.time’s picture

For reference, this was requested and responded to as "won't fix" a few years back - https://www.drupal.org/node/1292402

Syntapse’s picture

the solution we've all been waiting for! https://www.drupal.org/project/entity_reference_multiple

Collins405’s picture

avpaderno’s picture

Status: Active » Closed (duplicate)
Related issues: +#1292402: Allow for an entity reference field to reference multiple entity types