You are here

public function DecoratingConfigInstaller::__construct in Configuration selector 8.2

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

DecoratingConfigInstaller constructor.

Parameters

\Drupal\Core\Config\ConfigInstallerInterface $config_installer: The config.installer service to decorate.

\Drupal\config_selector\ConfigSelector $config_selector: The config_selector service.

File

src/DecoratingConfigInstaller.php, line 32

Class

DecoratingConfigInstaller
Decorates the config.installer service so install_install_profiles() works.

Namespace

Drupal\config_selector

Code

public function __construct(ConfigInstallerInterface $config_installer, ConfigSelector $config_selector) {
  $this->decoratedService = $config_installer;
  $this->configSelector = $config_selector;
}