function DrupalBoot7::bootstrap_drupal_database_validate

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

Namespace

Drush\Boot

Class

DrupalBoot7

Code

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