You are here

public function ConfigFeaturesImporterService::__construct in Config Importer and Tools 8

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

ConfigFeaturesImporterService constructor.

Parameters

ConfigRevertInterface $config_revert: Config revert service.

FeaturesManagerInterface $features_manager: Features manager service.

FeaturesAssignerInterface $features_assigner: Features assigner service.

LoggerChannelFactoryInterface $logger_factory: Logger factory service.

File

src/ConfigFeaturesImporterService.php, line 56

Class

ConfigFeaturesImporterService
Class ConfigFeaturesImporterService.

Namespace

Drupal\config_import

Code

public function __construct(ConfigRevertInterface $config_revert, FeaturesManagerInterface $features_manager, FeaturesAssignerInterface $features_assigner, LoggerChannelFactoryInterface $logger_factory) {
  $this->configRevert = $config_revert;
  $this->featuresManager = $features_manager;
  $this->featuresAssigner = $features_assigner;
  $this->loggerChannel = $logger_factory
    ->get('config_update');
}