public function StylePluginBase::buildSort in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 410 - Contains \Drupal\views\Plugin\views\style\StylePluginBase.
Class
- StylePluginBase
- Base class for views style plugins.
Namespace
Drupal\views\Plugin\views\styleCode
public function buildSort() {
return TRUE;
}