function RecipeOverrideConfigStorage::createCollection

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php \Drupal\Core\Recipe\RecipeOverrideConfigStorage::createCollection()

Overrides StorageInterface::createCollection

File

core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php, line 115

Class

RecipeOverrideConfigStorage
Wraps a config storage to allow recipe provided configuration to override it.

Namespace

Drupal\Core\Recipe

Code

public function createCollection($collection) : static {
    return new static($this->recipeStorage
        ->createCollection($collection), $this->wrappedStorage
        ->createCollection($collection), $collection);
}

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