You are here

public function WebformSubmissionConditionsValidatorInterface::validateForm in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionConditionsValidatorInterface.php \Drupal\webform\WebformSubmissionConditionsValidatorInterface::validateForm()

Validate form #states for visible elements.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

See also

\Drupal\webform\WebformSubmissionForm::validateForm

1 method overrides WebformSubmissionConditionsValidatorInterface::validateForm()
WebformSubmissionConditionsValidator::validateForm in src/WebformSubmissionConditionsValidator.php

File

src/WebformSubmissionConditionsValidatorInterface.php, line 47

Class

WebformSubmissionConditionsValidatorInterface
Provides an interface defining a webform conditions (#states) validator.

Namespace

Drupal\webform

Code

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