protected function TestSiteInstallCommand::installDrupal in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php \Drupal\TestSite\Commands\TestSiteInstallCommand::installDrupal()
Installs Drupal into the test site.
1 call to TestSiteInstallCommand::installDrupal()
- TestSiteInstallCommand::setup in core/tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php 
- Creates a test drupal installation.
File
- core/tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php, line 196 
Class
- TestSiteInstallCommand
- Command to create a test Drupal site.
Namespace
Drupal\TestSite\CommandsCode
protected function installDrupal() {
  $this
    ->initUserSession();
  $this
    ->prepareSettings();
  $this
    ->doInstall();
  $this
    ->initSettings();
  $container = $this
    ->initKernel(\Drupal::request());
  $this
    ->initConfig($container);
}