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.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Entity reference trim module is a small and simple module which allows you to hide entity target id for autocomplete widget type (referenced target id between two brackets). So far module supports only single entityreference autocomplete widget type.
Example of usage:
Lets say that you have autocomplete entityreference field for cars content type, selected value for that field is present as "Audi (5)", or "BMW (8)". This module simply hide terget id and selected value looks: "Audi" or "BMW".
Project information
- Module categories: Site Structure
- Created by peem83 on , updated