function views_handler_sort_menu_hierarchy::options_form

Overrides views_handler_sort::options_form

File

handlers/views_handler_sort_menu_hierarchy.inc, line 33

Class

views_handler_sort_menu_hierarchy
Sort in menu hierarchy order.

Code

public function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);
    $form['sort_within_level'] = array(
        '#type' => 'checkbox',
        '#title' => t('Sort within each hierarchy level'),
        '#description' => t('Enable this to sort the items within each level of the hierarchy by weight and title.  Warning: this may produce a slow query.'),
        '#default_value' => $this->options['sort_within_level'],
    );
}