@file Generic Entity handler.

The generic base implementation with a variety of overrides for core entities.

Hierarchy

Expanded class hierarchy of EntityReferenceSelectionHandlerGeneric

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandlerGeneric.inc, line 10
Generic Entity handler.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
EntityReferenceSelectionHandlerGeneric::$label_key protected property The entity's label key as required for matching the autocomplete string.
EntityReferenceSelectionHandlerGeneric::buildEntityFieldQuery protected function Build an EntityFieldQuery to get referencable entities.
EntityReferenceSelectionHandlerGeneric::countReferencableEntities public function Implements EntityReferenceHandler::countReferencableEntities(). Overrides EntityReferenceSelectionHandlerInterface::countReferencableEntities
EntityReferenceSelectionHandlerGeneric::ensureBaseTable public function Ensure a base table exists for the query.
EntityReferenceSelectionHandlerGeneric::entityFieldQueryAlter public function Implements EntityReferenceHandler::entityFieldQueryAlter(). Overrides EntityReferenceSelectionHandlerInterface::entityFieldQueryAlter
EntityReferenceSelectionHandlerGeneric::getInstance public static function Implements EntityReferenceHandler::getInstance(). Overrides EntityReferenceSelectionHandlerInterface::getInstance
EntityReferenceSelectionHandlerGeneric::getLabel public function Implements EntityReferenceHandler::getLabel(). Overrides EntityReferenceSelectionHandlerInterface::getLabel
EntityReferenceSelectionHandlerGeneric::getReferencableEntities public function Implements EntityReferenceHandler::getReferencableEntities(). Overrides EntityReferenceSelectionHandlerInterface::getReferencableEntities
EntityReferenceSelectionHandlerGeneric::reAlterQuery protected function Helper method: pass a query to the alteration system again.
EntityReferenceSelectionHandlerGeneric::settingsForm public static function Implements EntityReferenceHandler::settingsForm(). Overrides EntityReferenceSelectionHandlerInterface::settingsForm
EntityReferenceSelectionHandlerGeneric::validateAutocompleteInput public function Implements EntityReferenceHandler::validateAutocompleteInput(). Overrides EntityReferenceSelectionHandlerInterface::validateAutocompleteInput
EntityReferenceSelectionHandlerGeneric::validateReferencableEntities public function Implements EntityReferenceHandler::validateReferencableEntities(). Overrides EntityReferenceSelectionHandlerInterface::validateReferencableEntities
EntityReferenceSelectionHandlerGeneric::__construct protected function Constructor for EntityReferenceSelectionHandlerGeneric.