You are here

public function CoreForm::submitForm in UIkit Components 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/CoreForm.php \Drupal\uikit_components\Form\CoreForm::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/CoreForm.php, line 70

Class

CoreForm
Form builder for the UIkit Components administration core form.

Namespace

Drupal\uikit_components\Form

Code

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