function views_handler_sort::show_sort_form
Shortcut to display the value form.
2 calls to views_handler_sort::show_sort_form()
- views_handler_sort::options_form in handlers/
views_handler_sort.inc - Basic options for all sort criteria.
- views_handler_sort_node_language::show_sort_form in modules/
locale/ views_handler_sort_node_language.inc - Shortcut to display the value form.
1 method overrides views_handler_sort::show_sort_form()
- views_handler_sort_node_language::show_sort_form in modules/
locale/ views_handler_sort_node_language.inc - Shortcut to display the value form.
File
-
handlers/
views_handler_sort.inc, line 164
Class
- views_handler_sort
- Base sort handler that has no options and performs a simple sort.
Code
public function show_sort_form(&$form, &$form_state) {
$options = $this->sort_options();
if (!empty($options)) {
$form['order'] = array(
'#type' => 'radios',
'#options' => $options,
'#default_value' => $this->options['order'],
);
}
}