public function LinkCssAdminForm::submitForm in Link CSS 8
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/
LinkCssAdminForm.php, line 66 - Contains \Drupal\link_css\LinkCssAdminForm.
Class
Namespace
Drupal\link_cssCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this
->config('link_css.settings')
->set('link_css_skip_system', $form_state
->getValue('link_css_skip_system'))
->set('link_css_warn_ie_limit', $form_state
->getValue('link_css_warn_ie_limit'))
->save();
parent::submitForm($form, $form_state);
}