You are here

protected function FileStorageTest::read in Zircon Profile 8

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

Overrides ConfigStorageTestBase::read

File

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

Class

FileStorageTest
Tests FileStorage operations.

Namespace

Drupal\config\Tests\Storage

Code

protected function read($name) {
  $data = file_get_contents($this->storage
    ->getFilePath($name));
  return Yaml::decode($data);
}