Sort::DIRECTION_KEY

Same name in other branches
  1. 9 core/modules/jsonapi/src/Query/Sort.php \Drupal\jsonapi\Query\Sort::DIRECTION_KEY
  2. 8.9.x core/modules/jsonapi/src/Query/Sort.php \Drupal\jsonapi\Query\Sort::DIRECTION_KEY
  3. 10 core/modules/jsonapi/src/Query/Sort.php \Drupal\jsonapi\Query\Sort::DIRECTION_KEY

The direction key in the sort parameter: sort[lorem][<direction>].

File

core/modules/jsonapi/src/Query/Sort.php, line 38

Class

Sort
Gathers information about the sort parameter.

Namespace

Drupal\jsonapi\Query

Code

const DIRECTION_KEY = 'direction';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.