You are here

final public static function Database::renameConnection in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::renameConnection()

File

lib/Drupal/Core/Database/Database.php, line 57
Contains \Drupal\Core\Database\Database.

Class

Database

Namespace

Drupal\Core\Database

Code

public static final function renameConnection($old_key, $new_key) {
  return BaseDatabase::getConnectionInfo($old_key, $new_key);
}