class Transaction in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Transaction.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Transaction
CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Transaction.
Hierarchy
- class \Drupal\Core\Database\Transaction
- class \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Transaction
Expanded class hierarchy of Transaction
3 string references to 'Transaction'
- Connection::getDriverClass in core/
lib/ Drupal/ Core/ Database/ Connection.php - Gets the driver-specific override class if any for the specified class.
- Connection::startTransaction in core/
lib/ Drupal/ Core/ Database/ Connection.php - Returns a new DatabaseTransaction object on this connection.
- ConnectionTest::providerGetDriverClass in core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php - Data provider for testGetDriverClass().
File
- core/
tests/ fixtures/ database_drivers/ module/ corefake/ src/ Driver/ Database/ corefakeWithAllCustomClasses/ Transaction.php, line 10
Namespace
Drupal\corefake\Driver\Database\corefakeWithAllCustomClassesView source
class Transaction extends DatabaseTransaction {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Transaction:: |
protected | property | The connection object for this transaction. | |
Transaction:: |
protected | property | The name of the transaction. | |
Transaction:: |
protected | property | A boolean value to indicate whether this transaction has been rolled back. | |
Transaction:: |
public | function | Retrieves the name of the transaction or savepoint. | |
Transaction:: |
public | function | Rolls back the current transaction. | |
Transaction:: |
public | function | ||
Transaction:: |
public | function |