TransactionManagerBase::$voidedItems
Same name in other branches
- 11.x core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php \Drupal\Core\Database\Transaction\TransactionManagerBase::voidedItems
A list of voided stack items.
In some cases the active transaction can be automatically committed by the database server (for example, MySql when a DDL statement is executed during a transaction). In such cases we need to void the remaining items on the stack, and we track them here.
The array key is the transaction's unique id, its value a StackItem.
Type: array
File
-
core/
lib/ Drupal/ Core/ Database/ Transaction/ TransactionManagerBase.php, line 84
Class
- TransactionManagerBase
- The database transaction manager base class.
Namespace
Drupal\Core\Database\TransactionCode
private array $voidedItems = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.