drupal_detect_database_types()
Detects all supported databases that are compiled into PHP.
Return value
An array of database types compiled into PHP.
File
- core/includes/install.inc, line 144
- API functions for installing modules and themes.
Code
function drupal_detect_database_types() { $databases = drupal_get_database_types(); foreach ($databases as $driver => $installer) { $databases[$driver] = $installer->name(); } return $databases; }
Please login to continue.