19 calls to Database::removeConnection()
- ConnectionTest::tearDown in core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php - DatabaseStorageTest::testConcurrent in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageTest.php - Tests asynchronous table creation.
- DbCommandBase::getDatabaseConnection in core/
lib/ Drupal/ Core/ Command/ DbCommandBase.php - Parse input options decide on a database.
- DbCommandBaseTest::testSpecifyDbUrl in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php - Tests supplying database connection as a URL.
- DirectoryTest::testMultiplePrepareDirectory in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests asynchronous directory creation.
- DriverSpecificConnectionUnitTestBase::testConnectionOpen in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificConnectionUnitTestBase.php - Tests pdo options override.
- FunctionalTestSetupTrait::doInstall in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Execute the non-interactive installer.
- InstallerDeprecatedDriverNameTest::doInstall in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerDeprecatedDriverNameTest.php - Execute the non-interactive installer.
- KernelTestBase::bootEnvironment in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Bootstraps a basic test environment.
- KernelTestBase::tearDownCloseDatabaseConnection in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - @after
- MigrateTestBase::cleanupMigrateConnection in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php - Cleans up the test migrate connection.
- MigrateUpgradeTestBase::tearDown in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php - NonPublicSchemaTest::tearDown in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ NonPublicSchemaTest.php - PrefixInfoTest::testGetPrefixInfo in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ PrefixInfoTest.php - Tests that DatabaseSchema::getPrefixInfo() returns the right 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.
- TestSetupTrait::changeDatabasePrefix in core/
lib/ Drupal/ Core/ Test/ TestSetupTrait.php - Changes the database connection to the prefixed one.
- TestSiteInstallCommand::changeDatabasePrefix in core/
tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.