Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/sort/SortPluginBase.php \Drupal\views\Plugin\views\sort\views_sort_handlers
  2. 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 attributed with the \Drupal\views\Attribute\ViewsSort attribute, and they must be in plugin directory Plugin\views\sort.

See also

Plugin API

Parent topics

File

core/modules/views/src/Plugin/views/sort/SortPluginBase.php, line 10

Classes

Namesort descending Location Description
SortPluginBase core/modules/views/src/Plugin/views/sort/SortPluginBase.php Base sort handler that has no options and performs a simple sort.
ViewsSort core/modules/views/src/Annotation/ViewsSort.php Defines a Plugin annotation object for views sort handlers.