public function BrowserTestBase::installDrupal in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::installDrupal()
- 10 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::installDrupal()
Installs Drupal into the Simpletest site.
1 call to BrowserTestBase::installDrupal()
- BrowserTestBase::setUp in core/
tests/ Drupal/ Tests/ BrowserTestBase.php
1 method overrides BrowserTestBase::installDrupal()
- UpdatePathTestBase::installDrupal in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php - Installs Drupal into the Simpletest site.
File
- core/
tests/ Drupal/ Tests/ BrowserTestBase.php, line 570
Class
- BrowserTestBase
- Provides a test case for functional Drupal tests.
Namespace
Drupal\TestsCode
public function installDrupal() {
$this
->initUserSession();
$this
->prepareSettings();
$this
->doInstall();
$this
->initSettings();
$container = $this
->initKernel(\Drupal::request());
$this
->initConfig($container);
$this
->installDefaultThemeFromClassProperty($container);
$this
->installModulesFromClassProperty($container);
$this
->rebuildAll();
}