You are here

public function SelectionInterface::entityFieldQueryAlter in Entity reference 8

Give the handler a chance to alter the SelectQuery generated by EntityFieldQuery.

2 methods override SelectionInterface::entityFieldQueryAlter()
SelectionBase::entityFieldQueryAlter in lib/Drupal/entityreference/Plugin/entityreference/selection/SelectionBase.php
Implements EntityReferenceHandler::entityFieldQueryAlter().
SelectionBroken::entityFieldQueryAlter in lib/Drupal/entityreference/Plugin/Type/Selection/SelectionBroken.php
Give the handler a chance to alter the SelectQuery generated by EntityFieldQuery.

File

lib/Drupal/entityreference/Plugin/Type/Selection/SelectionInterface.php, line 57
Definition of Drupal\entityreference\Plugin\Type\Selection\SelectionInterface.

Class

SelectionInterface
Interface definition for entityre-ference selection plugins.

Namespace

Drupal\entityreference\Plugin\Type\Selection

Code

public function entityFieldQueryAlter(AlterableInterface $query);