Community Documentation

drupal_get_bootstrap_phase

7 bootstrap.inc drupal_get_bootstrap_phase()
8 bootstrap.inc 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

drupal_bootstrap()

▾ 4 functions call drupal_get_bootstrap_phase()

ajax_footer in includes/ajax.inc
Performs end-of-Ajax-request tasks.
drupal_exit in includes/common.inc
Performs end-of-request tasks.
drupal_get_complete_schema in includes/bootstrap.inc
Gets the whole database schema.
_drupal_log_error in includes/errors.inc
Log a PHP error or exception, display an error page in fatal cases.

File

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

Code

<?php
function drupal_get_bootstrap_phase() {
  return drupal_bootstrap();
}
?>
Login or register to post comments