Search for connection

  1. Search 7.x for connection
  2. Search 9.5.x for connection
  3. Search 8.9.x for connection
  4. Search 10.3.x for connection
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Connection class core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/mysql/src/Driver/Database/mysql/Connection.php MySQL implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestMysql/Connection.php MySQL test implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestMysqlDeprecatedVersion/Connection.php MySQL test implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestPgsql/Connection.php PostgreSQL implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/pgsql/src/Driver/Database/pgsql/Connection.php PostgreSQL implementation of \Drupal\Core\Database\Connection.
Connection class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFake/Connection.php CoreFake implementation of \Drupal\Core\Database\Connection.
Connection class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection.
Connection class core/tests/fixtures/database_drivers/core/CoreFake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/CoreFake/Connection.php

All search results

Title Object type File name Summary
DatabaseConnectionRefusedException.php file core/lib/Drupal/Core/Database/DatabaseConnectionRefusedException.php
DatabaseDriverUninstallValidator::$connection property core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php The database connection.
DatabaseEventsTest::$connection property core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php A database connection.
DatabaseFileUsageBackend::$connection property core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php The database connection used to store file usage information.
DatabaseQueue::$connection property core/lib/Drupal/Core/Queue/DatabaseQueue.php The database connection.
DatabaseStorage::$connection property core/lib/Drupal/Core/Config/DatabaseStorage.php The database connection.
DatabaseStorage::$connection property core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php The database connection.
DatabaseTestBase::$connection property core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php The database connection for testing.
DatabaseTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php The database connection for testing.
DatabaseTestController::$connection property core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php The database connection.
DbCommandBase::getDatabaseConnection function core/lib/Drupal/Core/Command/DbCommandBase.php Parse input options decide on a database.
DbCommandBaseTester::getDatabaseConnection function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Parse input options decide on a database.
DbLog::$connection property core/modules/dblog/src/Logger/DbLog.php The database connection object.
DbLog::DEDICATED_DBLOG_CONNECTION_TARGET constant core/modules/dblog/src/Logger/DbLog.php The dedicated database connection target to use for log entries.
DblogClearLogConfirmForm::$connection property core/modules/dblog/src/Form/DblogClearLogConfirmForm.php The database connection.
DriverSpecificConnectionUnitTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests management of database connections.
DriverSpecificConnectionUnitTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php
DriverSpecificConnectionUnitTestBase::$id property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php The connection ID of the current test connection.
DriverSpecificConnectionUnitTestBase::$monitor property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php A database connection used for monitoring processes.
DriverSpecificConnectionUnitTestBase::assertConnection function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Asserts that a connection ID exists.
DriverSpecificConnectionUnitTestBase::assertNoConnection function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Asserts that a connection ID does not exist.
DriverSpecificConnectionUnitTestBase::getConnectionId function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns the connection ID of the current test connection.
DriverSpecificConnectionUnitTestBase::getQuery function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns a set of queries specific for the database in testing.
DriverSpecificConnectionUnitTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php
DriverSpecificConnectionUnitTestBase::testConnectionOpen function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests pdo options override.
DriverSpecificConnectionUnitTestBase::testOpenClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() without query.
DriverSpecificConnectionUnitTestBase::testOpenQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query.
DriverSpecificConnectionUnitTestBase::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query and custom prefetch method.
DriverSpecificConnectionUnitTestBase::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a select query.
DriverSpecificConnectionUnitTestBase::TEST_TARGET_CONNECTION constant core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php A target connection identifier to be used for testing.
DriverSpecificKernelTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php The database connection for testing.
DriverSpecificSchemaTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Connection to the database.
EntityReference::$connection property core/modules/views/src/Plugin/views/display/EntityReference.php The database connection.
ExceptionDetectNeedsInstallSubscriber::$connection property core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php The default database connection.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest class core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php @group Database
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php file core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::$defaultTheme property core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php The theme to install as the default for testing.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::setUp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testExistingDrupal8StyleDatabaseConnectionInSettingsPhp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php Confirms that the site works with Drupal 8 style database connection array.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testReplicaDrupal8StyleDatabaseConnectionInSettingsPhp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php Confirms that the replica database connection works.
FileTransferAuthorizeForm::addConnectionSettings function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Generates the Form API array for a given connection backend's settings.
FileTransferAuthorizeForm::setConnectionSettingsDefaults function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Sets the default settings on a file transfer connection form recursively.
FileTransferTest::$testConnection property core/modules/system/tests/src/Unit/FileTransfer/FileTransferTest.php
FileTransferTest::$testConnection property core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
ForumManager::$connection property core/modules/forum/src/ForumManager.php Database connection.
ImportStorageTransformer::$connection property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The drupal database connection.
InstallTasksTest::$connection property core/modules/mysql/tests/src/Unit/InstallTasksTest.php A connection object prophecy.
InstallTasksTest::createTasksNoConnection function core/modules/mysql/tests/src/Unit/InstallTasksTest.php Creates a Tasks object for testing, without connection.
InstallTasksTest::testNameWithNoConnection function core/modules/mysql/tests/src/Unit/InstallTasksTest.php @covers ::name
KernelTestBase::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the Database connection info to be used for this test.

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