function StorageInterface::getAllCollectionNames

Same name in other branches
  1. 9 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. 11.x 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.

8 methods override StorageInterface::getAllCollectionNames()
CachedStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/CachedStorage.php
Gets the existing collections.
DatabaseStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/DatabaseStorage.php
Gets the existing collections.
FileStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/FileStorage.php
Gets the existing collections.
ManagedStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/ManagedStorage.php
Gets the existing collections.
MemoryStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/MemoryStorage.php
Gets the existing collections.

... See full list

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.