public function Recipe::submitOptionsForm in Recipe 8.2
Handle any special handling on the validate form.
Overrides PathPluginBase::submitOptionsForm
File
- src/
Plugin/ views/ display/ Recipe.php, line 244
Class
- Recipe
- The plugin that handles a recipe format, such as RecipeML.
Namespace
Drupal\recipe\Plugin\views\displayCode
public function submitOptionsForm(&$form, FormStateInterface $form_state) {
parent::submitOptionsForm($form, $form_state);
$section = $form_state
->get('section');
switch ($section) {
case 'displays':
$this
->setOption($section, $form_state
->getValue($section));
break;
}
}