function SelectionInterface::entityQueryAlter
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface::entityQueryAlter()
- 10 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface::entityQueryAlter()
- 11.x 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.
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 67
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.