Same name and namespace in other branches
  1. 6.x includes/module.inc \module_load_all_includes()

Loads an include file for each module enabled in the {system} table.

2 calls to module_load_all_includes()
drupal_get_complete_schema in includes/bootstrap.inc
Gets the whole database schema.
field_retrieve_schema in modules/field/field.crud.inc
Retrieves the schema for a field.
1 string reference to 'module_load_all_includes'
drupal_get_complete_schema in includes/bootstrap.inc
Gets the whole database schema.

File

includes/module.inc, line 356
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);
  }
}