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