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