Search for connection

  1. Search 7.x for connection
  2. Search 8.9.x for connection
  3. Search 10.3.x for connection
  4. Search 11.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/database_statement_monitoring_test/src/sqlite/Connection.php SQlite Connection class that can log executed queries.
Connection class core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php MySQL Connection class that can log executed queries.
Connection class core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php PostgreSQL Connection class that can log executed queries.
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/corefake/src/Driver/Database/corefake/Connection.php Corefake implementation of \Drupal\Core\Database\Connection.

All search results

Title Object type File name Summary
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.
EndOfTransactionQueriesTest::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php Returns the Database connection info to be used for this test.
EntityReference::$connection property core/modules/views/src/Plugin/views/display/EntityReference.php The database connection.
EntityStorageDeprecationTest::$connection property core/tests/Drupal/Tests/Core/Entity/EntityStorageDeprecationTest.php The database connection to use.
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.
FileTransfer::$connectionHandle property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The instantiated connection object.
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/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.
KernelTestBase::tearDownCloseDatabaseConnection function core/tests/Drupal/KernelTests/KernelTestBase.php @after
KernelTestBaseDatabaseDriverModuleTest::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php Returns the Database connection info to be used for this test.
KernelTestBaseTest::testGetDatabaseConnectionInfoWithOutManualSetDbUrl function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::getDatabaseConnectionInfo
KeyValueDatabaseExpirableFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The database connection.
KeyValueDatabaseFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The database connection to use.

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