function DrupalBoot6::bootstrap_drupal_core

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

File

lib/Drush/Boot/DrupalBoot6.php, line 58

Namespace

Drush\Boot

Class

DrupalBoot6

Code

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

  return $core;
}