function DatabaseTest::providerFindDriverAutoloadDirectory
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::providerFindDriverAutoloadDirectory()
- 10 core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::providerFindDriverAutoloadDirectory()
Data provider for ::testFindDriverAutoloadDirectory().
Return value
array
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ DatabaseTest.php, line 68
Class
- DatabaseTest
- @coversDefaultClass \Drupal\Core\Database\Database
Namespace
Drupal\Tests\Core\DatabaseCode
public function providerFindDriverAutoloadDirectory() {
return [
'core mysql' => [
'core/modules/mysql/src/Driver/Database/mysql/',
'Drupal\\mysql\\Driver\\Database\\mysql',
FALSE,
],
'D8 custom fake' => [
FALSE,
'Drupal\\Driver\\Database\\corefake',
TRUE,
],
'module mysql' => [
'core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/',
'Drupal\\driver_test\\Driver\\Database\\DrivertestMysql',
TRUE,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.