Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TransactionManagerInterface.php

function TransactionManagerInterface::inTransaction

Determines if there is an active transaction open.

Return value

bool TRUE if we're currently in a transaction, FALSE otherwise.

1 method overrides TransactionManagerInterface::inTransaction()
TransactionManagerBase::inTransaction in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
Determines if there is an active transaction open.

File

core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php, line 20

Class

TransactionManagerInterface
Interface for the database transaction manager classes.

Namespace

Drupal\Core\Database\Transaction

Code

public function inTransaction() : bool;
RSS feed
Powered by Drupal