1 drupal.inc drupal_get_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 1935
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_get_database_types() {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  $mysql = backdrop_load_database_driver();
  return array('mysql' => $mysql);
}