function ExtensionInstallCommand::__construct

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Extension/Command/ExtensionInstallCommand.php \Drupal\Core\Extension\Command\ExtensionInstallCommand::__construct()
Same name and namespace in other branches
  1. main core/modules/system/src/Command/ExtensionInstallCommand.php \Drupal\system\Command\ExtensionInstallCommand::__construct()
  2. main core/lib/Drupal/Core/Extension/Command/ExtensionInstallCommand.php \Drupal\Core\Extension\Command\ExtensionInstallCommand::__construct()

File

core/modules/system/src/Command/ExtensionInstallCommand.php, line 43

Class

ExtensionInstallCommand
Installs modules or themes, resolving and confirming their dependencies.

Namespace

Drupal\system\Command

Code

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.