You are here

protected function Query::getConfigKeyStore in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/Query/Query.php \Drupal\Core\Config\Entity\Query\Query::getConfigKeyStore()
  2. 9 core/lib/Drupal/Core/Config/Entity/Query/Query.php \Drupal\Core\Config\Entity\Query\Query::getConfigKeyStore()

Gets the key value store used to store fast lookups.

Return value

\Drupal\Core\KeyValueStore\KeyValueStoreInterface The key value store used to store fast lookups.

File

core/lib/Drupal/Core/Config/Entity/Query/Query.php, line 234

Class

Query
Defines the entity query for configuration entities.

Namespace

Drupal\Core\Config\Entity\Query

Code

protected function getConfigKeyStore() {
  return $this->keyValueFactory
    ->get(QueryFactory::CONFIG_LOOKUP_PREFIX . $this->entityTypeId);
}