function RecipeConfigStorageWrapper::__construct

Same name in other branches
  1. 10 core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php \Drupal\Core\Recipe\RecipeConfigStorageWrapper::__construct()

Parameters

\Drupal\Core\Config\StorageInterface $storageA: First config storage to wrap.

\Drupal\Core\Config\StorageInterface $storageB: Second config storage to wrap.

string $collection: (optional) The collection to store configuration in. Defaults to the default collection.

File

core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php, line 27

Class

RecipeConfigStorageWrapper
Merges two storages together.

Namespace

Drupal\Core\Recipe

Code

public function __construct(StorageInterface $storageA, StorageInterface $storageB, string $collection = StorageInterface::DEFAULT_COLLECTION) {
}

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