function DrupalBoot8::bootstrap_drupal_database_validate

8.0.x DrupalBoot8.php DrupalBoot8::bootstrap_drupal_database_validate()
master DrupalBoot8.php DrupalBoot8::bootstrap_drupal_database_validate()

Validate the DRUSH_BOOTSTRAP_DRUPAL_DATABASE phase

Attempt to make a working database connection using the database credentials that were loaded during the previous phase.

Overrides DrupalBoot::bootstrap_drupal_database_validate

File

lib/Drush/Boot/DrupalBoot8.php, line 103

Namespace

Drush\Boot

Class

DrupalBoot8

Code

function bootstrap_drupal_database_validate() {
  return parent::bootstrap_drupal_database_validate() && $this->bootstrap_drupal_database_has_table('key_value');
}