public function ModuleHandlerInterface::getModuleList

Returns a list of currently active modules.

Return value

array An associative array whose keys are the names of the modules and whose values are the module filenames.

1 method overrides ModuleHandlerInterface::getModuleList()

File

drupal/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 63
Contains Drupal\Core\Extension\ModuleHandlerInterface.

Class

ModuleHandlerInterface
Interface for classes that manage a set of enabled modules.

Namespace

Drupal\Core\Extension

Code

public function getModuleList();