W3cubDocs

/Drupal 8

public function Transaction::name

public Transaction::name()

Retrieves the name of the transaction or savepoint.

File

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

Class

Transaction
A wrapper class for creating and managing database transactions.

Namespace

Drupal\Core\Database

Code

public function name() {
  return $this->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/function/Transaction::name/8.1.x