Search for connect

  1. Search 7.x for connect
  2. Search 9.5.x for connect
  3. Search 8.9.x for connect
  4. Search 11.x for connect
  5. Other projects
Title Object type File name Summary
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::connect function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Connects to the server.
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.
FTPExtension::connect function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Connects to the server.
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.
LegacyMatcherDumperTest::$connection property core/tests/Drupal/KernelTests/Core/Routing/LegacyMatcherDumperTest.php The connection.
Local::connect function core/lib/Drupal/Core/FileTransfer/Local.php Connects to the server.
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.
LonelyMonkeyClass::$connection property core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php The database connection.
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
ModuleInstaller::$connection property core/lib/Drupal/Core/Extension/ModuleInstaller.php The database connection.
MysqlDriverLegacyTest::testDeprecationConnection function core/modules/mysql/tests/src/Kernel/mysql/MysqlDriverLegacyTest.php @covers Drupal\Core\Database\Driver\mysql\Connection
MysqlDriverTest::testConnection function core/modules/mysql/tests/src/Kernel/mysql/MysqlDriverTest.php @covers \Drupal\mysql\Driver\Database\mysql\Connection
NextIdTest::testDbNextIdClosedConnection function core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php Tests that sequences table clear up works when a connection is closed.
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.
NonPublicSchemaTest::$testingFakeConnection property core/modules/pgsql/tests/src/Kernel/pgsql/NonPublicSchemaTest.php The database connection for testing.

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