Sort::$fields

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

The fields on which to sort.

Type: array

File

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

Class

Sort
Gathers information about the sort parameter.

Namespace

Drupal\jsonapi\Query

Code

protected $fields;

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