Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Linkit 7.0.17 Minor update available for module linkit (7.0.17). Release: Paragraphs Editor Enhancements 10.2.0 Minor update available for module paragraphs_ee (10.2.0). Release: Paragraphs Editor Enhancements 10.1.1 Minor update available for module paragraphs_ee (10.1.1). Release: Trash 3.0.34 Minor update available for module trash (3.0.34). Release: Paragraphs Editor Enhancements 10.0.9 Minor update available for module paragraphs_ee (10.0.9). Release: Trash 3.1.0 Minor update available for module trash (3.1.0). Release: Paragraphs Sets 3.0.4 Minor update available for module paragraphs_sets (3.0.4). Release: Paragraphs Sets 3.1.0 Minor update available for module paragraphs_sets (3.1.0). Usage Milestone: Schemata Module schemata crossed 1,000 active installs. Module Revived: CVA (Class Variance Authority) 1.0.1 Module cva updated after 7 months of inactivity (1.0.1).

Autocomplete Entity ID

853 sites Security covered Drupal 9–11
View on drupal.org

This module enhances Drupal's entity autocomplete to allow searching and matching entities by their ID, in addition to their label. It prepends any ID matches to the top of the results list, making it easier to find specific entities. This functionality can be used via a dedicated widget for entity reference fields, programmatically, or enabled globally for all autocomplete fields.

The Entity Autocomplete ID module enhances Drupal's default entity autocomplete functionality by enabling users to search and match entities based on their unique IDs, in addition to the conventional entity labels. If there is a match by ID, an extra result is prepended and shown first in the result list. Module provides a form element, an entity reference field widget, and allows for easy global enabling across all existing autocomplete fields.

How to use it:

  • On the entity form display configuration page, use the 'Autocomplete ID' widget on any entity reference fields.
  • Programmatically, you can use the 'entity_id_autocomplete' form render element type.
  • Alternatively, you can enable it globally for use in all autocomplete fields across the site. Don't forget to configure permissions if you want to restrict access by roles.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.

Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Develop Autocomplete Entity ID using DDEV βš™

If you haven't already, install DDEV.

git clone [email protected]:project/autocomplete_id.git
cd autocomplete_id
ddev config --project-type=drupal --docroot=web --php-version=8.4 --corepack-enable --project-name=autocomplete-id
ddev add-on get ddev/ddev-drupal-contrib
ddev start
ddev poser
ddev symlink-project
ddev drush site:install -y
ddev drush pm:install autocomplete_id -y
ddev drush config:export -y
ddev drush user:login

Consider sponsoring DDEV development.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
1
Tracked since
Aug 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
8.x-1.8 Stable 9–11 Aug 4, 2026