public function StorageFilter::filterWrite

8.0.x StorageFilter.php public StorageFilter::filterWrite($name, array $data, StorageInterface $storage)
master StorageFilter.php public StorageFilter::filterWrite($name, array $data, StorageInterface $storage)

Filter configuration data before it is written to storage.

Parameters

string $name: The name of a configuration object to save.

array $data: The configuration data to filter.

StorageInterface: The storage object that the filtered data will be written to. Provided in case the filter needs to read the existing configuration before writing it.

Return value

array $data The filtered data.

1 method overrides StorageFilter::filterWrite()
CoreExtensionFilter::filterWrite in lib/Drush/Config/CoreExtensionFilter.php
Filter configuration data before it is written to storage.

File

lib/Drush/Config/StorageFilter.php, line 42
Definition of Drush\Config\StorageFilter.

Namespace

Drush\Config

Class

StorageFilter

Code

public function filterWrite($name, array $data, StorageInterface $storage);