public function DrupalModulesManager::getAllModules in Configuration Management 7.3
1 call to DrupalModulesManager::getAllModules()
- DrupalModulesManager::findDependencies in src/
Helpers/ DrupalModulesManager.php
File
- src/
Helpers/ DrupalModulesManager.php, line 69
Class
Namespace
Configuration\HelpersCode
public function getAllModules($rebuild = FALSE) {
if (empty($this->modules) || $rebuild) {
$files = system_rebuild_module_data();
foreach ($files as $id => $file) {
if ($file->type == 'module' && empty($file->info['hidden'])) {
$this->modules[$id] = $file;
}
}
}
return $this->modules;
}