StorageReplaceDataWrapper::getAllCollectionNames

public StorageReplaceDataWrapper::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/modules/config/src/StorageReplaceDataWrapper.php, line 177

Class

StorageReplaceDataWrapper
Wraps a configuration storage to allow replacing specific configuration data.

Namespace

Drupal\config

Code

public function getAllCollectionNames() {
  return $this->storage->getAllCollectionNames();
}
doc_Drupal
2016-10-29 09:44:48
Comments
Leave a Comment

Please login to continue.