function CachedStorageTest::update
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\CachedStorageTest::update()
- 8.9.x core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\CachedStorageTest::update()
- 10 core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\CachedStorageTest::update()
Overrides ConfigStorageTestBase::update
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ CachedStorageTest.php, line 71
Class
- CachedStorageTest
- Tests CachedStorage operations.
Namespace
Drupal\KernelTests\Core\Config\StorageCode
protected function update($name, $data) : void {
$this->fileStorage
->write($name, $data);
$this->cache
->set($name, $data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.