1 views_handler_filter.inc views_handler_filter::options_submit(&$form, &$form_state)

Simple submit handler

Overrides views_handler::options_submit

File

core/modules/views/handlers/views_handler_filter.inc, line 244
@todo.

Class

views_handler_filter
Base class for filters.

Code

function options_submit(&$form, &$form_state) {
  unset($form_state['values']['expose_button']); // don't store this.
  unset($form_state['values']['group_button']); // don't store this.
  if (!$this->is_a_group()) {
    $this->operator_submit($form, $form_state);
    $this->value_submit($form, $form_state);
  }
  if (!empty($this->options['exposed'])) {
    $this->expose_submit($form, $form_state);
  }
  if ($this->is_a_group()) {
    $this->build_group_submit($form, $form_state);
  }
}