You are here

public function ViewsMegarowTable::submitOptionsForm in Views Megarow 8

Handle any special handling on the validate form.

Overrides PluginBase::submitOptionsForm

File

src/Plugin/views/style/ViewsMegarowTable.php, line 70

Class

ViewsMegarowTable
The style plugin for serialized output formats.

Namespace

Drupal\views_megarow\Plugin\views\style

Code

public function submitOptionsForm(&$form, FormStateInterface $form_state) {
  $formats = $form_state
    ->getValue(array(
    'style_options',
    'views_megarow',
  ));
  $form_state
    ->setValue(array(
    'style_options',
    'views_megarow',
  ), array_filter($formats));
}