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 59

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.