protected function ConfigFactory::getConfigCacheKey in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getConfigCacheKey()
Gets the static cache key for a given config name.
Parameters
string $name: The name of the configuration object.
bool $immutable: Whether or not the object is mutable.
Return value
string The cache key.
1 call to ConfigFactory::getConfigCacheKey()
- ConfigFactory::doLoadMultiple in core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php - Returns a list of configuration objects for the given names.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php, line 291
Class
- ConfigFactory
- Defines the configuration object factory.
Namespace
Drupal\Core\ConfigCode
protected function getConfigCacheKey($name, $immutable) {
$suffix = '';
if ($immutable) {
$suffix = ':' . implode(':', $this
->getCacheKeys());
}
return $name . $suffix;
}