You are here

abstract public function Connection::databaseType in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::databaseType()
  2. 8 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::databaseType()
  3. 8 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::databaseType()
  4. 8 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::databaseType()
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::databaseType()

Returns the name of the PDO driver for this connection.

4 methods override Connection::databaseType()
Connection::databaseType in core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
Returns the name of the PDO driver for this connection.
Connection::databaseType in core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
Returns the name of the PDO driver for this connection.
Connection::databaseType in core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
Returns the name of the PDO driver for this connection.
StubConnection::databaseType in core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
Returns the name of the PDO driver for this connection.

File

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

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public abstract function databaseType();