You are here

protected function GhostStorageTest::getStorage in Configuration Split 8

Override the storage decorating.

Parameters

\Drupal\Core\Config\StorageInterface $source: The storage to decorate.

Return value

\Drupal\config_split\Config\GhostStorage The storage to test.

1 call to GhostStorageTest::getStorage()
GhostStorageTest::testWriteOperations in src/Tests/GhostStorageTest.php
Override the dataprovider for write methods.

File

src/Tests/GhostStorageTest.php, line 26

Class

GhostStorageTest
Tests GhostStorage operations.

Namespace

Drupal\config_split\Tests

Code

protected function getStorage(StorageInterface $source) {
  return new GhostStorage($source);
}