You are here

public function views_plugin_style::build_sort in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_style.inc \views_plugin_style::build_sort()
  2. 6.2 plugins/views_plugin_style.inc \views_plugin_style::build_sort()

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 views_plugin_style::build_sort()
views_plugin_style_table::build_sort in plugins/views_plugin_style_table.inc
Determine if we should provide sorting based upon $_GET inputs

File

plugins/views_plugin_style.inc, line 315
Definition of views_plugin_style.

Class

views_plugin_style
Base class to define a style plugin handler.

Code

public function build_sort() {
  return TRUE;
}