public function ViewsPhp::clickSortable in Views PHP 8
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 FieldPluginBase::clickSortable
File
- src/
Plugin/ views/ field/ ViewsPhp.php, line 106 - Contains \Drupal\views_php\Plugin\views\field\ViewsPhp.
Class
- ViewsPhp
- A handler to provide a field that is constructed by the administrator using PHP.
Namespace
Drupal\views_php\Plugin\views\fieldCode
public function clickSortable() {
return $this->options['use_php_click_sortable'] != self::CLICK_SORT_DISABLED;
}