9 calls to Database::setActiveConnection() in Drupal 10
- DatabaseStorageTest::testConcurrent in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageTest.php - Tests asynchronous table creation.
- 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.
- Tasks::connect in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Checks if we can connect to the database.