function ExtensionInstallCommand::__construct
Same name in this branch
- main core/modules/system/src/Command/ExtensionInstallCommand.php \Drupal\system\Command\ExtensionInstallCommand::__construct()
Same name and namespace in other branches
- 11.x core/modules/system/src/Command/ExtensionInstallCommand.php \Drupal\system\Command\ExtensionInstallCommand::__construct()
- 11.x core/lib/Drupal/Core/Extension/Command/ExtensionInstallCommand.php \Drupal\Core\Extension\Command\ExtensionInstallCommand::__construct()
File
-
core/
lib/ Drupal/ Core/ Extension/ Command/ ExtensionInstallCommand.php, line 43
Class
- ExtensionInstallCommand
- Installs modules or themes, resolving and confirming their dependencies.
Namespace
Drupal\Core\Extension\CommandCode
public function __construct(protected readonly ModuleInstallerInterface $moduleInstaller, protected readonly ThemeInstallerInterface $themeInstaller, protected readonly ModuleExtensionList $moduleExtensionList, protected readonly ThemeExtensionList $themeExtensionList, protected readonly MessengerInterface $messenger) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.