function ManagedStorageTest::insert

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

Overrides ConfigStorageTestBase::insert

File

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

Class

ManagedStorageTest
Tests ManagedStorage operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

protected function insert($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.