You are here

public function ConfigEntityStorageDecorator::getAggregateQuery in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::getAggregateQuery()
  2. 8 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::getAggregateQuery()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::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.

Overrides EntityStorageInterface::getAggregateQuery

See also

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

File

webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php, line 164

Class

ConfigEntityStorageDecorator
Class ConfigEntityStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function getAggregateQuery($conjunction = 'AND') {
  return $this
    ->getOriginalObject()
    ->getAggregateQuery($conjunction);
}