function views_handler_sort::expose_options

Provide default options for exposed sorts.

Overrides views_handler::expose_options

File

handlers/views_handler_sort.inc, line 223

Class

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

Code

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