public function FieldPluginBase::clickSortable in Drupal 8
Same name and namespace in other branches
- 9 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
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 229
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;
}