You are here

public property Connection::$driver in Drupal 8

Same name in this branch
  1. 8 core/tests/fixtures/database_drivers/custom/fake/Connection.php \Drupal\Driver\Database\fake\Connection::driver
  2. 8 core/tests/fixtures/database_drivers/core/corefake/Connection.php \Drupal\Core\Database\Driver\corefake\Connection::driver
  3. 8 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php \Drupal\corefake\Driver\Database\corefake\Connection::driver
Same name and namespace in other branches
  1. 9 core/tests/fixtures/database_drivers/core/corefake/Connection.php \Drupal\Core\Database\Driver\corefake\Connection::driver
  2. 10 core/tests/fixtures/database_drivers/core/corefake/Connection.php \Drupal\Core\Database\Driver\corefake\Connection::driver

Public property so we can test driver loading mechanism.

Type: string

Overrides Connection::$driver

See also

driver().

File

core/tests/fixtures/database_drivers/core/corefake/Connection.php, line 12

Class

Connection

Namespace

Drupal\Core\Database\Driver\corefake

Code

public $driver = 'corefake';