You are here

public function Tasks::installable in Drupal 9

Same name and namespace in other branches
  1. 8 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 107

Class

Tasks
Database installer structure.

Namespace

Drupal\Core\Database\Install

Code

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