1 database.inc | db_driver() |
Retrieves the name of the currently active database driver.
Return value
string: The name of the currently active database driver.
Related topics
File
- core/
includes/ database/ database.inc, line 2919 - Core systems for the database layer.
Code
function db_driver() {
return Database::getConnection()->driver();
}