You are here

9 calls to Database::setActiveConnection() in Drupal 9

DbImportCommand::runScript in core/lib/Drupal/Core/Command/DbImportCommand.php
Run the database script.
LoggingTest::testEnableMultiConnectionLogging in core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php
Tests that we can log queries separately on different connections.
MigrateDrupalTestBase::loadFixture in core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php
Loads a database fixture into the source database connection.
MigrateUpgradeTestBase::loadFixture in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
Loads a database fixture into the source database connection.
SchemaTest::testFindTables in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
Tests the findTables() method.
Tasks::connect in core/lib/Drupal/Core/Database/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Check if we can connect to the database.