protected function Tasks::hasPdoDriver in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::hasPdoDriver()
Ensure the PDO driver is supported by the version of PHP in use.
1 call to Tasks::hasPdoDriver()
- Tasks::installable in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Check whether Drupal is installable on the database.
File
- core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 90 - Contains \Drupal\Core\Database\Install\Tasks.
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
protected function hasPdoDriver() {
return in_array($this->pdoDriver, \PDO::getAvailableDrivers());
}