public function ConfigSyncInitializer::__construct in Configuration Synchronizer 8
Constructs a ConfigSyncInitializer object.
Parameters
\Drupal\config_provider\Plugin\ConfigCollectorInterface $config_collector: The config collector.
\Drupal\config_sync\ConfigSyncSnapshotterInterface $config_sync_snapshotter: The config snapshotter.
\Drupal\Core\Config\StorageInterface $active_storage: The active storage.
\Drupal\Core\Config\StorageInterface $snapshot_extension_storage: The extension snapshot storage.
\Drupal\Core\Config\StorageInterface $merged_storage: The merged storage.
\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.
File
- src/
ConfigSyncInitializer.php, line 74
Class
- ConfigSyncInitializer
- Returns responses for config module routes.
Namespace
Drupal\config_syncCode
public function __construct(ConfigCollectorInterface $config_collector, ConfigSyncSnapshotterInterface $config_sync_snapshotter, StorageInterface $active_storage, StorageInterface $snapshot_extension_storage, StorageInterface $merged_storage, ConfigManagerInterface $config_manager) {
$this->configCollector = $config_collector;
$this->configSyncSnapshotter = $config_sync_snapshotter;
$this->activeStorage = $active_storage;
$this->snapshotExtensionStorage = $snapshot_extension_storage;
$this->mergedStorage = $merged_storage;
$this->configManager = $config_manager;
}