1 drupal.inc drupal_detect_database_types()

Returns all supported database installer objects that are compiled into PHP.

Deprecated

since 1.0.0

See also

backdrop_load_database_driver()

Related topics

File

core/includes/drupal.inc, line 1923
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_detect_database_types() {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  $installer = backdrop_load_database_driver();
  return array('mysql' => $installer->name());
}