function DrupalBoot7::bootstrap_drupal_core

8.0.x DrupalBoot7.php DrupalBoot7::bootstrap_drupal_core($drupal_root)
7.x DrupalBoot7.php DrupalBoot7::bootstrap_drupal_core($drupal_root)
master DrupalBoot7.php DrupalBoot7::bootstrap_drupal_core($drupal_root)

File

lib/Drush/Boot/DrupalBoot7.php, line 55

Namespace

Drush\Boot

Class

DrupalBoot7

Code

function bootstrap_drupal_core($drupal_root) {
  define('DRUPAL_ROOT', $drupal_root);
  require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
  $core = DRUPAL_ROOT;

  return $core;
}