public ImageToolkitForm::validateForm(array &$form, FormStateInterface $form_state)
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 101
Class
- ImageToolkitForm
- Configures image toolkit settings for this site.
Namespace
Drupal\system\Form
Code
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); } }
Please login to continue.