function StorageInterface::getAllCollectionNames

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::getAllCollectionNames()
  2. 10 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::getAllCollectionNames()
  3. 9 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::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.

3 methods override StorageInterface::getAllCollectionNames()
DatabaseStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/DatabaseStorage.php
Gets the existing collections.
ManagedStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/ManagedStorage.php
Gets the existing collections.
ReadOnlyStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/ReadOnlyStorage.php
Gets the existing collections.

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 191

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function getAllCollectionNames();

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