You are here

protected property DrupalKernel::$environment in Drupal 9

Same name and namespace in other branches
  1. 8 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 118

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected $environment;