EntityListBuilder::SORT_KEY

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::SORT_KEY

The entity key to sort the list by.

This can be overridden in child classes to sort the list by a different entity key.

File

core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 60

Class

EntityListBuilder
Defines a generic implementation to build a listing of entities.

Namespace

Drupal\Core\Entity

Code

protected const SORT_KEY = 'id';

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