CachedStorage::readMultiple

public CachedStorage::readMultiple(array $names) Reads configuration data from the storage. Parameters array $names: List of names of the configuration objects to load. Return value array A list of the configuration data stored for the configuration object name that could be loaded for the passed list of names. Overrides StorageInterface::readMultiple File core/lib/Drupal/Core/Config/CachedStorage.php, line 82 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Confi

CachedStorage::__construct

public CachedStorage::__construct(StorageInterface $storage, CacheBackendInterface $cache) Constructs a new CachedStorage. Parameters \Drupal\Core\Config\StorageInterface $storage: A configuration storage to be cached. \Drupal\Core\Cache\CacheBackendInterface $cache: A cache backend used to store configuration. File core/lib/Drupal/Core/Config/CachedStorage.php, line 47 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code public function __construct(Storag

CachedStorage::read

public CachedStorage::read($name) Reads configuration data from the storage. Parameters string $name: The name of a configuration object to load. Return value array|bool The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned. Overrides StorageInterface::read File core/lib/Drupal/Core/Config/CachedStorage.php, line 65 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code public

CachedStorage::getAllCollectionNames

public CachedStorage::getAllCollectionNames() Gets the existing collections. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection key name identifies the current collection used. Return value array An array of existing collection names. Overrides StorageInterface::getAllCollectionNames File core/lib/Drupal/Core/Config/CachedStorage.php, line 246 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config

CachedStorage::getCacheKeys

protected CachedStorage::getCacheKeys(array $names) Returns a cache key map for an array of configuration names. Parameters array $names: The configuration names. Return value array An array of cache keys keyed by configuration names. File core/lib/Drupal/Core/Config/CachedStorage.php, line 279 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code protected function getCacheKeys(array $names) { $prefix = $this->getCollectionPrefix(); $cache_keys = a

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; }

CachedStorage::getCollectionPrefix

protected CachedStorage::getCollectionPrefix() Returns a cache ID prefix to use for the collection. Return value string The cache ID prefix. File core/lib/Drupal/Core/Config/CachedStorage.php, line 294 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code protected function getCollectionPrefix() { $collection = $this->storage->getCollectionName(); if ($collection == StorageInterface::DEFAULT_COLLECTION) { return ''; } return $collection .

CachedStorage::getCollectionName

public CachedStorage::getCollectionName() Gets the name of the current collection the storage is using. Return value string The current collection name. Overrides StorageInterface::getCollectionName File core/lib/Drupal/Core/Config/CachedStorage.php, line 253 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code public function getCollectionName() { return $this->storage->getCollectionName(); }

CachedStorage::listAll

public CachedStorage::listAll($prefix = '') Gets configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned. Return value array An array containing matching configuration object names. Overrides StorageInterfa

CachedStorage::findByPrefix

protected CachedStorage::findByPrefix($prefix) Finds configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: The prefix to search for Return value array An array containing matching configuration object names. File core/lib/Drupal/Core/Config/CachedStorage.php, line 204 Class CachedStorage Defines the ca