You are here

public function Connection::supportsTransactionalDDL in Drupal 8

Same name and namespace in other branches
  1. 9 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 1428

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

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