You are here

public function WebformSubmissionConditionsValidator::__construct in Webform 6.x

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

Code

public function __construct(WebformElementManagerInterface $element_manager) {
  $this->elementManager = $element_manager;
}