You are here

public function views_handler_sort::expose_options in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.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 223
Definition of views_handler_sort.

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