function TransactionManagerBase::rollbackClientTransaction

Same name in other branches
  1. 10 core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php \Drupal\Core\Database\Transaction\TransactionManagerBase::rollbackClientTransaction()

Rolls back a client transaction.

Return value

bool Returns TRUE on success or FALSE on failure.

1 call to TransactionManagerBase::rollbackClientTransaction()
TransactionManagerBase::processRootRollback in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
Processes the root transaction rollback.
3 methods override TransactionManagerBase::rollbackClientTransaction()
TransactionManager::rollbackClientTransaction in core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php
Rolls back a client transaction.
TransactionManager::rollbackClientTransaction in core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php
Rolls back a client transaction.
TransactionManager::rollbackClientTransaction in core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php
Rolls back a client transaction.

File

core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php, line 543

Class

TransactionManagerBase
The database transaction manager base class.

Namespace

Drupal\Core\Database\Transaction

Code

protected abstract function rollbackClientTransaction() : bool;

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