protected property DrupalKernel::$environment in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::environment
- 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\CoreCode
protected $environment;