function Tasks::installable
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::installable()
- 8.9.x core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::installable()
- 11.x core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::installable()
Checks whether Drupal is installable on the database.
Return value
bool TRUE if Drupal can be installed on the database, otherwise FALSE.
File
-
core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 119
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.