function DrupalBoot6::bootstrap_drupal_database_validate

8.0.x DrupalBoot6.php DrupalBoot6::bootstrap_drupal_database_validate()
7.x DrupalBoot6.php DrupalBoot6::bootstrap_drupal_database_validate()
master DrupalBoot6.php DrupalBoot6::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/DrupalBoot6.php, line 66

Namespace

Drush\Boot

Class

DrupalBoot6

Code

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