function _drush_bootstrap_do_drupal_site

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

Called by _drush_bootstrap_drupal_site to do the main work of the drush drupal site bootstrap.

1 call to _drush_bootstrap_do_drupal_site()
_drush_bootstrap_drupal_site in includes/bootstrap.inc
Initialize a site on the Drupal root.

File

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

Code

function _drush_bootstrap_do_drupal_site() {
  $drush_uri = drush_get_context('DRUSH_SELECTED_URI');
  drush_set_context('DRUSH_URI', $drush_uri);
  $site = drush_set_context('DRUSH_DRUPAL_SITE', drush_bootstrap_value('site'));
  $conf_path = drush_set_context('DRUSH_DRUPAL_SITE_ROOT', drush_bootstrap_value('conf_path'));

  drush_log(dt("Initialized Drupal site !site at !site_root", array('!site' => $site, '!site_root' => $conf_path)));

  _drush_bootstrap_global_options();
}