You are here

public function InputRequired::submitOptionsForm in Views (for Drupal 7) 8.3

Handle any special handling on the validate form.

Overrides PluginBase::submitOptionsForm

File

lib/Drupal/views/Plugin/views/exposed_form/InputRequired.php, line 47
Definition of Drupal\views\Plugin\views\exposed_form\InputRequired.

Class

InputRequired
Exposed form plugin that provides an exposed form with required input.

Namespace

Drupal\views\Plugin\views\exposed_form

Code

public function submitOptionsForm(&$form, &$form_state) {
  $form_state['values']['exposed_form_options']['text_input_required_format'] = $form_state['values']['exposed_form_options']['text_input_required']['format'];
  $form_state['values']['exposed_form_options']['text_input_required'] = $form_state['values']['exposed_form_options']['text_input_required']['value'];
  parent::submitOptionsForm($form, $form_state);
}