You are here

public function Transaction::name in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::name()

Retrieves the name of the transaction or savepoint.

File

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

Class

Transaction
A wrapper class for creating and managing database transactions.

Namespace

Drupal\Core\Database

Code

public function name() {
  return $this->name;
}