Database::$connections
Same name in other branches
- 7.x includes/database/database.inc \Database::connections
- 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
A nested array of active connections, keyed by database name and target.
Type: array
File
-
core/
lib/ Drupal/ Core/ Database/ Database.php, line 24
Class
- Database
- Primary front-controller for the database system.
Namespace
Drupal\Core\DatabaseCode
protected static $connections = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.