DatabaseConnection::transactionDepth

  1. drupal
    1. 8
    2. 7
Versions
7 public DatabaseConnection::transactionDepth()

Determines current transaction depth.

Code

includes/database/database.inc, line 981

<?php
public function transactionDepth() {
  return count($this->transactionLayers);
}
?>