Entity reference plus data

Categories

Component ID

2105199

Component name

Entity reference plus data

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

709

Component created

Component changed

Component body

Currently Entity Reference only allows for one View Mode to be selected for displaying a reference field.

This project extends Entity Reference by allowing selection of the View Mode for each referenced Entity within the field. It provides a field widget for selecting the Entity (using autocomplete) and View Mode, a field formatter to display the selected View Mode for the entity, as well a Migrate field handler.

Why is this cool? Because it lets you reuse chunks of content, the referenced entities, in a different way each time you use them. E.g., if you're referencing an article, you can choose to render the full article or the teaser, or if you're referencing an image, it can be shown inline or as a thumbnail with a lightbox.

Brought to you by the friendly geeks at ThinkShout.