You are here

class ViewsSort in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
  2. 9 core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort

Defines a Plugin annotation object for views sort handlers.

Hierarchy

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.

... See full list

File

core/modules/views/src/Annotation/ViewsSort.php, line 14

Namespace

Drupal\views\Annotation
View source
class ViewsSort extends ViewsHandlerAnnotationBase {

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationBase::$class protected property The class used for this annotated class.
AnnotationBase::$id public property The annotated class ID. 1
AnnotationBase::$provider protected property The provider of the annotated class.
AnnotationBase::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
AnnotationBase::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
AnnotationBase::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
AnnotationBase::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
PluginID::$value public property The plugin ID.
PluginID::get public function Gets the value of an annotation. Overrides AnnotationInterface::get
PluginID::getId public function Gets the unique ID for this annotated class. Overrides AnnotationBase::getId