public function WebformSubmissionConditionsValidatorInterface::buildForm in Webform 6.x
Same name and namespace in other branches
- 8.5 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);