DatabaseConnection::supportsTransactions

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

Determines if this driver supports transactions.

Return value

TRUE if this connection supports transactions, FALSE otherwise.

Code

includes/database/database.inc, line 1215

<?php
public function supportsTransactions() {
  return $this->transactionSupport;
}
?>