function CachedStorage::createCollection

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::createCollection()
  2. 10 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::createCollection()
  3. 11.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::createCollection()

Overrides StorageInterface::createCollection

File

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

Class

CachedStorage
Defines the cached storage.

Namespace

Drupal\Core\Config

Code

public function createCollection($collection) {
    return new static($this->storage
        ->createCollection($collection), $this->cache);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.