Connection::$rootTransactionEndCallbacks

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::rootTransactionEndCallbacks
  2. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::rootTransactionEndCallbacks

Post-root (non-nested) transaction commit callbacks.

Type: callable[]

Deprecated

in drupal:10.2.0 and is removed from drupal:11.0.0. The transaction end callbacks are now managed by TransactionManager.

See also

https://www.drupal.org/node/3381002

File

core/lib/Drupal/Core/Database/Connection.php, line 219

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $rootTransactionEndCallbacks = [];

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