@file Abstraction of the selection logic of an entity reference field.

Implementations that wish to provide an implementation of this should register it with hook_entityreference_selection_plugins().

Implemented by

Hierarchy

Expanded class hierarchy of EntityReferenceSelectionHandlerInterface

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandler.inc, line 10
Abstraction of the selection logic of an entity reference field.

Members

Contains filters are case sensitive
Name Modifiers Type Descriptionsort descending
EntityReferenceSelectionHandlerInterface::countReferencableEntities public function Count entities that are referenceable by a given field.
EntityReferenceSelectionHandlerInterface::getInstance public static function Factory function: create a new instance of this handler for a given field.
EntityReferenceSelectionHandlerInterface::settingsForm public static function Generate a settings form for this handler.
EntityReferenceSelectionHandlerInterface::entityFieldQueryAlter public function Give the handler a chance to alter the SelectQuery generated by EntityFieldQuery.
EntityReferenceSelectionHandlerInterface::getReferencableEntities public function Return a list of referenceable entities.
EntityReferenceSelectionHandlerInterface::getLabel public function Return the label of a given entity.
EntityReferenceSelectionHandlerInterface::validateAutocompleteInput public function Validate Input from autocomplete widget that has no Id.
EntityReferenceSelectionHandlerInterface::validateReferencableEntities public function Validate that entities can be referenced by this field.