You are here

protected function ManagedStorageTest::insert in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::insert()
  2. 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) {
  $this->storage
    ->write($name, $data);
}