Sort::LANGUAGE_KEY

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

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

File

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

Class

Sort
Gathers information about the sort parameter.

Namespace

Drupal\jsonapi\Query

Code

const LANGUAGE_KEY = 'langcode';

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