This module rules. I was inspired to create a video tutorial of it. Here's text to accompany it. It'd be good to update the Help text for the module too, as I added the last step around configuring the form display.
About
The Entity Reference Override module provides an entity reference field paired with an accompanying text field which can be used to replace, on the referencing entities representation of the referenced entity, certain aspects of the referenced entity.
Any one of these elements on the referenced entity can be overridden by the referencing entity:
- Title
- Classes added to rendered entities
- Display mode for the rendered entity
- Any text field (experimental)
Note that only one of these is overridable at a time, as this module provides only one text field.
Usage
Go to the Manage fields tab of any fieldable entity, for example Administration » Structure » Content types » Article » Manage fields for the article content type. Press Add field, and using the Add a new field dropdown, scrolling to under Reference, select "Entity reference w/custom text", provide a label for your entity referencing field, and then press Save and continue.
On the resulting page, select what type of item to reference and allowed number of values as you would for any entity reference field, and Save field settings.
On the Manage Form Display page, choose the field to override.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/YxEXml5-SXQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>