1.20.x views_handler_sort.inc views_handler_sort::expose_options()

Provide default options for exposed sorts.

Overrides views_handler::expose_options

File

modules/views/handlers/views_handler_sort.inc, line 211
@todo.

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->definition['title'],
  );
}