SelectionInterface::entityQueryAlter

public SelectionInterface::entityQueryAlter(SelectInterface $query)

Allows the selection to alter the SelectQuery generated by EntityFieldQuery.

Parameters

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

File

core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 49

Class

SelectionInterface
Interface definition for Entity Reference Selection plugins.

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Code

public function entityQueryAlter(SelectInterface $query);
doc_Drupal
2016-10-29 09:41:46
Comments
Leave a Comment

Please login to continue.