function ManagedStorageTest::update

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::update()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::update()
  3. 10 core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::update()

Overrides ConfigStorageTestBase::update

File

core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php, line 52

Class

ManagedStorageTest
Tests ManagedStorage operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

protected function update($name, $data) : void {
    $this->storage
        ->write($name, $data);
}

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