class ViewsSort

Same name in this branch
  1. 11.x core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
Same name and namespace in other branches
  1. 9 core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
  2. 8.9.x core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
  3. 10 core/modules/views/src/Annotation/ViewsSort.php \Drupal\views\Annotation\ViewsSort
  4. 10 core/modules/views/src/Attribute/ViewsSort.php \Drupal\views\Attribute\ViewsSort

Defines a Plugin attribute object for views sort handlers.

Attributes

#[\Attribute(\Attribute::TARGET_CLASS)]

Hierarchy

Expanded class hierarchy of ViewsSort

See also

\Drupal\views\Plugin\views\sort\SortPluginBase

Related topics

11 files declare their use of ViewsSort
Broken.php in core/modules/views/src/Plugin/views/sort/Broken.php
Date.php in core/modules/views/src/Plugin/views/sort/Date.php
Date.php in core/modules/datetime/src/Plugin/views/sort/Date.php
GroupByNumeric.php in core/modules/views/src/Plugin/views/sort/GroupByNumeric.php
ModerationStateSort.php in core/modules/content_moderation/src/Plugin/views/sort/ModerationStateSort.php

... See full list

File

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

Namespace

Drupal\views\Attribute
View source
class ViewsSort extends PluginID {

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
AttributeBase::$class protected property The class used for this attribute class.
AttributeBase::$provider protected property The provider of the attribute class.
AttributeBase::getClass public function Gets the class of the attribute class. Overrides AttributeInterface::getClass 1
AttributeBase::getId public function Gets the unique ID for this attribute class. Overrides AttributeInterface::getId
AttributeBase::getProvider public function Gets the name of the provider of the attribute class. Overrides AttributeInterface::getProvider
AttributeBase::setClass public function Sets the class of the attributed class. Overrides AttributeInterface::setClass 1
AttributeBase::setProvider public function Sets the name of the provider of the attribute class. Overrides AttributeInterface::setProvider 1
AttributeBase::__construct public function 2
PluginID::get public function Gets the value of an attribute. Overrides AttributeBase::get

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.