DrupalKernel::$isEnvironmentInitialized

Same name in other branches
  1. 9 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::isEnvironmentInitialized
  2. 8.9.x core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::isEnvironmentInitialized
  3. 10 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 245

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected static $isEnvironmentInitialized = FALSE;

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