function DrupalBoot::bootstrap_drupal_site

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

Initialize a site on the Drupal root.

We now set various contexts that we determined and confirmed to be valid. Additionally we load an optional drushrc.php file in the site directory.

File

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

Namespace

Drush\Boot

Class

DrupalBoot

Code

function bootstrap_drupal_site() {
  drush_load_config('site');
  $this->bootstrap_do_drupal_site();
}