function module_load_all_includes

7.x module.inc module_load_all_includes($type, $name = NULL)
6.x module.inc module_load_all_includes($type, $name = NULL)

Load an include file for each of the modules that have been enabled in the system table.

1 call to module_load_all_includes()
drupal_get_schema in drupal-6.x/includes/common.inc
Get the schema definition of a table, or the whole database schema.

File

drupal-6.x/includes/module.inc, line 299
API for loading and interacting with Drupal modules.

Code

function module_load_all_includes($type, $name = NULL) {
  $modules = module_list();
  foreach ($modules as $module) {
    module_load_include($type, $module, $name);
  }
}