function FieldPluginBase::clickSortable

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::clickSortable()
2 methods override FieldPluginBase::clickSortable()
DblogOperations::clickSortable in core/modules/dblog/src/Plugin/views/field/DblogOperations.php
Determines if this field is click sortable.
MediaLibrarySelectForm::clickSortable in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
Determines if this field is click sortable.

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 233

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.