function SelectExtenderTest::providerExtend
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Database/SelectExtenderTest.php \Drupal\KernelTests\Core\Database\SelectExtenderTest::providerExtend()
- 10 core/tests/Drupal/KernelTests/Core/Database/SelectExtenderTest.php \Drupal\KernelTests\Core\Database\SelectExtenderTest::providerExtend()
Data provider for testExtend().
Return value
array Array of arrays with the following elements:
- Expected namespaced class name.
- The database driver namespace.
- The namespaced class name for which to extend.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectExtenderTest.php, line 30
Class
- SelectExtenderTest
- Tests the Select query extender classes.
Namespace
Drupal\KernelTests\Core\DatabaseCode
public static function providerExtend() : array {
return [
[
'Drupal\\Core\\Database\\Query\\PagerSelectExtender',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'Drupal\\Core\\Database\\Query\\PagerSelectExtender',
],
[
'Drupal\\Core\\Database\\Query\\PagerSelectExtender',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'\\Drupal\\Core\\Database\\Query\\PagerSelectExtender',
],
[
'Drupal\\Core\\Database\\Query\\TableSortExtender',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'Drupal\\Core\\Database\\Query\\TableSortExtender',
],
[
'Drupal\\Core\\Database\\Query\\TableSortExtender',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'\\Drupal\\Core\\Database\\Query\\TableSortExtender',
],
[
'Drupal\\search\\SearchQuery',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'Drupal\\search\\SearchQuery',
],
[
'Drupal\\search\\SearchQuery',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'\\Drupal\\search\\SearchQuery',
],
[
'Drupal\\search\\ViewsSearchQuery',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'Drupal\\search\\ViewsSearchQuery',
],
[
'Drupal\\search\\ViewsSearchQuery',
'Drupal\\CoreFake\\Driver\\Database\\CoreFake',
'\\Drupal\\search\\ViewsSearchQuery',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\PagerSelectExtender',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'Drupal\\Core\\Database\\Query\\PagerSelectExtender',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\PagerSelectExtender',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'\\Drupal\\Core\\Database\\Query\\PagerSelectExtender',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\TableSortExtender',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'Drupal\\Core\\Database\\Query\\TableSortExtender',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\TableSortExtender',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'\\Drupal\\Core\\Database\\Query\\TableSortExtender',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\SearchQuery',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'Drupal\\search\\SearchQuery',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\SearchQuery',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'\\Drupal\\search\\SearchQuery',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\ViewsSearchQuery',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'Drupal\\search\\ViewsSearchQuery',
],
[
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses\\ViewsSearchQuery',
'Drupal\\core_fake\\Driver\\Database\\CoreFakeWithAllCustomClasses',
'\\Drupal\\search\\ViewsSearchQuery',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.