function RecipeOverrideConfigStorage::getAllCollectionNames

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

Gets the existing collections.

A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection key name identifies the current collection used.

Return value

array An array of existing collection names.

Overrides StorageInterface::getAllCollectionNames

File

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

Class

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

Namespace

Drupal\Core\Recipe

Code

public function getAllCollectionNames() : array {
  return $this->wrappedStorage
    ->getAllCollectionNames();
}

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