You are here

public function DatabaseTasks::installable in Drupal 7

Check whether Drupal is installable on the database.

File

includes/install.inc, line 374
API functions for installing modules and themes.

Class

DatabaseTasks
Database installer structure.

Code

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