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

Breadcrumb

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

function TransactionManagerInterface::has

Checks if a named Drupal transaction is active.

Parameters

string $name: The name of the transaction.

Return value

bool TRUE if the transaction is active, FALSE otherwise.

1 method overrides TransactionManagerInterface::has()
TransactionManagerBase::has in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
Checks if a named Drupal transaction is active.

File

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

Class

TransactionManagerInterface
Interface for the database transaction manager classes.

Namespace

Drupal\Core\Database\Transaction

Code

public function has(string $name) : bool;
RSS feed
Powered by Drupal