function RecipeExtensionConfigStorage::createCollection

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

Overrides StorageInterface::createCollection

File

core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php, line 124

Class

RecipeExtensionConfigStorage
Allows the recipe to select configuration from the module.

Namespace

Drupal\Core\Recipe

Code

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

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