function module_load_all in Drupal 4
Same name and namespace in other branches
- 5 includes/module.inc \module_load_all()
- 6 includes/module.inc \module_load_all()
- 7 includes/module.inc \module_load_all()
Load all the modules that have been enabled in the system table.
1 call to module_load_all()
- _drupal_bootstrap_full in includes/
common.inc
File
- includes/
module.inc, line 11 - API for loading and interacting with Drupal modules.
Code
function module_load_all() {
foreach (module_list(TRUE, FALSE) as $module) {
drupal_load('module', $module);
}
}