function StorageManagerInterface::getStorage

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/StorageManagerInterface.php \Drupal\Core\Config\StorageManagerInterface::getStorage()
  2. 10 core/lib/Drupal/Core/Config/StorageManagerInterface.php \Drupal\Core\Config\StorageManagerInterface::getStorage()
  3. 11.x core/lib/Drupal/Core/Config/StorageManagerInterface.php \Drupal\Core\Config\StorageManagerInterface::getStorage()

Get the config storage.

Return value

\Drupal\Core\Config\StorageInterface The config storage.

Throws

\Drupal\Core\Config\StorageTransformerException Thrown when the lock could not be acquired.

2 methods override StorageManagerInterface::getStorage()
ExportStorageManager::getStorage in core/lib/Drupal/Core/Config/ExportStorageManager.php
Get the config storage.
ManagedStorageTest::getStorage in core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php
Get the config storage.

File

core/lib/Drupal/Core/Config/StorageManagerInterface.php, line 19

Class

StorageManagerInterface
Interface for a storage manager.

Namespace

Drupal\Core\Config

Code

public function getStorage();

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