class ViewsSort
Same name in other branches
- 8.9.x core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
- 10 core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
- 11.x core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
- 10 core/modules/views/src/Attribute/ViewsSort.php \Drupal\views\Attribute\ViewsSort
- 11.x core/modules/views/src/Attribute/ViewsSort.php \Drupal\views\Attribute\ViewsSort
Defines a Plugin annotation object for views sort handlers.
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements \Drupal\Component\Annotation\AnnotationInterface
- class \Drupal\Component\Annotation\PluginID extends \Drupal\Component\Annotation\AnnotationBase
- class \Drupal\views\Annotation\ViewsHandlerAnnotationBase extends \Drupal\Component\Annotation\PluginID
- class \Drupal\views\Annotation\ViewsSort extends \Drupal\views\Annotation\ViewsHandlerAnnotationBase
- class \Drupal\views\Annotation\ViewsHandlerAnnotationBase extends \Drupal\Component\Annotation\PluginID
- class \Drupal\Component\Annotation\PluginID extends \Drupal\Component\Annotation\AnnotationBase
Expanded class hierarchy of ViewsSort
See also
\Drupal\views\Plugin\views\sort\SortPluginBase
Related topics
11 classes are annotated with ViewsSort
- Broken in core/
modules/ views/ src/ Plugin/ views/ sort/ Broken.php - A special handler to take the place of missing or broken handlers.
- Date in core/
modules/ views/ src/ Plugin/ views/ sort/ Date.php - Basic sort handler for dates.
- Date in core/
modules/ datetime/ src/ Plugin/ views/ sort/ Date.php - Basic sort handler for datetime fields.
- GroupByNumeric in core/
modules/ views/ src/ Plugin/ views/ sort/ GroupByNumeric.php - Handler for GROUP BY on simple numeric fields.
- ModerationStateSort in core/
modules/ content_moderation/ src/ Plugin/ views/ sort/ ModerationStateSort.php - Enables sorting for the computed moderation_state field.
File
-
core/
modules/ views/ src/ Annotation/ ViewsSort.php, line 14
Namespace
Drupal\views\AnnotationView source
class ViewsSort extends ViewsHandlerAnnotationBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.