function EntityStorageBase::getAggregateQuery

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

Overrides EntityStorageInterface::getAggregateQuery

File

core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 631

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

public function getAggregateQuery($conjunction = 'AND') {
    return \Drupal::service($this->getQueryServiceName())
        ->getAggregate($this->entityType, $conjunction);
}

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