function RecipeOverrideConfigStorage::__construct
Parameters
\Drupal\Core\Config\StorageInterface $recipeStorage: The recipe's configuration storage.
\Drupal\Core\Config\StorageInterface $wrappedStorage: The storage to override.
string $collection: (optional) The collection to store configuration in. Defaults to the default collection.
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeOverrideConfigStorage.php, line 26
Class
- RecipeOverrideConfigStorage
- Wraps a config storage to allow recipe provided configuration to override it.
Namespace
Drupal\Core\RecipeCode
public function __construct(protected readonly StorageInterface $recipeStorage, protected readonly StorageInterface $wrappedStorage, protected readonly string $collection = StorageInterface::DEFAULT_COLLECTION) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.