public function FieldPluginBase::clickSortable

Determine if this field is click sortable.

Return value

bool The value of 'click sortable' from the plugin definition, this defaults to TRUE if not set.

3 methods override FieldPluginBase::clickSortable()
BulkFormBase::clickSortable in drupal/core/modules/system/lib/Drupal/system/Plugin/views/field/BulkFormBase.php
Determine if this field is click sortable.
Field::clickSortable in drupal/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php
Determine if this field is click sortable.
TranslationLink::clickSortable in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Plugin/views/field/TranslationLink.php
Determine if this field is click sortable.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 184
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

public function clickSortable() {
  return isset($this->definition['click sortable']) ? $this->definition['click sortable'] : TRUE;
}