function views_dependent_filters_handler_filter_dependent::extra_options_form in Views Dependent Filters 7
Extra settings form: select the controller filter.
Selecting the controller filter here allows us to nicely show its value form in the regular options form.
Overrides views_handler::extra_options_form
File
Class
Code
function extra_options_form(&$form, &$form_state) {
$options = $this
->get_filter_options('controller');
$form['controller_filter'] = array(
'#type' => 'radios',
'#title' => t('Controller filter'),
'#options' => $options,
'#default_value' => isset($this->options['controller_filter']) ? $this->options['controller_filter'] : '',
'#description' => t('The exposed filter whose values will be used to control dependent filters. Only filters that are prior to this one in the order are allowed.'),
);
}