function FieldPluginBase::clickSortable

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::clickSortable()
  2. 10 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::clickSortable()
  3. 11.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::clickSortable()

Overrides FieldHandlerInterface::clickSortable

5 methods override FieldPluginBase::clickSortable()
BulkForm::clickSortable in core/modules/views/src/Plugin/views/field/BulkForm.php
Determines if this field is click sortable.
DblogOperations::clickSortable in core/modules/dblog/src/Plugin/views/field/DblogOperations.php
Determines if this field is click sortable.
EntityField::clickSortable in core/modules/views/src/Plugin/views/field/EntityField.php
Determines if this field is click sortable.
EntityOperations::clickSortable in core/modules/views/src/Plugin/views/field/EntityOperations.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.