Transaction::$rolledBack

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::rolledBack
  2. 10 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction::rolledBack

A boolean value to indicate whether this transaction has been rolled back.

Type: bool

File

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

Class

Transaction
A wrapper class for creating and managing database transactions.

Namespace

Drupal\Core\Database

Code

protected $rolledBack = FALSE;

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