protected function DatabaseTasks::hasPdoDriver in Drupal 7
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 - API functions for installing modules and themes.
Class
- DatabaseTasks
- Database installer structure.
Code
protected function hasPdoDriver() {
return in_array($this->pdoDriver, PDO::getAvailableDrivers());
}