function RecipeConfigStorageWrapper::getAllCollectionNames

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

Overrides StorageInterface::getAllCollectionNames

File

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

Class

RecipeConfigStorageWrapper
Merges two storages together.

Namespace

Drupal\Core\Recipe

Code

public function getAllCollectionNames() : array {
    return array_unique(array_merge($this->storageA
        ->getAllCollectionNames(), $this->storageB
        ->getAllCollectionNames()));
}

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