function bootstrap_invoke_all

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 drupal/core/includes/bootstrap.inc
Initializes all the defined language types.
_drupal_bootstrap_page_cache in drupal/core/includes/bootstrap.inc
Attempts to serve a page from the cache.
_drupal_bootstrap_page_header in drupal/core/includes/bootstrap.inc
Invokes hook_boot(), initializes locking system, and sends HTTP headers.

File

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

Code

function bootstrap_invoke_all($hook) {
  foreach (module_list('bootstrap') as $module) {
    drupal_load('module', $module);
    module_invoke($module, $hook);
  }
}