Database::$connections
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::connections
- 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::connections
- 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::connections
- 11.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::connections
An nested array of all active connections. It is keyed by database name and target.
Type: array
File
-
includes/
database/ database.inc, line 1459
Class
- Database
- Primary front-controller for the database system.
Code
protected static $connections = array();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.