You are here

public function ReadOnlyStorage::getCollectionName in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ReadOnlyStorage.php \Drupal\Core\Config\ReadOnlyStorage::getCollectionName()

Gets the name of the current collection the storage is using.

Return value

string The current collection name.

Overrides StorageInterface::getCollectionName

File

core/lib/Drupal/Core/Config/ReadOnlyStorage.php, line 114

Class

ReadOnlyStorage
A ReadOnlyStorage decorates a storage and does not allow writing to it.

Namespace

Drupal\Core\Config

Code

public function getCollectionName() {
  return $this->storage
    ->getCollectionName();
}