module_load_all

Definition

module_load_all()
includes/module.inc, line 11

Description

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

Code

<?php
function module_load_all() {
  foreach (module_list(TRUE, FALSE) as $module) {
    drupal_load('module', $module);
  }
}
?>
 
 

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.