function module_load_all

7.x module.inc module_load_all($bootstrap = FALSE)
6.x 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 drupal-6.x/includes/common.inc

File

drupal-6.x/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);
  }
}