public function WebformSubmissionConditionsValidatorInterface::isElementVisible in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionConditionsValidatorInterface.php \Drupal\webform\WebformSubmissionConditionsValidatorInterface::isElementVisible()
Determine if an element is visible.
Parameters
array $element: An element.
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Return value
bool TRUE if the element is visible.
1 method overrides WebformSubmissionConditionsValidatorInterface::isElementVisible()
- WebformSubmissionConditionsValidator::isElementVisible in src/
WebformSubmissionConditionsValidator.php - Determine if an element is visible.
File
- src/
WebformSubmissionConditionsValidatorInterface.php, line 104
Class
- WebformSubmissionConditionsValidatorInterface
- Provides an interface defining a webform conditions (#states) validator.
Namespace
Drupal\webformCode
public function isElementVisible(array $element, WebformSubmissionInterface $webform_submission);