You are here

public function WebformSubmissionConditionsValidator::validateForm in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionConditionsValidator.php \Drupal\webform\WebformSubmissionConditionsValidator::validateForm()

Overrides WebformSubmissionConditionsValidatorInterface::validateForm

See also

\Drupal\webform\WebformSubmissionForm::validateForm

File

src/WebformSubmissionConditionsValidator.php, line 302

Class

WebformSubmissionConditionsValidator
Webform submission conditions (#states) validator.

Namespace

Drupal\webform

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  $this
    ->validateFormRecursive($form, $form_state);
}