public function Updater::__construct in Update helper 2.x
Same name and namespace in other branches
- 8 src/Updater.php \Drupal\update_helper\Updater::__construct()
Constructs the PathBasedBreadcrumbBuilder.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory service.
\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: Module installer service.
\Drupal\config_update\ConfigRevertInterface $config_reverter: Config reverter service.
\Drupal\update_helper\ConfigHandler $config_handler: Configuration handler service.
\Drupal\update_helper\UpdateLogger $logger: Update logger.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: Event dispatcher.
File
- src/
Updater.php, line 85
Class
- Updater
- Helper class to update configuration.
Namespace
Drupal\update_helperCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleInstallerInterface $module_installer, ConfigRevertInterface $config_reverter, ConfigHandler $config_handler, UpdateLogger $logger, EventDispatcherInterface $event_dispatcher) {
$this->configFactory = $config_factory;
$this->moduleInstaller = $module_installer;
$this->configReverter = $config_reverter;
$this->configHandler = $config_handler;
$this->logger = $logger;
$this->eventDispatcher = $event_dispatcher;
}