ConfigFactory::getConfigCacheKey

protected ConfigFactory::getConfigCacheKey($name, $immutable)

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.

File

core/lib/Drupal/Core/Config/ConfigFactory.php, line 291

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

protected function getConfigCacheKey($name, $immutable) {
  $suffix = '';
  if ($immutable) {
    $suffix = ':' . implode(':', $this->getCacheKeys());
  }
  return $name . $suffix;
}
doc_Drupal
2016-10-29 08:53:13
Comments
Leave a Comment

Please login to continue.