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/environment.inc
Helper function listing phases.

File

includes/environment.inc, line 984
Functions used by drush to query the environment and setting the current configuration.

Code

function _drush_bootstrap_drupal_full() {
  ob_start();
  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  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();
}