public function Text::submitOptionsForm

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

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php, line 46
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);
}