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
Query::$connectionTarget property core/lib/Drupal/Core/Database/Query/Query.php The target of the connection object.
QueryFactory::$connection property core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php The database connection to use.
QueueDatabaseFactory::$connection property core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php The database connection.
RouteProvider::$connection property core/lib/Drupal/Core/Routing/RouteProvider.php The database connection from which to read route information.
Schema::$connection property core/lib/Drupal/Core/Database/Schema.php The database connection.
SchemaTest::$connection property core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Connection to the database.
SearchIndex::$connection property core/modules/search/src/SearchIndex.php The database connection.
SelectExtender::$connection property core/lib/Drupal/Core/Database/Query/SelectExtender.php The connection object on which to run this query.
SessionHandler::$connection property core/lib/Drupal/Core/Session/SessionHandler.php The database connection.
SessionManager::$connection property core/lib/Drupal/Core/Session/SessionManager.php The database connection to use.
ShortcutSetStorage::$connection property core/modules/shortcut/src/ShortcutSetStorage.php The database connection.
SqlBaseTest::testConnectionTypes function core/modules/migrate/tests/src/Kernel/SqlBaseTest.php Tests different connection types.
SqlContentEntityStorageTest::$connection property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The database connection to use.
StatementPrefetch::$pdoConnection property core/lib/Drupal/Core/Database/StatementPrefetch.php Reference to the PDO connection object for this statement.
StringDatabaseStorage::$connection property core/modules/locale/src/StringDatabaseStorage.php The database connection.
StringFilter::$connection property core/modules/views/src/Plugin/views/filter/StringFilter.php The database connection.
StubConnection class core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php A stub of the abstract Connection class for testing purposes.
StubConnection.php file core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::$driver property core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Public property so we can test driver loading mechanism.
StubConnection::createDatabase function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Creates a database.
StubConnection::databaseType function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Returns the name of the PDO driver for this connection.
StubConnection::driver function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Returns the type of database driver.
StubConnection::mapConditionOperator function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Gets any special processing requirements for the condition operator.
StubConnection::nextId function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Retrieves an unique ID from a given sequence.
StubConnection::queryRange function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Runs a limited-range query on this database object.
StubConnection::queryTemporary function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Runs a SELECT query and stores its results in a temporary table.
SysLog::$connectionOpened property core/modules/syslog/src/Logger/SysLog.php Stores whether there is a system logger connection opened or not.
SysLog::openConnection function core/modules/syslog/src/Logger/SysLog.php Opens a connection to the system logger.
TestDatabase::getConnection function core/lib/Drupal/Core/Test/TestDatabase.php Returns the database connection to the site running Simpletest.
TestSetupTrait::getDatabaseConnection function core/lib/Drupal/Core/Test/TestSetupTrait.php Returns the database connection to the site running Simpletest.
Transaction::$connection property core/lib/Drupal/Core/Database/Transaction.php The connection object for this transaction.
UncaughtExceptionTest::testLostDatabaseConnection function core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php Tests the case when the database connection is gone.
UrlConversionTest::providerConvertDbUrlToConnectionInfo function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Dataprovider for testDbUrltoConnectionConversion().
UrlConversionTest::providerGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Dataprovider for testGetConnectionInfoAsUrl().
UrlConversionTest::providerInvalidArgumentGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Dataprovider for testGetInvalidArgumentGetConnectionInfoAsUrl().
UrlConversionTest::testDbUrltoConnectionConversion function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @covers ::convertDbUrlToConnectionInfo
UrlConversionTest::testGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @covers ::getConnectionInfoAsUrl
UrlConversionTest::testGetInvalidArgumentGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Test ::getConnectionInfoAsUrl() exception for invalid arguments.
UserData::$connection property core/modules/user/src/UserData.php The database connection to use.
UserSelection::$connection property core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php The database connection.

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