function CachedStorageTest::read
Overrides ConfigStorageTestBase::read
File
- 
              core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ CachedStorageTest.php, line 54  
Class
- CachedStorageTest
 - Tests CachedStorage operations.
 
Namespace
Drupal\KernelTests\Core\Config\StorageCode
protected function read($name) {
  $data = $this->cache
    ->get($name);
  // Cache misses fall through to the underlying storage.
  return $data ? $data->data : $this->fileStorage
    ->read($name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.