Database::$databaseInfo
Same name in other branches
- 7.x includes/database/database.inc \Database::databaseInfo
- 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::databaseInfo
- 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::databaseInfo
- 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::databaseInfo
A processed copy of the database connection information from settings.php.
Type: array
File
-
core/
lib/ Drupal/ Core/ Database/ Database.php, line 31
Class
- Database
- Primary front-controller for the database system.
Namespace
Drupal\Core\DatabaseCode
protected static $databaseInfo = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.