public function SelectionPluginBase::entityQueryAlter in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::entityQueryAlter()
- 9 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::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/
lib/ Drupal/ Core/ Entity/ EntityReferenceSelection/ SelectionPluginBase.php, line 87
Class
- SelectionPluginBase
- Provides a base class for configurable selection handlers.
Namespace
Drupal\Core\Entity\EntityReferenceSelectionCode
public function entityQueryAlter(SelectInterface $query) {
}