Add documentation page

Created on 28 September 2020, almost 5 years ago
Updated 15 January 2025, 7 months ago

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>

📌 Task
Status

Fixed

Version

1.0

Component

Documentation

Created by

🇺🇸United States cedewey Denver, CO

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024