You are here

public function Connection::supportsTransactionalDDL in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::supportsTransactionalDDL()

Determines if this driver supports transactional DDL.

DDL queries are those that change the schema, such as ALTER queries.

Return value

bool TRUE if this connection supports transactions for DDL queries, FALSE otherwise.

File

core/lib/Drupal/Core/Database/Connection.php, line 1307
Contains \Drupal\Core\Database\Connection.

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function supportsTransactionalDDL() {
  return $this->transactionalDDLSupport;
}