Same name and namespace in other branches
- 8.9.x 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 attributed with the \Drupal\views\Attribute\ViewsSort attribute, 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 |
---|---|---|
SortPluginBase |
core/ |
Base sort handler that has no options and performs a simple sort. |
ViewsSort |
core/ |
Defines a Plugin annotation object for views sort handlers. |