function bootstrap_invoke_all

cis7 bootstrap.inc bootstrap_invoke_all($hook)
cle7 bootstrap.inc bootstrap_invoke_all($hook)
elmsmedia7 bootstrap.inc bootstrap_invoke_all($hook)
icor7 bootstrap.inc bootstrap_invoke_all($hook)
meedjum_blog7 bootstrap.inc bootstrap_invoke_all($hook)
mooc7 bootstrap.inc bootstrap_invoke_all($hook)

Invokes a bootstrap hook in all bootstrap modules that implement it.

Parameters

$hook: The name of the bootstrap hook to invoke.

See also

bootstrap_hooks()

3 calls to bootstrap_invoke_all()
drupal_language_initialize in includes/bootstrap.inc
Initializes all the defined language types.
_drupal_bootstrap_page_cache in includes/bootstrap.inc
Attempts to serve a page from the cache.
_drupal_bootstrap_page_header in includes/bootstrap.inc
Invokes hook_boot(), initializes locking system, and sends HTTP headers.

File

includes/bootstrap.inc, line 1066
Functions that need to be loaded on every Drupal request.

Code

function bootstrap_invoke_all($hook) {
  // Bootstrap modules should have been loaded when this function is called, so
  // we don't need to tell module_list() to reset its internal list (and we
  // therefore leave the first parameter at its default value of FALSE). We
  // still pass in TRUE for the second parameter, though; in case this is the
  // first time during the bootstrap that module_list() is called, we want to
  // make sure that its internal cache is primed with the bootstrap modules
  // only.
  foreach (module_list(FALSE, TRUE) as $module) {
    drupal_load('module', $module);
    module_invoke($module, $hook);
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.