You are here

function FieldPluginBase::click_sortable in Views (for Drupal 7) 8.3

Determine if this field is click sortable.

1 method overrides FieldPluginBase::click_sortable()
Field::click_sortable in lib/Views/field/Plugin/views/field/Field.php
Determine if this field is click sortable.

File

lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 180
Definition of Drupal\views\Plugin\views\field\FieldPluginBase.

Class

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

Namespace

Drupal\views\Plugin\views\field

Code

function click_sortable() {
  return !empty($this->definition['click sortable']);
}