function DatabaseTasks::hasPdoDriver
Ensure the PDO driver is supported by the version of PHP in use.
1 call to DatabaseTasks::hasPdoDriver()
- DatabaseTasks::installable in includes/
install.inc - Check whether Drupal is installable on the database.
File
-
includes/
install.inc, line 353
Class
- DatabaseTasks
- Database installer structure.
Code
protected function hasPdoDriver() {
return in_array($this->pdoDriver, PDO::getAvailableDrivers());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.