function 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.