You are here

public function SelectionInterface::entityQueryAlter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface::entityQueryAlter()

Allows the selection to alter the SelectQuery generated by EntityFieldQuery.

Parameters

\Drupal\Core\Database\Query\SelectInterface $query: A Select Query object.

3 methods override SelectionInterface::entityQueryAlter()
Broken::entityQueryAlter in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
DefaultSelection::entityQueryAlter in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
ViewsSelection::entityQueryAlter in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
Allows the selection to alter the SelectQuery generated by EntityFieldQuery.

File

core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 54
Contains \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface.

Class

SelectionInterface
Interface definition for Entity Reference Selection plugins.

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Code

public function entityQueryAlter(SelectInterface $query);