You are here

public function ViewsSelection::entityQueryAlter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php \Drupal\views\Plugin\EntityReferenceSelection\ViewsSelection::entityQueryAlter()

Allows the selection to alter the SelectQuery generated by EntityFieldQuery.

Parameters

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

Overrides SelectionInterface::entityQueryAlter

File

core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php, line 294
Contains \Drupal\views\Plugin\EntityReferenceSelection\ViewsSelection.

Class

ViewsSelection
Plugin implementation of the 'selection' entity_reference.

Namespace

Drupal\views\Plugin\EntityReferenceSelection

Code

public function entityQueryAlter(SelectInterface $query) {
}