Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Reference Labels

Security covered Under active development 41 sites

Part of the Entity ecosystem · 306 projects

This module improves the descriptive labels used in entity reference fields. It appends the machine name to the entity's label, which helps differentiate between referenced entities that share the same name. This enhancement is particularly useful when using autocomplete widgets.

Tired of the non-descriptive entity reference autocomplete labels? This module enhances the core labels with the entity's machine name, which is especially useful if a referenced entity has the same name as another one being referenced.

Requirements

You must have the entity_reference core module installed.

Install

Usage

  • Create an entity reference field that references block configuration, however this could be another entity type.
  • On the field's edit page, select "Default (Descriptive)" as the reference method.
  • Make sure the field uses an autocomplete widget on the form display settings.
  • On your edit page, you can search via typeahead like a normal autocomplete field, but the format will be "Entity Label [machine_name]" instead of just "Entity Label".
Drupal 8–11

Ask your assistant about Entity Reference Labels

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jul 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
8.x-2.2 Stable 8–11 Nov 20, 2024
8.x-2.1 Stable 8–10 Jul 25, 2023