public function FieldHandlerInterface::clickSort in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 24 - Contains \Drupal\views\Plugin\views\field\FieldHandlerInterface.
Class
- FieldHandlerInterface
- Base field handler that has no options and renders an unformatted field.
Namespace
Drupal\views\Plugin\views\fieldCode
public function clickSort($order);