This module enhances entity reference fields by allowing you to use different plugins for selecting and validating referenced entities. This enables more flexible entity referencing, such as only allowing future events to be selected while still validating against all events.
This module adds an entityreference selection plugin that allows to select different selection plugins for selection and validation.
Example use cases:
- Reference only future events. With this module you can have only future events (view) for selection and all events (default) for validation
- Add and reference non-reusable foo entities (e.g. media) via Inline Entity Form. With this module you can have only reusable foo entities (view) for selection and all foo entities (default) for validation
Without this module, you'd be able to reference those entities in the first place, but editing would remove them. With the module you can have a broader validation than selection plugin.
Known issues:
* #3176278: Make "Entity Reference Selection and Validation" usable in Webforms
Ask your assistant about EntityReference Selection and Validation
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.