You are here

public function UIkitComponentsAdvancedForm::submitForm in UIkit Components 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/Form/UIkitComponentsAdvancedForm.php, line 61

Class

UIkitComponentsAdvancedForm

Namespace

Drupal\uikit_components\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $config = $this
    ->config('uikit_components.advanced');
  $config
    ->save();
}