You are here

public function StorageManagerInterface::getStorage in Drupal 9

Same name and namespace in other branches
  1. 8 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();