You are here

public function views_nested_accordion_style_plugin::options_form in Views Nested Accordion 7

Provide the default form for setting options.

Overrides views_accordion_style_plugin::options_form

File

./views_nested_accordion_style_plugin.inc, line 24
Views plugin handler. Contains all relevant options and related logic.

Class

views_nested_accordion_style_plugin
Extends View Accordion Style Plugin.

Code

public function options_form(&$form, &$form_state) {

  // Call parent method so that default functionality not override.
  parent::options_form($form, $form_state);
  $form['nestedaccordion'] = array(
    '#type' => 'checkbox',
    '#title' => t('Nested Accordion'),
    '#default_value' => $this->options['nestedaccordion'],
    '#description' => t('If set, nested accordion will be implemented.'),
    '#weight' => -1,
  );
}