You are here

public function SmartDateOverrideForm::validateForm in Smart Date 8.2

Same name and namespace in other branches
  1. 3.x modules/smart_date_recur/src/Form/SmartDateOverrideForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideForm::validateForm()
  2. 3.0.x modules/smart_date_recur/src/Form/SmartDateOverrideForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideForm::validateForm()
  3. 3.1.x modules/smart_date_recur/src/Form/SmartDateOverrideForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideForm::validateForm()
  4. 3.2.x modules/smart_date_recur/src/Form/SmartDateOverrideForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideForm::validateForm()
  5. 3.3.x modules/smart_date_recur/src/Form/SmartDateOverrideForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideForm::validateForm()
  6. 3.4.x modules/smart_date_recur/src/Form/SmartDateOverrideForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideForm::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

modules/smart_date_recur/src/Form/SmartDateOverrideForm.php, line 123

Class

SmartDateOverrideForm
Form controller for Smart Date Recur instace override edit forms.

Namespace

Drupal\smart_date_recur\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {

  // TODO: check that end > start.
  // TODO: check that values != default.
}