You are here

public function SyncFilter::__construct in Configuration Synchronizer 8.2

Constructs a new SyncFilter.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\StorageInterface $sync_source_storage: The sync source configuration storage.

File

src/Plugin/ConfigFilter/SyncFilter.php, line 57

Class

SyncFilter
Provides a sync filter that brings in updates from installed extensions.

Namespace

Drupal\config_sync\Plugin\ConfigFilter

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, StorageInterface $sync_source_storage) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->syncSourceStorage = $sync_source_storage;
}