function EntityStorageInterface::getAggregateQuery

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getAggregateQuery()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getAggregateQuery()
  3. 10 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getAggregateQuery()

Gets an aggregated query instance.

Parameters

string $conjunction: (optional) The logical operator for the query, either:

  • AND: all of the conditions on the query need to match.
  • OR: at least one of the conditions on the query need to match.

Return value

\Drupal\Core\Entity\Query\QueryAggregateInterface The aggregated query object that can query the given entity type.

See also

\Drupal\Core\Entity\EntityStorageBase::getQueryServiceName()

1 method overrides EntityStorageInterface::getAggregateQuery()
EntityStorageBase::getAggregateQuery in core/lib/Drupal/Core/Entity/EntityStorageBase.php

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 183

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function getAggregateQuery($conjunction = 'AND');

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.