Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SelectionInterface.php

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 71

Class

SelectionInterface
Interface definition for Entity Reference Selection plugins.

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Code

public function entityQueryAlter(SelectInterface $query);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal