You are here

public function Tasks::installable in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::installable()

Check whether Drupal is installable on the database.

File

core/lib/Drupal/Core/Database/Install/Tasks.php, line 106

Class

Tasks
Database installer structure.

Namespace

Drupal\Core\Database\Install

Code

public function installable() {
  return $this
    ->hasPdoDriver() && empty($this->error);
}