function DrupalBoot6::bootstrap_drupal_full

8.0.x DrupalBoot6.php DrupalBoot6::bootstrap_drupal_full()
7.x DrupalBoot6.php DrupalBoot6::bootstrap_drupal_full()
master DrupalBoot6.php DrupalBoot6::bootstrap_drupal_full()

Attempt to load the full Drupal system.

Overrides DrupalBoot::bootstrap_drupal_full

File

lib/Drush/Boot/DrupalBoot6.php, line 81

Namespace

Drush\Boot

Class

DrupalBoot6

Code

function 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.
  restore_error_handler();

  parent::bootstrap_drupal_full();
}