function module_load_all_includes in Drupal 6
Same name and namespace in other branches
- 7 includes/module.inc \module_load_all_includes()
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 includes/
common.inc - Get the schema definition of a table, or the whole database schema.
File
- 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);
}
}