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.

See Media Library Media Modify for a better and more robust approach to referenced media.

Supporting organizations: 
Expanded capabilities and helps maintain

Project information

Releases