function ManagedStorageTest::getStorage
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::getStorage()
- 8.9.x core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::getStorage()
- 11.x core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::getStorage()
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ ManagedStorageTest.php, line 21
Class
- ManagedStorageTest
- Tests ManagedStorage operations.
Namespace
Drupal\KernelTests\Core\Config\StorageCode
public function getStorage() {
// We return a new storage every time to make sure the managed storage
// only calls this once and retains the configuration by itself.
return new MemoryStorage();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.