You are here

abstract public function Connection::databaseType in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::databaseType()
  2. 8 core/tests/fixtures/database_drivers/custom/fake/Connection.php \Drupal\Driver\Database\fake\Connection::databaseType()
  3. 8 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::databaseType()
  4. 8 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::databaseType()
  5. 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. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::databaseType()

Returns the name of the PDO driver for this connection.

5 methods override Connection::databaseType()
Connection::databaseType in core/tests/fixtures/database_drivers/custom/fake/Connection.php
Returns the name of the PDO driver for this connection.
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 1435

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public abstract function databaseType();