public function StorageReplaceDataWrapper::createCollection in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config/src/StorageReplaceDataWrapper.php \Drupal\config\StorageReplaceDataWrapper::createCollection()
- 9 core/modules/config/src/StorageReplaceDataWrapper.php \Drupal\config\StorageReplaceDataWrapper::createCollection()
File
- core/
modules/ config/ src/ StorageReplaceDataWrapper.php, line 167
Class
- StorageReplaceDataWrapper
- Wraps a configuration storage to allow replacing specific configuration data.
Namespace
Drupal\configCode
public function createCollection($collection) {
return new static($this->storage
->createCollection($collection), $collection);
}