public function CronJobForm::validateForm in Ultimate Cron 8.2
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
- src/
Form/ CronJobForm.php, line 156
Class
- CronJobForm
- Base form controller for cron job forms.
Namespace
Drupal\ultimate_cron\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
parent::validateForm($form, $form_state);
$this->entity
->getPlugin('scheduler')
->validateConfigurationForm($form, $form_state);
}