Views sort handler plugins in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/sort/SortPluginBase.php \Drupal\views\Plugin\views\sort\views_sort_handlers
- 9 core/modules/views/src/Plugin/views/sort/SortPluginBase.php \Drupal\views\Plugin\views\sort\views_sort_handlers
Plugins that handle sorting for Views.
Sort handlers extend \Drupal\views\Plugin\views\sort:SortPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsSort annotation, and they must be in plugin directory Plugin\views\sort.
See also
Parent topics
File
- core/
modules/ views/ src/ Plugin/ views/ sort/ SortPluginBase.php, line 10
Classes
Name![]() |
Location | Description |
---|---|---|
Broken |
core/ |
A special handler to take the place of missing or broken handlers. |
ModerationStateSort |
core/ |
Enables sorting for the computed moderation_state field. |
Score |
core/ |
Sort handler for sorting by search score. |
SortPluginBase |
core/ |
Base sort handler that has no options and performs a simple sort. |
Standard |
core/ |
Default implementation of the base sort plugin. |
StatisticsLastCommentName |
core/ |
Sort handler to sort by last comment name which might be in 2 different fields. |
StatisticsLastUpdated |
core/ |
Sort handler for the newer of last comment / entity updated. |
Thread |
core/ |
Sort handler for ordering by thread. |
ViewsSort |
core/ |
Defines a Plugin annotation object for views sort handlers. |