function TransactionManagerBase::commitClientTransaction

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

Commits a client transaction.

Return value

bool Returns TRUE on success or FALSE on failure.

1 call to TransactionManagerBase::commitClientTransaction()
TransactionManagerBase::processRootCommit in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
Processes the root transaction commit.
3 methods override TransactionManagerBase::commitClientTransaction()
TransactionManager::commitClientTransaction in core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php
Commits a client transaction.
TransactionManager::commitClientTransaction in core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php
Commits a client transaction.
TransactionManager::commitClientTransaction in core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php
Commits a client transaction.

File

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

Class

TransactionManagerBase
The database transaction manager base class.

Namespace

Drupal\Core\Database\Transaction

Code

protected abstract function commitClientTransaction() : bool;

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