On this page
function module_load_all_includes
module_load_all_includes($type, $name = NULL)
Loads an include file for each module enabled in the {system} table.
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);
}
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!module.inc/function/module_load_all_includes/7.x