You are here

public function SplitFilter::__construct in Configuration Split 8

Constructs a new SplitFilter.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\ConfigManagerInterface $manager: The config manager for retrieving dependent config.

\Drupal\Core\Config\StorageInterface|null $secondary: The config storage for the blacklisted config.

File

src/Plugin/ConfigFilter/SplitFilter.php, line 66

Class

SplitFilter
Provides a SplitFilter.

Namespace

Drupal\config_split\Plugin\ConfigFilter

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigManagerInterface $manager, StorageInterface $secondary = NULL) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->manager = $manager;
  $this->secondaryStorage = $secondary;
  $this->filterLists = new \ArrayObject();
}