This module enhances the autocomplete functionality for entity reference fields. It allows you to customize how suggested entities are displayed, removing entity IDs from the suggestions and enabling further styling through the Token module, similar to how Pathauto works for URLs.
What is the Entity Reference Patterns module?
A Pathauto for Autocomplete fields to control autocomplete field suggestions. Change how autocomplete suggestion list appears when searching for field value (Content, User (including Author field), Taxonomy, Menu and many other entity types). Autocomplete suggestions list does not include referenced entity IDs. The reference ID is only visible in default values.
UI provides an easy way to change appearance of the suggestion labels using Token module. The UI is very similar to the UI of the Pathauto module.
The module is using Token module as a dependency.
Screenshots
Entity Reference Pattern listing page:
New Entity Reference Pattern form:
Override User reference autocomplete:
Override entity reference autocomplete:
Supporting the Project
Please consider supporting this project with a donation.
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.12 | Stable | 10–11 | Jul 15, 2026 |