public function ImageToolkitForm::validateForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Form/ImageToolkitForm.php \Drupal\system\Form\ImageToolkitForm::validateForm()
Form validation 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 FormBase::validateForm
File
- core/
modules/ system/ src/ Form/ ImageToolkitForm.php, line 106 - Contains \Drupal\system\Form\ImageToolkitForm.
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);
}
}