1 views_plugin_exposed_form.inc views_plugin_exposed_form::exposed_form_submit(&$form, &$form_state, &$exclude)

This function is executed when exposed form is submited.

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 306
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';
  }
}