function flag_handler_sort_flagged::sort_options in Flag 7.2
Same name and namespace in other branches
- 7.3 includes/views/flag_handler_sort_flagged.inc \flag_handler_sort_flagged::sort_options()
Provide a list of options for the default sort form. Should be overridden by classes that don't override sort_form
Overrides views_handler_sort::sort_options
1 call to flag_handler_sort_flagged::sort_options()
- flag_handler_sort_flagged::admin_summary in includes/
flag_handler_sort_flagged.inc - Display whether or not the sort order is ascending or descending
File
- includes/
flag_handler_sort_flagged.inc, line 18 - Contains the flagged content sort handler.
Class
- flag_handler_sort_flagged
- Handler to sort on whether objects are flagged or not.
Code
function sort_options() {
return array(
'ASC' => t('Unflagged first'),
'DESC' => t('Flagged first'),
);
}