function ImageToolkitForm::submitForm

Same name in other branches
  1. 9 core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::submitForm()
  2. 8.9.x core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::submitForm()
  3. 10 core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::submitForm()

Overrides ConfigFormBase::submitForm

File

core/modules/system/src/Form/ImageToolkitForm.php, line 117

Class

ImageToolkitForm
Configures image toolkit settings for this site.

Namespace

Drupal\system\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
    // Call the form submit handler for each of the toolkits.
    foreach ($this->availableToolkits as $toolkit) {
        $toolkit->submitConfigurationForm($form, $form_state);
    }
    parent::submitForm($form, $form_state);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.