function bootstrap_invoke_all
Same name and namespace in other branches
- 7.x drupal-7.x/includes/bootstrap.inc \bootstrap_invoke_all()
Call all init or exit hooks without including all modules.
Parameters
$hook: The name of the bootstrap hook we wish to invoke.
1 call to bootstrap_invoke_all()
- _drupal_bootstrap in drupal-6.x/
includes/ bootstrap.inc
Archivo
- drupal-6.x/
includes/ bootstrap.inc, line 681 - Functions that need to be loaded on every Drupal request.
Código
function bootstrap_invoke_all($hook) {
foreach (module_list(TRUE, TRUE) as $module) {
drupal_load('module', $module);
module_invoke($module, $hook);
}
}