function FieldHandlerInterface::clickSort

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::clickSort()
  2. 10 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::clickSort()
  3. 11.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::clickSort()

Adds an ORDER BY clause to the query for click sort columns.

Parameters

string $order: Either ASC or DESC

1 method overrides FieldHandlerInterface::clickSort()
FieldPluginBase::clickSort in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Adds an ORDER BY clause to the query for click sort columns.

File

core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php, line 19

Class

FieldHandlerInterface
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function clickSort($order);

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