function ImageToolkitForm::validateForm
Same name in other branches
- 9 core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::validateForm()
- 10 core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::validateForm()
- 11.x core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::validateForm()
Overrides FormBase::validateForm
File
-
core/
modules/ system/ src/ Form/ ImageToolkitForm.php, line 103
Class
- ImageToolkitForm
- Configures image toolkit settings for this site.
Namespace
Drupal\system\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
parent::validateForm($form, $form_state);
// Call the form validation handler for each of the toolkits.
foreach ($this->availableToolkits as $toolkit) {
$toolkit->validateConfigurationForm($form, $form_state);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.