You are here

public function FeaturesConfigInstaller::__construct in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesConfigInstaller.php \Drupal\features\FeaturesConfigInstaller::__construct()

Constructs the configuration installer.

Parameters

\Drupal\Core\Config\ConfigInstallerInterface $config_installer: The configuration installer.

\Drupal\features\FeaturesManagerInterface $features_manager: The features manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

\Drupal\Core\Config\StorageInterface $active_storage: The active configuration storage.

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed configuration manager.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

string $install_profile: The name of the currently active installation profile.

Overrides ConfigInstaller::__construct

File

src/FeaturesConfigInstaller.php, line 55

Class

FeaturesConfigInstaller
Class for customizing the test for pre existing configuration.

Namespace

Drupal\features

Code

public function __construct(ConfigInstallerInterface $config_installer, FeaturesManagerInterface $features_manager, ConfigFactoryInterface $config_factory, StorageInterface $active_storage, TypedConfigManagerInterface $typed_config, ConfigManagerInterface $config_manager, EventDispatcherInterface $event_dispatcher, $install_profile) {
  parent::__construct($config_factory, $active_storage, $typed_config, $config_manager, $event_dispatcher, $install_profile);
  $this->configInstaller = $config_installer;
  $this->featuresManager = $features_manager;
}