You are here

public function ConfigSyncLister::__construct in Configuration Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/ConfigSyncLister.php \Drupal\config_sync\ConfigSyncLister::__construct()

Constructs a ConfigSyncLister object.

Parameters

\Drupal\config_provider\Plugin\ConfigCollectorInterface $config_collector: The config collector.

\Drupal\config_update\ConfigListInterface $config_update_lister: The configuration update lister.

\Drupal\Core\Config\StorageInterface $active_storage: The active storage.

\Drupal\Core\Config\StorageInterface $snapshot_extension_storage: The snapshot storage for the items from the extension storage.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.

File

src/ConfigSyncLister.php, line 79

Class

ConfigSyncLister
Provides methods related to listing configuration changes.

Namespace

Drupal\config_sync

Code

public function __construct(ConfigCollectorInterface $config_collector, ConfigUpdateListerInterface $config_update_lister, StorageInterface $active_storage, StorageInterface $snapshot_extension_storage, ConfigManagerInterface $config_manager) {
  $this->configCollector = $config_collector;
  $this->configUpdateLister = $config_update_lister;
  $this->activeStorage = $active_storage;
  $this->snapshotExtensionStorage = $snapshot_extension_storage;
  $this->configManager = $config_manager;
}