public function WebformSubmissionConditionsValidator::__construct in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionConditionsValidator.php \Drupal\webform\WebformSubmissionConditionsValidator::__construct()
Constructs a WebformSubmissionConditionsValidator object.
Parameters
\Drupal\webform\Plugin\WebformElementManagerInterface $element_manager: The webform element manager.
File
- src/
WebformSubmissionConditionsValidator.php, line 59
Class
- WebformSubmissionConditionsValidator
- Webform submission conditions (#states) validator.
Namespace
Drupal\webformCode
public function __construct(WebformElementManagerInterface $element_manager) {
$this->elementManager = $element_manager;
}