You are here

public function SyncFilterDeriver::__construct in Configuration Synchronizer 8.2

SyncFilter constructor.

Parameters

\Drupal\config_sync\ConfigSyncListerInterface $config_sync_lister: The configuration synchronizer lister.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

\Drupal\Core\State\StateInterface $state: The state storage object.

File

src/Plugin/ConfigFilter/SyncFilterDeriver.php, line 62

Class

SyncFilterDeriver
Deriver for SyncFilter filters.

Namespace

Drupal\config_sync\Plugin\ConfigFilter

Code

public function __construct(ConfigSyncListerInterface $config_sync_lister, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, StateInterface $state) {
  $this->configSyncLister = $config_sync_lister;
  $this->moduleHandler = $module_handler;
  $this->themeHandler = $theme_handler;
  $this->state = $state;
}