function Database::getAllConnectionInfo

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::getAllConnectionInfo()
  2. 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::getAllConnectionInfo()
  3. 11.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::getAllConnectionInfo()

Gets connection information for all available databases.

Return value

array

6 calls to Database::getAllConnectionInfo()
CredentialForm::buildForm in core/modules/migrate_drupal_ui/src/Form/CredentialForm.php
Form constructor.
KernelTestBase::bootEnvironment in core/tests/Drupal/KernelTests/KernelTestBase.php
Bootstraps a basic test environment.
KernelTestBase::tearDownCloseDatabaseConnection in core/tests/Drupal/KernelTests/KernelTestBase.php
@after
system_post_update_enable_provider_database_driver in core/modules/system/system.post_update.php
Enable the modules that are providing the listed database drivers.
UpdatePathTestTrait::runUpdates in core/tests/Drupal/Tests/UpdatePathTestTrait.php
Helper function to run pending database updates.

... See full list

File

core/lib/Drupal/Core/Database/Database.php, line 364

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

public static final function getAllConnectionInfo() {
    return self::$databaseInfo;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.