You are here

public function ReadOnlyStorage::__construct in Config Filter 8

Same name and namespace in other branches
  1. 8.2 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::__construct()

Create a ReadOnlyStorage decorating another storage.

Parameters

\Drupal\Core\Config\StorageInterface $storage: The decorated storage.

File

src/Config/ReadOnlyStorage.php, line 30

Class

ReadOnlyStorage
Class ReadOnlyStorage.

Namespace

Drupal\config_filter\Config

Code

public function __construct(StorageInterface $storage) {
  $this->storage = $storage;
}