Extends an entityreference field to maintain its references to taxonomy terms in the {taxonomy_index} table.

Note, unlike entityPostInsert() and entityPostUpdate(), entityDelete() is not needed as cleanup is performed by taxonomy module in taxonomy_delete_node_index().

Hierarchy

Expanded class hierarchy of EntityReferenceBehaviorHandlerTaxonomyIndex

File

core/modules/entityreference/plugins/behavior/EntityReferenceBehaviorHandlerTaxonomyIndex.inc, line 16
Plugin class for the taxonomy behavior.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
EntityReferenceBehaviorHandler::$behavior protected property The name of the behavior plugin.
EntityReferenceBehaviorHandler::$plugin protected property The plugin definition.
EntityReferenceBehaviorHandler::delete public function Act before deleting an entity with an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::delete
EntityReferenceBehaviorHandler::entityPostDelete public function Act after deleting an entity. Overrides EntityReferenceBehaviorHandlerInterface::entityPostDelete
EntityReferenceBehaviorHandler::insert public function Act before inserting an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::insert
EntityReferenceBehaviorHandler::is_empty_alter public function Alter the empty status of a field item. Overrides EntityReferenceBehaviorHandlerInterface::is_empty_alter
EntityReferenceBehaviorHandler::load public function Act on loading entity reference fields of entities. Overrides EntityReferenceBehaviorHandlerInterface::load
EntityReferenceBehaviorHandler::postDelete public function Act after deleting an entity with an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::postDelete
EntityReferenceBehaviorHandler::postInsert public function Act after inserting an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::postInsert
EntityReferenceBehaviorHandler::postUpdate public function Act after updating an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::postUpdate
EntityReferenceBehaviorHandler::presave public function Act on pre-saving an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::presave
EntityReferenceBehaviorHandler::property_info_alter public function Alter the properties information of a field instance. Overrides EntityReferenceBehaviorHandlerInterface::property_info_alter
EntityReferenceBehaviorHandler::schema_alter public function Alter the field schema. Overrides EntityReferenceBehaviorHandlerInterface::schema_alter
EntityReferenceBehaviorHandler::update public function Act before updating an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::update
EntityReferenceBehaviorHandler::validate public function Act on validating an entity reference field. Overrides EntityReferenceBehaviorHandlerInterface::validate
EntityReferenceBehaviorHandler::views_data_alter public function Alter the views data of a field. Overrides EntityReferenceBehaviorHandlerInterface::views_data_alter
EntityReferenceBehaviorHandler::__construct public function Constructor for the behavior. Overrides EntityReferenceBehaviorHandlerInterface::__construct
EntityReferenceBehaviorHandlerTaxonomyIndex::access public function Overrides EntityReferenceBehaviorHandler::access(). Overrides EntityReferenceBehaviorHandler::access
EntityReferenceBehaviorHandlerTaxonomyIndex::buildNodeIndex protected function Builds and inserts taxonomy index entries for a given node.
EntityReferenceBehaviorHandlerTaxonomyIndex::entityPostInsert public function Overrides EntityReferenceBehaviorHandler::entityPostInsert(). Overrides EntityReferenceBehaviorHandler::entityPostInsert
EntityReferenceBehaviorHandlerTaxonomyIndex::entityPostUpdate public function Overrides EntityReferenceBehaviorHandler::entityPostUpdate(). Overrides EntityReferenceBehaviorHandler::entityPostUpdate
EntityReferenceBehaviorHandlerTaxonomyIndex::settingsForm public function Overrides EntityReferenceBehaviorHandler::settingsForm(). Overrides EntityReferenceBehaviorHandler::settingsForm