protected function FileStorageTest::insert in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\StorageCode
protected function insert($name, $data) {
file_put_contents($this->storage
->getFilePath($name), $data);
}