1 views_plugin_exposed_form.inc | views_plugin_exposed_form::exposed_form_submit(&$form, &$form_state, &$exclude) |
This function is executed when the exposed form is submitted.
Parameters
$form: Nested array of form elements that comprise the form.
$form_state: A keyed array containing the current state of the form.
$exclude: Nested array of keys to exclude of insert into $view->exposed_raw_input
File
- core/
modules/ views/ plugins/ views_plugin_exposed_form.inc, line 305 - Definition of views_plugin_exposed_form.
Class
- views_plugin_exposed_form
- The base plugin to handle exposed filter forms.
Code
function exposed_form_submit(&$form, &$form_state, &$exclude) {
if (!empty($form_state['values']['op']) && $form_state['values']['op'] == $this->options['reset_button_label']) {
$this->reset_form($form, $form_state);
}
if (isset($form_state['pager_plugin'])) {
$form_state['pager_plugin']->exposed_form_submit($form, $form_state, $exclude);
$exclude[] = 'pager_plugin';
}
}