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()
- 8.9.x 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 96
Class
- SortTest
- @coversDefaultClass \Drupal\jsonapi\Query\Sort @group jsonapi
Namespace
Drupal\Tests\jsonapi\Unit\QueryCode
public static function badParameterProvider() {
return [
[
[
[
'lorem',
],
],
],
[
'',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.