You are here

function views_handler_sort::expose_options in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 handlers/views_handler_sort.inc \views_handler_sort::expose_options()

Provide default options for exposed sorts.

Overrides views_handler::expose_options

File

handlers/views_handler_sort.inc, line 159

Class

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

Code

function expose_options() {
  $this->options['expose'] = array(
    'order' => $this->options['order'],
    'label' => $this
      ->ui_name(),
  );
}