Module Description
An entity reference field paired with an accompanying text field. This custom text field on the referencing entity can be used to:
* override the linked entity's title
* override any text field or text area (including WYSIWYG) on the referenced entity
* add an extra class to its rendered output, or
* override the default display mode for the field on an entity-by-entity basis.
Useful when you're building "related article" lists or aggregate pages that use entity references to pull in other articles, but you need to tweak the appearance of individual entities for contextual relevance or emphasis. It can also be used to give per-project job roles to people credited on a project, or to provide a contextually-relevant short bio for an author referenced from a piece of article content. If you need it, you're feeling happy right now.
Based on the approach of extending a field type in Drupal 8 by Lullabot's Matt Robison.
* override the linked entity's title
* override any text field or text area (including WYSIWYG) on the referenced entity
* add an extra class to its rendered output, or
* override the default display mode for the field on an entity-by-entity basis.
Useful when you're building "related article" lists or aggregate pages that use entity references to pull in other articles, but you need to tweak the appearance of individual entities for contextual relevance or emphasis. It can also be used to give per-project job roles to people credited on a project, or to provide a contextually-relevant short bio for an author referenced from a piece of article content. If you need it, you're feeling happy right now.
Based on the approach of extending a field type in Drupal 8 by Lullabot's Matt Robison.
Module Link
Project Usage
1400
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to allow users to override linked entity titles, text fields, add extra classes, or change display modes on a per-entity basis for contextual relevance or emphasis in Drupal 8.
Data Name
entity_reference_override