You are here

public function Pattern::submitOptionsForm in UI Patterns 8

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

Overrides Fields::submitOptionsForm

File

modules/ui_patterns_views/src/Plugin/views/row/Pattern.php, line 126

Class

Pattern
Pattern Views row plugin.

Namespace

Drupal\ui_patterns_views\Plugin\views\row

Code

public function submitOptionsForm(&$form, FormStateInterface $form_state) {
  $settings = $form_state
    ->getValue('row_options');
  self::processFormStateValues($settings);
  $form_state
    ->setValue('row_options', $settings);
}