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