This project is not covered by Drupal’s security advisory policy.
Entity Auto Complete provides:
- autocompete_paths for all entity types that define a label
- "entity_autocomplete" form element
Autocomplete paths
The path is:
entity-autocomplete/%entity_type
To restrict by bundle use:
entity-autocomplete/bundle/%entity_type/%bundles
where bundles is a '+' separated list of bundles.
Each item is returned as
VALUEOFLABELFIELD [id:ENTITYID]
Entity Autocomplete also provides a function for extacting the id
entity_autocomplete_get_id($value)
Form element
There are 2 available options:
- '#entity_type': The entity type [default to "node"]
- '#bundles': An array of bundle machine name [optional]
The element has a validation process to ensure the submitted entity ID is valid. The returned value is the entity ID.
Modules with similar features
The Entity Reference Autocomplete provides almost similar features.
Stable version
A stable version will be released as soon as the issue #1867628: Add tags to the queries for access control is fixed.
This project is sponsored by Phase2 Technology and by MaPS System.
Project information
- Module categories: Site Structure, Developer Tools
- 509 sites report using this module
- Created by e2thex on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 7.x-1.x-dev updated 19 Sep 2016 at 19:33 UTC