public function WebformSubmissionConditionsValidatorInterface::validateForm in Webform 8.5
Same name and namespace in other branches
- 6.x 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()
File
- src/
WebformSubmissionConditionsValidatorInterface.php, line 47
Class
- WebformSubmissionConditionsValidatorInterface
- Provides an interface defining a webform conditions (#states) validator.
Namespace
Drupal\webformCode
public function validateForm(array &$form, FormStateInterface $form_state);