function views_handler_sort::sort_options

Provide a list of options for the default sort form.

Should be overridden by classes that don't override sort_form.

1 call to views_handler_sort::sort_options()
views_handler_sort::show_sort_form in handlers/views_handler_sort.inc
Shortcut to display the value form.

File

handlers/views_handler_sort.inc, line 192

Class

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

Code

public function sort_options() {
    return array(
        'ASC' => t('Sort ascending'),
        'DESC' => t('Sort descending'),
    );
}