function CachedStorage::getCacheKey
Same name in other branches
- 9 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::getCacheKey()
- 8.9.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::getCacheKey()
- 11.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::getCacheKey()
Returns a cache key for a configuration name using the collection.
Parameters
string $name: The configuration name.
Return value
string The cache key for the configuration name.
5 calls to CachedStorage::getCacheKey()
- CachedStorage::delete in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - Deletes a configuration object from the storage.
- CachedStorage::findByPrefix in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - Finds configuration object names starting with a given prefix.
- CachedStorage::read in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - Reads configuration data from the storage.
- CachedStorage::rename in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - Renames a configuration object in the storage.
- CachedStorage::write in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - Writes configuration data to the storage.
File
-
core/
lib/ Drupal/ Core/ Config/ CachedStorage.php, line 266
Class
- CachedStorage
- Defines the cached storage.
Namespace
Drupal\Core\ConfigCode
protected function getCacheKey($name) {
return $this->getCollectionPrefix() . $name;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.