1 install.inc protected DatabaseTasks::hasPdoDriver()

Ensure the PDO driver is supported by the version of PHP in use.

File

core/includes/install.inc, line 359
API functions for installing modules and themes.

Class

DatabaseTasks
Database installer structure.

Code

protected function hasPdoDriver() {
  return in_array($this->pdoDriver, PDO::getAvailableDrivers());
}