You are here

protected function FileStorageTest::insert in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/config/src/Tests/Storage/FileStorageTest.php \Drupal\config\Tests\Storage\FileStorageTest::insert()

Overrides ConfigStorageTestBase::insert

File

core/modules/config/src/Tests/Storage/FileStorageTest.php, line 48
Contains \Drupal\config\Tests\Storage\FileStorageTest.

Class

FileStorageTest
Tests FileStorage operations.

Namespace

Drupal\config\Tests\Storage

Code

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