function Transaction::name

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::name()
  2. 10 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::name()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.