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

Holds the list of enabled modules.

An associative array whose keys are module names and whose values are ignored.

Type: array

File

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

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected $moduleList;