You are here

public function StorageInterface::getAllCollectionNames in Drupal 10

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

1 method overrides StorageInterface::getAllCollectionNames()
MemoryStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/MemoryStorage.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();