public ModuleHandlerInterface::getModuleList()
Returns the list of currently active modules.
Return value
\Drupal\Core\Extension\Extension[] An associative array whose keys are the names of the modules and whose values are Extension objects.
File
- core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 53
Class
- ModuleHandlerInterface
- Interface for classes that manage a set of enabled modules.
Namespace
Drupal\Core\Extension
Code
public function getModuleList();
Please login to continue.