You are here

public function CachedStorage::getAllCollectionNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::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/Config/CachedStorage.php, line 251
Contains \Drupal\Core\Config\CachedStorage.

Class

CachedStorage
Defines the cached storage.

Namespace

Drupal\Core\Config

Code

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