final public static Database::getConnectionInfo($key = 'default')
Gets information on the specified database connection.
string $key: (optional) The connection key for which to return information.
array|null
final public static function getConnectionInfo($key = 'default') { if (!empty(self::$databaseInfo[$key])) { return self::$databaseInfo[$key]; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Database.php/function/Database::getConnectionInfo/8.1.x