Transaction::$name
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::name
- 8.9.x core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::name
The name of the transaction.
This is used to label the transaction savepoint. It will be overridden to 'drupal_transaction' if there is no transaction depth.
Type: string
File
-
core/
lib/ Drupal/ Core/ Database/ Transaction.php, line 53
Class
- Transaction
- A wrapper class for creating and managing database transactions.
Namespace
Drupal\Core\DatabaseCode
protected $name;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.