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\TransactionCode
public function inTransaction() : bool;