function DrupalBoot::bootstrap_init_phases

8.0.x DrupalBoot.php DrupalBoot::bootstrap_init_phases()
7.x DrupalBoot.php DrupalBoot::bootstrap_init_phases()
master DrupalBoot.php DrupalBoot::bootstrap_init_phases()

The phases where Drush will look to see if new commandfiles have been defined. For Drupal, we first do a preflight, and if a command is not found at that point, we next attempt a full bootstrap. If a command is found after preflight, then we bootstrap to the phase declared by the command.

Overrides Boot::bootstrap_init_phases

File

lib/Drush/Boot/DrupalBoot.php, line 52

Namespace

Drush\Boot

Class

DrupalBoot

Code

function bootstrap_init_phases() {
  return array(DRUSH_BOOTSTRAP_DRUSH, DRUSH_BOOTSTRAP_DRUPAL_FULL);
}