You are here

public function ConfigHandler::__construct in Update helper 2.x

Same name and namespace in other branches
  1. 8 src/ConfigHandler.php \Drupal\update_helper\ConfigHandler::__construct()

Config handler constructor.

Parameters

\Drupal\config_update\ConfigListInterface $config_list: Config list service.

\Drupal\config_update\ConfigRevertInterface $config_reverter: Config reverter service.

\Drupal\config_update\ConfigDiffInterface $config_differ: Config differ service.

\Drupal\update_helper\ConfigDiffTransformer $config_diff_transformer: Configuration transformer for diffing.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.

\Drupal\Component\Serialization\SerializationInterface $serializer: Array serializer service.

\Drupal\update_helper\ConfigExporter $config_exporter: Configuration exporter service.

File

src/ConfigHandler.php, line 104

Class

ConfigHandler
Configuration handler.

Namespace

Drupal\update_helper

Code

public function __construct(ConfigListInterface $config_list, ConfigRevertInterface $config_reverter, ConfigDiffInterface $config_differ, ConfigDiffTransformer $config_diff_transformer, ModuleHandlerInterface $module_handler, SerializationInterface $serializer, ConfigExporter $config_exporter) {
  $this->configList = $config_list;
  $this->configReverter = $config_reverter;
  $this->configDiffer = $config_differ;
  $this->configDiffTransformer = $config_diff_transformer;
  $this->moduleHandler = $module_handler;
  $this->serializer = $serializer;
  $this->configExporter = $config_exporter;
}