You are here

function StylePluginBase::build_sort in Views (for Drupal 7) 8.3

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::build_sort()
Table::build_sort in lib/Drupal/views/Plugin/views/style/Table.php
Determine if we should provide sorting based upon $_GET inputs

File

lib/Drupal/views/Plugin/views/style/StylePluginBase.php, line 380
Definition of Drupal\views\Plugin\views\style\StylePluginBase.

Class

StylePluginBase
Base class to define a style plugin handler.

Namespace

Drupal\views\Plugin\views\style

Code

function build_sort() {
  return TRUE;
}