Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Install as usual as per http://drupal.org/node/895232.
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".
Supporting organizations:
Attachment | Size |
---|---|
Core's bad autocomplete labels | 8.76 KB |
Improved autocomplete labels | 11.82 KB |
Project information
- Module categories: Content Editing Experience
- 34 sites report using this module
- By shashank5563 on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-2.1
released 25 July 2023
Works with Drupal: ^8.8 || ^9 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 8.x-2.x-dev updated 16 Jun 2022 at 12:07 UTC