Search for connection

  1. Search 7.x for connection
  2. Search 9.5.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/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/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/core/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/fake/Connection.php A fake Connection class for testing purposes.

All search results

Title Object type File name Summary
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.
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.
ExceptionDetectNeedsInstallSubscriber::$connection property core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php The default database connection.
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.
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.
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
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.
Log::$connectionKey property core/lib/Drupal/Core/Database/Log.php The connection key for which this object is logging.
LoggingTest::testEnableMultiConnectionLogging function core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php Tests that we can log queries separately on different connections.
MatcherDumper::$connection property core/lib/Drupal/Core/Routing/MatcherDumper.php The database connection to which to dump route information.
MenuDeleteForm::$connection property core/modules/menu_ui/src/Form/MenuDeleteForm.php The database connection.
MenuRouterRebuildSubscriber::$connection property core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php The database connection.
MenuTreeStorage::$connection property core/lib/Drupal/Core/Menu/MenuTreeStorage.php The database connection.
MenuTreeStorageTest::$connection property core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php The database connection.
MigrateTestBase::cleanupMigrateConnection function core/modules/migrate/tests/src/Kernel/MigrateTestBase.php Cleans up the test migrate connection.
MigrateTestBase::createMigrationConnection function core/modules/migrate/tests/src/Kernel/MigrateTestBase.php Changes the database connection to the prefixed one.
MigrateUpgradeTestBase::createMigrationConnection function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Changes the database connection to the prefixed one.
MigrationConfigurationTrait::getConnection function core/modules/migrate_drupal/src/MigrationConfigurationTrait.php Gets the database connection for the source Drupal database.
MockTestConnection class core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php Mock connection object for test case.
MockTestConnection.php file core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
MockTestConnection::$commandsRun property core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
MockTestConnection::$connectionString property core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
MockTestConnection::flushCommands function core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
MockTestConnection::run function core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
NodeCounter::$connection property core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php The database connection.
NodeRevisionDeleteForm::$connection property core/modules/node/src/Form/NodeRevisionDeleteForm.php The database connection.
NodeStatisticsDatabaseStorage::$connection property core/modules/statistics/src/NodeStatisticsDatabaseStorage.php The database connection used.
PostgresqlConnectionTest class core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php @coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Connection
@group Database
PostgresqlConnectionTest.php file core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php
PostgresqlConnectionTest::$mockPdo property core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php Mock PDO object for use in tests.
PostgresqlConnectionTest::providerEscapeAlias function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php Data provider for testEscapeAlias.
PostgresqlConnectionTest::providerEscapeFields function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php Data provider for testEscapeField.
PostgresqlConnectionTest::providerEscapeTables function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php Data provider for testEscapeTable.
PostgresqlConnectionTest::setUp function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php
PostgresqlConnectionTest::testEscapeAlias function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php @covers ::escapeAlias
@dataProvider providerEscapeAlias
PostgresqlConnectionTest::testEscapeField function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php @covers ::escapeField
@dataProvider providerEscapeFields
PostgresqlConnectionTest::testEscapeTable function core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php @covers ::escapeTable
@dataProvider providerEscapeTables
PostgresqlSchemaTest::$connection property core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlSchemaTest.php The PostgreSql DB connection.
Query::$connection property core/lib/Drupal/Core/Database/Query/Query.php The connection object on which to run this query.
Query::$connection property core/lib/Drupal/Core/Entity/Query/Sql/Query.php
Query::$connectionKey property core/lib/Drupal/Core/Database/Query/Query.php The key of the connection object.

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