Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::connections
  2. 9 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 67

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

protected static $connections = [];