module_load_all
includes/module.inc, line 11
- Versions
- 4.6 – 7
module_load_all()
Load all the modules that have been enabled in the system table.
Code
<?php
function module_load_all() {
foreach (module_list(TRUE, FALSE) as $module) {
drupal_load('module', $module);
}
}
?> 