function QueryFactory::getConfigKeyStore
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php \Drupal\Core\Config\Entity\Query\QueryFactory::getConfigKeyStore()
- 8.9.x core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php \Drupal\Core\Config\Entity\Query\QueryFactory::getConfigKeyStore()
- 10 core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php \Drupal\Core\Config\Entity\Query\QueryFactory::getConfigKeyStore()
Gets the key value store used to store fast lookups.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.
Return value
\Drupal\Core\KeyValueStore\KeyValueStoreInterface The key value store used to store fast lookups.
2 calls to QueryFactory::getConfigKeyStore()
- QueryFactory::deleteConfigKeyStore in core/
lib/ Drupal/ Core/ Config/ Entity/ Query/ QueryFactory.php - Deletes lookup data.
- QueryFactory::updateConfigKeyStore in core/
lib/ Drupal/ Core/ Config/ Entity/ Query/ QueryFactory.php - Updates or adds lookup data.
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ Query/ QueryFactory.php, line 92
Class
- QueryFactory
- Provides a factory for creating entity query objects for the config backend.
Namespace
Drupal\Core\Config\Entity\QueryCode
protected function getConfigKeyStore(EntityTypeInterface $entity_type) {
return $this->keyValueFactory
->get(static::CONFIG_LOOKUP_PREFIX . $entity_type->id());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.