function StorageInterface::getAllCollectionNames

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

12 methods override StorageInterface::getAllCollectionNames()
CachedStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/CachedStorage.php
Gets the existing collections.
CheckpointStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.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.

... See full list

File

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

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.