1 views_handler_sort.inc views_handler_sort::options_form(&$form, &$form_state)

Basic options for all sort criteria

Overrides views_handler::options_form

File

core/modules/views/handlers/views_handler_sort.inc, line 70
@todo.

Class

views_handler_sort
Base sort handler that has no options and performs a simple sort.

Code

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);
  }
}