constant DRUSH_BOOTSTRAP_DRUPAL_LOGIN

  1. 8.0.x includes/bootstrap.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN
  2. 6.x includes/bootstrap.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN
  3. 7.x includes/bootstrap.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN
  4. 3.x includes/environment.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN
  5. 4.x includes/environment.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN
  6. 5.x includes/bootstrap.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN
  7. master includes/bootstrap.inc DRUSH_BOOTSTRAP_DRUPAL_LOGIN

Log in to the initialiased Drupal site.

This bootstrap phase is used after the site has been fully bootstrapped.

This phase will log you in to the drupal site with the username or user ID specified by the --user/ -u option.

Use this bootstrap phase for your command if you need to have access to information for a specific user, such as listing nodes that might be different based on who is logged in.

File

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

Code

define('DRUSH_BOOTSTRAP_DRUPAL_LOGIN', 6)