function RecipeMultipleModulesConfigStorage::getAllCollectionNames

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

File

core/lib/Drupal/Core/Recipe/RecipeMultipleModulesConfigStorage.php, line 220

Class

RecipeMultipleModulesConfigStorage
Provides a read-only config storage spanning multiple modules' config.

Namespace

Drupal\Core\Recipe

Code

public function getAllCollectionNames() : array {
  $names = [];
  foreach ($this->fileStorages as $fileStorage) {
    $names = array_merge($names, $fileStorage->getAllCollectionNames());
  }
  return array_values(array_unique($names));
}

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