function AutoloadingStorage::createCollection
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/AutoloadingStorage.php \Drupal\Core\Config\AutoloadingStorage::createCollection()
File
-
core/
lib/ Drupal/ Core/ Config/ AutoloadingStorage.php, line 141
Class
- AutoloadingStorage
- Defines the autoloading storage.
Namespace
Drupal\Core\ConfigCode
public function createCollection($collection) : static {
$storage = new static($this->storage
->createCollection($collection));
$storage->classloader = $this->classloader;
return $storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.