protected function DatabaseTest::addD8CustomDrivers in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::addD8CustomDrivers()
Adds a database driver that uses the D8's Drupal\Driver\Database namespace.
File
- core/
tests/ Drupal/ Tests/ Core/ Database/ DatabaseTest.php, line 106
Class
- DatabaseTest
- @coversDefaultClass \Drupal\Core\Database\Database
Namespace
Drupal\Tests\Core\DatabaseCode
protected function addD8CustomDrivers() {
$this->additionalClassloader
->addPsr4("Drupal\\Driver\\Database\\corefake\\", __DIR__ . "/../../../../../tests/fixtures/database_drivers/custom/corefake");
}