public function StylePluginBase::buildSort in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::buildSort()
Called by the view builder to see if this style handler wants to interfere with the sorts. If so it should build; if it returns any non-TRUE value, normal sorting will NOT be added to the query.
1 method overrides StylePluginBase::buildSort()
- Table::buildSort in core/
modules/ views/ src/ Plugin/ views/ style/ Table.php - Called by the view builder to see if this style handler wants to interfere with the sorts. If so it should build; if it returns any non-TRUE value, normal sorting will NOT be added to the query.
File
- core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php, line 416
Class
- StylePluginBase
- Base class for views style plugins.
Namespace
Drupal\views\Plugin\views\styleCode
public function buildSort() {
return TRUE;
}