You are here

public function WebformCompositeSourceForm::__construct in Webform Composite Tools 8

Constructs an WebformCompositeForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Session\AccountInterface $current_user: The current user.

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

File

src/Form/WebformCompositeSourceForm.php, line 63

Class

WebformCompositeSourceForm
Form handler for the Composite source editing form.

Namespace

Drupal\webform_composite\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, AccountInterface $current_user, WebformElementManagerInterface $element_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->currentUser = $current_user;
  $this->elementManager = $element_manager;
}