You are here

public function AdvancedForm::submitForm in UIkit Components 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/AdvancedForm.php \Drupal\uikit_components\Form\AdvancedForm::submitForm()

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/AdvancedForm.php, line 64

Class

AdvancedForm
Form builder for the UIkit Components administration advanced form.

Namespace

Drupal\uikit_components\Form

Code

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