You are here

public property Connection::$driver in Drupal 9

Same name in this branch
  1. 9 core/tests/fixtures/database_drivers/custom/fake/Connection.php \Drupal\Driver\Database\fake\Connection::driver
  2. 9 core/tests/fixtures/database_drivers/core/corefake/Connection.php \Drupal\Core\Database\Driver\corefake\Connection::driver
  3. 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php \Drupal\corefake\Driver\Database\corefake\Connection::driver
  4. 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Connection.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\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/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Connection.php, line 15

Class

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

Namespace

Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses

Code

public $driver = 'corefakeWithAllCustomClasses';