You are here

public property Connection::$driver in Drupal 10

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

Public property so we can test driver loading mechanism.

Type: string

See also

driver().

File

core/tests/fixtures/database_drivers/custom/fake/Connection.php, line 18

Class

Connection
A fake Connection class for testing purposes.

Namespace

Drupal\Driver\Database\fake

Code

public $driver = 'fake';