You are here

public function StorageFilterInterface::setFilteredStorage in Config Filter 8.2

Same name and namespace in other branches
  1. 8 src/Config/StorageFilterInterface.php \Drupal\config_filter\Config\StorageFilterInterface::setFilteredStorage()

Sets the wrapped config storage which is using the filter.

This storage is available to the filter in order to inspect how the end result looks like. This is useful for reading configuration from the storage as drupal will. Beware of recursive calls to the filter.

Parameters

\Drupal\Core\Config\StorageInterface $storage: The storage which has the filters applied.

File

src/Config/StorageFilterInterface.php, line 43

Class

StorageFilterInterface
Interface StorageFilterInterface.

Namespace

Drupal\config_filter\Config

Code

public function setFilteredStorage(StorageInterface $storage);