function UpdatePathTestBase::installDrupal

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::installDrupal()

File

core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php, line 189

Class

UpdatePathTestBase
Provides a base class for writing an update test.

Namespace

Drupal\FunctionalTests\Update

Code

public function installDrupal() {
  $this->initUserSession();
  $this->prepareSettings();
  $this->doInstall();
  $this->initSettings();
  $request = Request::createFromGlobals();
  $container = $this->initKernel($request);
  $this->initConfig($container);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.