function views_handler_sort::option_definition
Overrides views_handler::option_definition
3 calls to views_handler_sort::option_definition()
- views_handler_sort_date::option_definition in handlers/
views_handler_sort_date.inc - Information about options for all kinds of purposes will be held here.
- views_handler_sort_menu_hierarchy::option_definition in handlers/
views_handler_sort_menu_hierarchy.inc - Information about options for all kinds of purposes will be held here.
- views_handler_sort_node_language::option_definition in modules/
locale/ views_handler_sort_node_language.inc - Information about options for all kinds of purposes will be held here.
3 methods override views_handler_sort::option_definition()
- views_handler_sort_date::option_definition in handlers/
views_handler_sort_date.inc - Information about options for all kinds of purposes will be held here.
- views_handler_sort_menu_hierarchy::option_definition in handlers/
views_handler_sort_menu_hierarchy.inc - Information about options for all kinds of purposes will be held here.
- views_handler_sort_node_language::option_definition in modules/
locale/ views_handler_sort_node_language.inc - Information about options for all kinds of purposes will be held here.
File
-
handlers/
views_handler_sort.inc, line 40
Class
- views_handler_sort
- Base sort handler that has no options and performs a simple sort.
Code
public function option_definition() {
$options = parent::option_definition();
$options['order'] = array(
'default' => 'ASC',
);
$options['exposed'] = array(
'default' => FALSE,
'bool' => TRUE,
);
$options['expose'] = array(
'contains' => array(
'label' => array(
'default' => '',
'translatable' => TRUE,
),
),
);
return $options;
}