function _drush_bootstrap_drupal_full

6.x bootstrap.inc _drush_bootstrap_drupal_full()
3.x environment.inc _drush_bootstrap_drupal_full()
4.x environment.inc _drush_bootstrap_drupal_full()
5.x bootstrap.inc _drush_bootstrap_drupal_full()

Attempt to load the full Drupal system.

1 string reference to '_drush_bootstrap_drupal_full'
_drush_bootstrap_phases in includes/bootstrap.inc
Helper function listing phases.

File

includes/bootstrap.inc, line 932
Drush bootstrapping code.

Code

function _drush_bootstrap_drupal_full() {
  if (!drush_get_context('DRUSH_QUIET', FALSE)) {
    ob_start();
  }
  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  if (!drush_get_context('DRUSH_QUIET', FALSE)) {
    ob_end_clean();
  }

  // Unset drupal error handler and restore drush's one.
  if (drush_drupal_major_version() == 6) {
    restore_error_handler();
  }

  // If needed, prod module_implements() to recognize our system_watchdog() implementation.
  $dogs = module_implements('watchdog');
  if (!in_array('system', $dogs)) {
    // Note that this resets module_implements cache.
    module_implements('watchdog', FALSE, TRUE);
  }

  _drush_log_drupal_messages();
}