27 calls to Database::addConnectionInfo() in Zircon Profile 8
- BrowserTestBase::changeDatabasePrefix in core/
modules/ simpletest/ src/ BrowserTestBase.php - Changes the database connection to the prefixed one.
- ConnectionTest::testConnectionOptions in core/
modules/ system/ src/ Tests/ Database/ ConnectionTest.php - Tests the connection options of the active database.
- ConnectionTest::testConnectionRouting in core/
modules/ system/ src/ Tests/ Database/ ConnectionTest.php - Tests that connections return appropriate connection objects.
- ConnectionTest::testConnectionRoutingOverride in core/
modules/ system/ src/ Tests/ Database/ ConnectionTest.php - Tests that connections return appropriate connection objects.
- ConnectionUnitTest::addConnection in core/
modules/ system/ src/ Tests/ Database/ ConnectionUnitTest.php - Adds a new database connection info to Database.
- ConnectionUnitTest::setUp in core/
modules/ system/ src/ Tests/ Database/ ConnectionUnitTest.php - Performs setup tasks before each individual test method is run.
- ConnectionUnitTest::testConnectionOpen in core/
modules/ system/ src/ Tests/ Database/ ConnectionUnitTest.php - Tests pdo options override.
- Database::setMultipleConnectionInfo in core/
lib/ Drupal/ Core/ Database/ Database.php - Sets connection information for multiple databases.
- DbCommandBase::getDatabaseConnection in core/
lib/ Drupal/ Core/ Command/ DbCommandBase.php - Parse input options decide on a database.
- DbCommandBaseTest::testPrefix in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php - Test specifying a prefix for different connections.
- DbCommandBaseTest::testSpecifyDatabaseKey in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php - Test specifying a database key.
- DbImportCommandTest::testDbImportCommand in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbImportCommandTest.php - Test the command directly.
- DbLog::log in core/
modules/ dblog/ src/ Logger/ DbLog.php - Logs with an arbitrary level.
- IgnoreReplicaSubscriberTest::testSystemInitIgnoresSecondaries in core/
modules/ system/ src/ Tests/ System/ IgnoreReplicaSubscriberTest.php - Tests \Drupal\Core\EventSubscriber\ReplicaDatabaseIgnoreSubscriber::checkReplicaServer().
- install_database_errors in core/
includes/ install.core.inc - Checks a database connection and returns any errors.
- KernelTestBase::bootEnvironment in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Bootstraps a basic test environment.
- KernelTestBase::getDatabaseConnectionInfo in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Returns the Database connection info to be used for this test.
- LoggingTest::testEnableMultiConnectionLogging in core/
modules/ system/ src/ Tests/ Database/ LoggingTest.php - Tests that we can log queries separately on different connections.
- LoggingTest::testEnableTargetLogging in core/
modules/ system/ src/ Tests/ Database/ LoggingTest.php - Tests logging queries against multiple targets on the same connection.
- MigrateTestBase::createMigrationConnection in core/
modules/ migrate/ src/ Tests/ MigrateTestBase.php - Changes the database connection to the prefixed one.
- SchemaTest::testFindTables in core/
modules/ system/ src/ Tests/ Database/ SchemaTest.php - Tests the findTables() method.
- SqlBase::setUpDatabase in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Get a connection to the referenced database, adding the connection if necessary.
- SqlBaseTest::testConnectionTypes in core/
modules/ migrate/ src/ Tests/ SqlBaseTest.php - Test different connection types.
- 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.
- TestBase::changeDatabasePrefix in core/
modules/ simpletest/ src/ TestBase.php - Changes the database connection to the prefixed one.