You are here

public function WebformSubmissionConditionsValidatorInterface::isElementVisible in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\webform

Code

public function isElementVisible(array $element, WebformSubmissionInterface $webform_submission);