function FileStorage::createCollection
Same name in other branches
- 9 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::createCollection()
- 8.9.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::createCollection()
- 11.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::createCollection()
Overrides StorageInterface::createCollection
1 method overrides FileStorage::createCollection()
- ExtensionInstallStorage::createCollection in core/
lib/ Drupal/ Core/ Config/ ExtensionInstallStorage.php - Creates a collection on the storage.
File
-
core/
lib/ Drupal/ Core/ Config/ FileStorage.php, line 258
Class
- FileStorage
- Defines the file storage.
Namespace
Drupal\Core\ConfigCode
public function createCollection($collection) {
return new static($this->directory, $collection);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.