function Query::getConfigKeyStore

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/Query/Query.php \Drupal\Core\Config\Entity\Query\Query::getConfigKeyStore()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/Query/Query.php \Drupal\Core\Config\Entity\Query\Query::getConfigKeyStore()
  3. 11.x 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 243

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);
}

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