function FieldPluginBase::click_sortable

Determine if this field is click sortable.

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

File

drupal/core/modules/views/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']);
}