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

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

File

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

Code

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