You are here

function bootstrap_hooks in Drupal 5

Same name and namespace in other branches
  1. 4 includes/bootstrap.inc \bootstrap_hooks()
  2. 6 includes/bootstrap.inc \bootstrap_hooks()
  3. 7 includes/bootstrap.inc \bootstrap_hooks()

Define the critical hooks that force modules to always be loaded.

1 call to bootstrap_hooks()
module_rebuild_cache in includes/module.inc
Rebuild the database cache of module files.

File

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

Code

function bootstrap_hooks() {
  return array(
    'init',
    'exit',
  );
}