function StorageReplaceDataWrapperTest::insert

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

Overrides ConfigStorageTestBase::insert

File

core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php, line 36

Class

StorageReplaceDataWrapperTest
Tests StorageReplaceDataWrapper operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

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

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