You are here

function menu_references_filter_handler::options_form in Menu Reference 7

Provide the basic form which calls through to subforms.

If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.

Overrides views_handler_filter::options_form

File

views/handlers/menu_references_filter_handler.inc, line 63
Views filter handler

Class

menu_references_filter_handler
@file Views filter handler

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['include_childrens'] = array(
    '#type' => 'checkbox',
    '#title' => t('Include childrens'),
    '#description' => t('Enable to include child items of selected item(s) in view results.'),
    '#default_value' => $this->options['include_childrens'],
  );
}