function ConfigInstaller::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::__construct()
- 11.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::__construct()
- 10 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::__construct()
- 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::__construct()
- 9 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::__construct()
- 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::__construct()
- 8.9.x core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::__construct()
- 8.9.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::__construct()
Constructs the configuration installer.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The configuration factory.
\Drupal\Core\Config\StorageInterface $active_storage: The active configuration storage.
\Drupal\Core\Config\TypedConfigManagerInterface $typedConfig: The typed configuration manager.
\Drupal\Core\Config\ConfigManagerInterface $configManager: The configuration manager.
\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher.
string $installProfile: The name of the currently active installation profile.
\Drupal\Core\Extension\ExtensionPathResolver $extensionPathResolver: The extension path resolver.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php, line 57
Class
- ConfigInstaller
- The config installer.
Namespace
Drupal\Core\ConfigCode
public function __construct(protected ConfigFactoryInterface $configFactory, StorageInterface $active_storage, protected TypedConfigManagerInterface $typedConfig, protected ConfigManagerInterface $configManager, protected EventDispatcherInterface $eventDispatcher, protected $installProfile, protected ExtensionPathResolver $extensionPathResolver) {
$this->activeStorages[$active_storage->getCollectionName()] = $active_storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.