function drupal_get_bootstrap_phase

7.x drupal_get_bootstrap_phase()
8.x drupal_get_bootstrap_phase()

Returns the current bootstrap phase for this Drupal process.

The current phase is the one most recently completed by drupal_bootstrap().

See also


4 calls to drupal_get_bootstrap_phase()
ajax_footer in drupal/includes/
Performs end-of-Ajax-request tasks.
drupal_exit in drupal/includes/
Performs end-of-request tasks.
drupal_get_complete_schema in drupal/includes/
Gets the whole database schema.
_drupal_log_error in drupal/includes/
Logs a PHP error or exception and displays an error page in fatal cases.


drupal/includes/, line 2521
Functions that need to be loaded on every Drupal request.


function drupal_get_bootstrap_phase() {
  return drupal_bootstrap(NULL, FALSE);