You are here

function install_bootstrap_full in Zircon Profile 8.0

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

Performs a full bootstrap of Drupal during installation.

File

core/includes/install.core.inc, line 1460
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();
}