You are here

public function Connection::databaseType in Drupal driver for SQL Server and SQL Azure 3.0.x

Same name and namespace in other branches
  1. 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Connection.php \Drupal\Driver\Database\sqlsrv\Connection::databaseType()
  2. 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Connection.php \Drupal\Driver\Database\sqlsrv\Connection::databaseType()

Returns the name of the PDO driver for this connection.

Overrides Connection::databaseType

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Connection.php, line 212

Class

Connection
Sqlsvr implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function databaseType() {
  return 'sqlsrv';
}