function ModuleHandler::getModuleList
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::getModuleList()
- 10 core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::getModuleList()
- 11.x core/lib/Drupal/Core/Extension/ModuleHandler.php \Drupal\Core\Extension\ModuleHandler::getModuleList()
Overrides ModuleHandlerInterface::getModuleList
1 call to ModuleHandler::getModuleList()
- ModuleHandler::getModuleDirectories in core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php - Returns an array of directories for all enabled modules. Useful for tasks such as finding a file that exists in all module directories.
File
-
core/
lib/ Drupal/ Core/ Extension/ ModuleHandler.php, line 165
Class
- ModuleHandler
- Class that manages modules in a Drupal installation.
Namespace
Drupal\Core\ExtensionCode
public function getModuleList() {
return $this->moduleList;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.