protected function GhostStorageTest::getStorage in Config Filter 8
Same name and namespace in other branches
- 8.2 src/Tests/GhostStorageTest.php \Drupal\config_filter\Tests\GhostStorageTest::getStorage()
Override the storage decorating.
Parameters
\Drupal\Core\Config\StorageInterface $source: The storage to decorate.
Return value
\Drupal\config_filter\Config\GhostStorage The storage to test.
Overrides ReadonlyStorageTest::getStorage
1 call to GhostStorageTest::getStorage()
- GhostStorageTest::testWriteOperations in src/
Tests/ GhostStorageTest.php - Override the dataprovider for write methods.
File
- src/
Tests/ GhostStorageTest.php, line 25
Class
- GhostStorageTest
- Tests GhostStorage operations.
Namespace
Drupal\config_filter\TestsCode
protected function getStorage(StorageInterface $source) {
return new GhostStorage($source);
}