You are here

function module_load_all_includes in Drupal 7

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

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

1 call to module_load_all_includes()
drupal_get_complete_schema in includes/bootstrap.inc
Gets the whole database schema.
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 355
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);
  }
}