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()

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;
}