Returns a aggregation query object for a given entity type.
string $entity_type: The entity type.
string $conjunction:
\Drupal\Core\Entity\EntityManager $entity_manager: The entity manager.
\Drupal\Core\Entity\Query\QueryAggregateInterface The query object that can query the given entity type.
\Drupal\Core\Entity\Query\QueryException
public function getAggregate($entity_type, $conjunction, EntityManager $entity_manager) {
throw new QueryException('Aggregation over configuration entities is not supported');
}