public function __construct(ConfigFactoryInterface
$config_factory, KeyValueFactoryInterface
$key_value, ConfigManagerInterface
$config_manager) { $this->configFactory =
$config_factory;
$this->keyValueFactory =
$key_value;
$this->configManager =
$config_manager;
$this->namespaces = QueryBase::
getNamespaces($this);
} /**
* {@inheritdoc}
*/
public function get(EntityTypeInterface
$entity_type,
$conjunction) { return new Query($entity_type,
$conjunction,
$this->configFactory,
$this->keyValueFactory,
$this->namespaces
);
} /**
* {@inheritdoc}
*/
public function getAggregate(EntityTypeInterface
$entity_type,
$conjunction) { throw new QueryException('Aggregation over configuration entities is not supported'
);
} /**
* Gets the key value store used to store fast lookups.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type.
*
* @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface
* The key value store used to store fast lookups.
*/