function EntityStorageBase::getAggregateQuery
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::getAggregateQuery()
- 10 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::getAggregateQuery()
- 11.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::getAggregateQuery()
Overrides EntityStorageInterface::getAggregateQuery
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php, line 603
Class
- EntityStorageBase
- A base entity storage class.
Namespace
Drupal\Core\EntityCode
public function getAggregateQuery($conjunction = 'AND') {
// Access the service directly rather than entity.query factory so the
// storage's current entity type is used.
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.