function module_load_all

cis7 module_load_all($bootstrap = FALSE)
cle7 module_load_all($bootstrap = FALSE)
elmsmedia7 module_load_all($bootstrap = FALSE)
icor7 module_load_all($bootstrap = FALSE)
meedjum_blog7 module_load_all($bootstrap = FALSE)
mooc7 module_load_all($bootstrap = FALSE)

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


$bootstrap: Whether to load only the reduced set of modules loaded in "bootstrap mode" for cached pages. See

Return value

If $bootstrap is NULL, return a boolean indicating whether all modules have been loaded.

7 calls to module_load_all()
devel_themer_theme_twin in sites/all/modules/ulmus/devel_themer/devel_themer.module
Nearly clones the Drupal API theme() function.
theme in includes/
Generates themed output.
ThemeRegistry::__construct in includes/
Constructs a DrupalCacheArray object.
_drupal_bootstrap_full in includes/
_drupal_bootstrap_variables in includes/
Loads system variables and all enabled bootstrap modules.

... See full list


includes/, line 19
API for loading and interacting with Drupal modules.


function module_load_all($bootstrap = FALSE) {
  static $has_run = FALSE;

  if (isset($bootstrap)) {
    foreach (module_list(TRUE, $bootstrap) as $module) {
      drupal_load('module', $module);
    // $has_run will be TRUE if $bootstrap is FALSE.
    $has_run = !$bootstrap;
  return $has_run;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.