public function ConfigSyncCommands::__construct in Configuration Synchronizer 8.2
Same name and namespace in other branches
- 8 src/Commands/ConfigSyncCommands.php \Drupal\config_sync\Commands\ConfigSyncCommands::__construct()
Constructs a new ConfigSyncCommands object.
Parameters
\Drupal\config_sync\ConfigSyncListerInterface $configSyncLister: The config synchronisation lister service.
\Drupal\Core\Config\StorageInterface $activeStorage: The active configuration storage.
\Drupal\Core\Config\ConfigManagerInterface $configManager: The configuration manager.
\Drush\Drupal\Commands\config\ConfigImportCommands $configImportCommands: The service containing Drush commands for regular core config imports.
File
- src/
Commands/ ConfigSyncCommands.php, line 59
Class
- ConfigSyncCommands
- Drush integration for the Configuration Synchronizer module.
Namespace
Drupal\config_sync\CommandsCode
public function __construct(ConfigSyncListerInterface $configSyncLister, StorageInterface $activeStorage, ConfigManagerInterface $configManager, ConfigImportCommands $configImportCommands) {
parent::__construct();
$this->configSyncLister = $configSyncLister;
$this->activeStorage = $activeStorage;
$this->configManager = $configManager;
$this->configImportCommands = $configImportCommands;
}