function SelectionInterface::entityQueryAlter
Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
Parameters
\Drupal\Core\Database\Query\SelectInterface $query: A Select Query object.
1 method overrides SelectionInterface::entityQueryAlter()
- SelectionPluginBase::entityQueryAlter in core/lib/ Drupal/ Core/ Entity/ EntityReferenceSelection/ SelectionPluginBase.php 
- Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
File
- 
              core/lib/ Drupal/ Core/ Entity/ EntityReferenceSelection/ SelectionInterface.php, line 49 
Class
- SelectionInterface
- Interface definition for Entity Reference Selection plugins.
Namespace
Drupal\Core\Entity\EntityReferenceSelectionCode
public function entityQueryAlter(SelectInterface $query);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
