You are here

public function ReadOnlyStorage::getAllCollectionNames in Config Filter 8.2

Same name and namespace in other branches
  1. 8 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::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

src/Config/ReadOnlyStorage.php, line 114

Class

ReadOnlyStorage
Class ReadOnlyStorage.

Namespace

Drupal\config_filter\Config

Code

public function getAllCollectionNames() {
  return $this->storage
    ->getAllCollectionNames();
}