function SelectionPluginBase::entityQueryAlter
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::entityQueryAlter()
- 10 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::entityQueryAlter()
- 11.x core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::entityQueryAlter()
Overrides SelectionInterface::entityQueryAlter
2 calls to SelectionPluginBase::entityQueryAlter()
- CommentSelection::entityQueryAlter in core/
modules/ comment/ src/ Plugin/ EntityReferenceSelection/ CommentSelection.php - Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
- UserSelection::entityQueryAlter in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
2 methods override SelectionPluginBase::entityQueryAlter()
- CommentSelection::entityQueryAlter in core/
modules/ comment/ src/ Plugin/ EntityReferenceSelection/ CommentSelection.php - Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
- UserSelection::entityQueryAlter in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
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) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.