function StorageManagerInterface::getStorage
Same name in other branches
- 9 core/lib/Drupal/Core/Config/StorageManagerInterface.php \Drupal\Core\Config\StorageManagerInterface::getStorage()
- 8.9.x core/lib/Drupal/Core/Config/StorageManagerInterface.php \Drupal\Core\Config\StorageManagerInterface::getStorage()
- 10 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
File
-
core/
lib/ Drupal/ Core/ Config/ StorageManagerInterface.php, line 19
Class
- StorageManagerInterface
- Interface for a storage manager.
Namespace
Drupal\Core\ConfigCode
public function getStorage();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.