public function N1EDConfigForm::submitForm in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides ConfigFormBase::submitForm
File
- src/
Form/ N1EDConfigForm.php, line 72
Class
Namespace
Drupal\n1ed\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$values = $form_state
->getValues();
$config = $this
->config('n1ed.settings');
$config
->set('version', $values['version'])
->save();
$config
->set('urlCache', $values['urlCache'])
->save();
parent::submitForm($form, $form_state);
}