You are here

public function WebformEntityVariantsForm::__construct in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformEntityVariantsForm.php \Drupal\webform\WebformEntityVariantsForm::__construct()

Constructs a WebformEntityVariantsForm.

Parameters

\Drupal\webform\Plugin\WebformElementManagerInterface $element_manager: The webform element manager.

\Drupal\webform\Plugin\WebformVariantManagerInterface $variant_manager: The webform variant manager.

File

src/WebformEntityVariantsForm.php, line 54

Class

WebformEntityVariantsForm
Provides a webform to manage submission variants.

Namespace

Drupal\webform

Code

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