function SortTest::badParameterProvider
Same name in other branches
- 9 core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::badParameterProvider()
- 10 core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::badParameterProvider()
- 11.x core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::badParameterProvider()
Data provider for testCreateFromQueryParameterFail.
File
-
core/
modules/ jsonapi/ tests/ src/ Unit/ Query/ SortTest.php, line 94
Class
- SortTest
- @coversDefaultClass \Drupal\jsonapi\Query\Sort @group jsonapi
Namespace
Drupal\Tests\jsonapi\Unit\QueryCode
public function badParameterProvider() {
return [
[
[
[
'lorem',
],
],
],
[
'',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.