You are here

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

Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.

Overrides HandlerBase::submitOptionsForm

1 method overrides Text::submitOptionsForm()
TextCustom::submitOptionsForm in lib/Drupal/views/Plugin/views/area/TextCustom.php
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.

File

lib/Drupal/views/Plugin/views/area/Text.php, line 93
Definition of Drupal\views\Plugin\views\area\Text.

Class

Text
Views area text handler.

Namespace

Drupal\views\Plugin\views\area

Code

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