Search for getConnection
- Search 7.x for getConnection
 - Search 9.5.x for getConnection
 - Search 8.9.x for getConnection
 - Search 10.3.x for getConnection
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| Connection::getConnectionOptions | function | core/ | 
                                                                                        Returns the connection information for this connection object. | 
| Database::getConnection | function | core/ | 
                                                                                        Gets the connection object for the specified database key and target. | 
| Database::getConnectionInfo | function | core/ | 
                                                                                        Gets information on the specified database connection. | 
| Database::getConnectionInfoAsUrl | function | core/ | 
                                                                                        Gets database connection info as a URL. | 
| DriverSpecificConnectionUnitTestBase::getConnectionId | function | core/ | 
                                                                                        Returns the connection ID of the current test connection. | 
| MigrationConfigurationTrait::getConnection | function | core/ | 
                                                                                        Gets the database connection for the source Drupal database. | 
| Query::getConnection | function | core/ | 
                                                                                        Gets the database connection to be used for the query. | 
| SimpletestTestRunResultsStorage::getConnection | function | core/ | 
                                                                                        Returns the database connection to use for inserting assertions. | 
| Sql::getConnection | function | core/ | 
                                                                                        Gets the database connection to use for the view. | 
| SqlQueryTest::testGetConnection | function | core/ | 
                                                                                        Tests the method \Drupal\views\Plugin\views\query\Sql::getConnection(). | 
| StatementBase::getConnectionTarget | function | core/ | 
                                                                                        Returns the target connection this statement is associated with. | 
| StatementInterface::getConnectionTarget | function | core/ | 
                                                                                        Returns the target connection this statement is associated with. | 
| Tasks::getConnection | function | core/ | 
                                                                                        Returns the database connection. | 
| TemporaryQueryTestBase::getConnection | function | core/ | 
                                                                                        Returns the connection. | 
| TransactionManagerBase::getConnectionTransactionState | function | core/ | 
                                                                                        Gets the state of the client connection transaction. | 
| UrlConversionTest::providerGetConnectionInfoAsUrl | function | core/ | 
                                                                                        Data provider for testGetConnectionInfoAsUrl(). | 
| UrlConversionTest::providerInvalidArgumentGetConnectionInfoAsUrl | function | core/ | 
                                                                                        Data provider for testGetInvalidArgumentGetConnectionInfoAsUrl(). | 
| UrlConversionTest::testGetConnectionInfoAsUrl | function | core/ | 
                                                                                        Tests get connection info as url. | 
| UrlConversionTest::testGetInvalidArgumentGetConnectionInfoAsUrl | function | core/ | 
                                                                                        Tests ::getConnectionInfoAsUrl() exception for invalid arguments. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.