You are here

protected property DrupalKernel::$environment in Drupal 10

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

The environment, e.g. 'testing', 'install'.

Type: string

File

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

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected $environment;