W3cubDocs

/Drupal 8

protected property 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.

File

core/lib/Drupal/Core/Database/Transaction.php, line 46

Class

Transaction
A wrapper class for creating and managing database transactions.

Namespace

Drupal\Core\Database

Code

protected $name;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Transaction.php/property/Transaction::name/8.1.x