module_load_all_includes

6 module.inc module_load_all_includes($type, $name = NULL)
7 module.inc module_load_all_includes($type, $name = NULL)
8 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()

1 string reference to 'module_load_all_includes'

File

includes/module.inc, line 313
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);
  }
}
Login or register to post comments