function InstallCommand::__construct
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Command/InstallCommand.php \Drupal\Core\Command\InstallCommand::__construct()
- 10 core/lib/Drupal/Core/Command/InstallCommand.php \Drupal\Core\Command\InstallCommand::__construct()
- 11.x core/lib/Drupal/Core/Command/InstallCommand.php \Drupal\Core\Command\InstallCommand::__construct()
Constructs a new InstallCommand command.
Parameters
object $class_loader: The class loader.
File
-
core/
lib/ Drupal/ Core/ Command/ InstallCommand.php, line 40
Class
- InstallCommand
- Installs a Drupal site for local testing/development.
Namespace
Drupal\Core\CommandCode
public function __construct($class_loader) {
parent::__construct('install');
$this->classLoader = $class_loader;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.