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 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/core_fake/src/Driver/Database/CoreFake/Connection.php CoreFake implementation of \Drupal\Core\Database\Connection.

All search results

Title Object type File name Summary
Database::isActiveConnection function core/lib/Drupal/Core/Database/Database.php Determines if there is an active connection.
Database::openConnection function core/lib/Drupal/Core/Database/Database.php Opens a connection to the server specified by the given key and target.
Database::parseConnectionInfo function core/lib/Drupal/Core/Database/Database.php Process the configuration file for database information.
Database::removeConnection function core/lib/Drupal/Core/Database/Database.php Remove a connection and its corresponding connection information.
Database::renameConnection function core/lib/Drupal/Core/Database/Database.php Rename a connection and its corresponding connection information.
Database::setActiveConnection function core/lib/Drupal/Core/Database/Database.php Sets the active connection to the specified key.
Database::setMultipleConnectionInfo function core/lib/Drupal/Core/Database/Database.php Sets connection information for multiple databases.
DatabaseBackend::$connection property core/lib/Drupal/Core/Flood/DatabaseBackend.php The database connection used to store flood event information.
DatabaseBackend::$connection property core/lib/Drupal/Core/Cache/DatabaseBackend.php The database connection.
DatabaseBackendFactory::$connection property core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php The database connection.
DatabaseCacheTagsChecksum::$connection property core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php The database connection.
DatabaseCacheTagsChecksum::getDatabaseConnection function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Returns the database connection.
DatabaseConnectionRefusedException class core/lib/Drupal/Core/Database/DatabaseConnectionRefusedException.php Exception thrown if server refuses connection.
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.
DriverSpecificTransactionTestBase::testConnectionDeprecations function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests deprecation of Connection methods.
Drupal\Core\Database\Connection service core/core.services.yml
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

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