function Tasks::installable
Checks whether Drupal is installable on the database.
Return value
bool TRUE if Drupal can be installed on the database, otherwise FALSE.
1 method overrides Tasks::installable()
- Tasks::installable in core/
modules/ mysqli/ src/ Driver/ Database/ mysqli/ Install/ Tasks.php - Checks whether Drupal is installable on the database.
File
-
core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 122
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
public function installable() {
return $this->hasPdoDriver() && empty($this->error);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.