module_load_all

Versions
4.6 – 6
module_load_all()
7
module_load_all($bootstrap = FALSE)

Load all the modules that have been enabled in the system table.

Code

includes/module.inc, line 11

<?php
function module_load_all() {
  foreach (module_list(TRUE, FALSE) as $module) {
    drupal_load('module', $module);
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.