public function FieldPluginBase::clickSortable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::clickSortable()
Determines 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.
Overrides FieldHandlerInterface::clickSortable
3 methods override FieldPluginBase::clickSortable()
- BulkForm::clickSortable in core/
modules/ system/ 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.
- Field::clickSortable in core/
modules/ views/ src/ Plugin/ views/ field/ Field.php - Determines if this field is click sortable.
File
- core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php, line 219 - Contains \Drupal\views\Plugin\views\field\FieldPluginBase.
Class
- FieldPluginBase
- Base class for views fields.
Namespace
Drupal\views\Plugin\views\fieldCode
public function clickSortable() {
return isset($this->definition['click sortable']) ? $this->definition['click sortable'] : TRUE;
}