protected function CachedStorage::getCacheKey

protected CachedStorage::getCacheKey($name)

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.

File

core/lib/Drupal/Core/Config/CachedStorage.php, line 266

Class

CachedStorage
Defines the cached storage.

Namespace

Drupal\Core\Config

Code

protected function getCacheKey($name) {
  return $this->getCollectionPrefix() . $name;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!CachedStorage.php/function/CachedStorage::getCacheKey/8.1.x