function TransactionManagerBase::processRootCommit
Processes the root transaction commit.
Throws
\Drupal\Core\Database\TransactionCommitFailedException If the commit of the root transaction failed.
3 calls to TransactionManagerBase::processRootCommit()
- TransactionManager::processRootCommit in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ TransactionManager.php - Processes the root transaction commit.
- TransactionManager::processRootCommit in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ TransactionManager.php - Processes the root transaction commit.
- TransactionManagerBase::unpile in core/
lib/ Drupal/ Core/ Database/ Transaction/ TransactionManagerBase.php - Removes a Drupal transaction from the stack.
1 method overrides TransactionManagerBase::processRootCommit()
- TransactionManager::processRootCommit in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ TransactionManager.php - Processes the root transaction commit.
File
-
core/
lib/ Drupal/ Core/ Database/ Transaction/ TransactionManagerBase.php, line 458
Class
- TransactionManagerBase
- The database transaction manager base class.
Namespace
Drupal\Core\Database\TransactionCode
protected function processRootCommit() : void {
$clientCommit = $this->commitClientTransaction();
if (!$clientCommit) {
throw new TransactionCommitFailedException();
}
}