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. 6.x includes/bootstrap.inc \bootstrap_hooks()

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

1 call to bootstrap_hooks()
_system_update_bootstrap_status in modules/system/system.module
Refresh bootstrap column in the system table.

File

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

Code

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