Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::isEnvironmentInitialized
  2. 9 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::isEnvironmentInitialized

Whether the PHP environment has been initialized.

This legacy phase can only be booted once because it sets session INI settings. If a session has already been started, re-generating these settings would break the session.

Type: bool

File

core/lib/Drupal/Core/DrupalKernel.php, line 244

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected static $isEnvironmentInitialized = FALSE;