You are here

function install_bootstrap_full in Drupal 9

Same name and namespace in other branches
  1. 8 core/includes/install.core.inc \install_bootstrap_full()
  2. 7 includes/install.core.inc \install_bootstrap_full()

Performs a full bootstrap of Drupal during installation.

File

core/includes/install.core.inc, line 1547
API functions for installing Drupal.

Code

function install_bootstrap_full() {

  // Store the session on the request object and start it.

  /** @var \Symfony\Component\HttpFoundation\Session\SessionInterface $session */
  $session = \Drupal::service('session');
  \Drupal::request()
    ->setSession($session);
  $session
    ->start();
}