function views_handler_sort::options_form
Basic options for all sort criteria.
Overrides views_handler::options_form
3 calls to views_handler_sort::options_form()
- views_handler_sort_date::options_form in handlers/
views_handler_sort_date.inc - Basic options for all sort criteria.
- views_handler_sort_menu_hierarchy::options_form in handlers/
views_handler_sort_menu_hierarchy.inc - Basic options for all sort criteria.
- views_handler_sort_random::options_form in handlers/
views_handler_sort_random.inc - Basic options for all sort criteria.
4 methods override views_handler_sort::options_form()
- views_handler_sort_broken::options_form in handlers/
views_handler_sort.inc - Basic options for all sort criteria.
- views_handler_sort_date::options_form in handlers/
views_handler_sort_date.inc - Basic options for all sort criteria.
- views_handler_sort_menu_hierarchy::options_form in handlers/
views_handler_sort_menu_hierarchy.inc - Basic options for all sort criteria.
- views_handler_sort_random::options_form in handlers/
views_handler_sort_random.inc - Basic options for all sort criteria.
File
-
handlers/
views_handler_sort.inc, line 75
Class
- views_handler_sort
- Base sort handler that has no options and performs a simple sort.
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
if ($this->can_expose()) {
$this->show_expose_button($form, $form_state);
}
$form['op_val_start'] = array(
'#value' => '<div class="clearfix">',
);
$this->show_sort_form($form, $form_state);
$form['op_val_end'] = array(
'#value' => '</div>',
);
if ($this->can_expose()) {
$this->show_expose_form($form, $form_state);
}
}