You are here

public function WebformHandlerAddForm::__construct in Webform 8.5

Constructs a WebformHandlerAddForm.

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration helper.

\Drupal\webform\WebformTokenManagerInterface $token_manager: The webform token manager.

\Drupal\webform\Plugin\WebformHandlerManagerInterface $webform_handler: The webform handler manager.

Overrides WebformHandlerFormBase::__construct

File

src/Form/WebformHandlerAddForm.php, line 38

Class

WebformHandlerAddForm
Provides an add form for webform handler.

Namespace

Drupal\webform\Form

Code

public function __construct(LanguageManagerInterface $language_manager, TransliterationInterface $transliteration, WebformTokenManagerInterface $token_manager, WebformHandlerManagerInterface $webform_handler) {
  parent::__construct($language_manager, $transliteration, $token_manager);
  $this->webformHandlerManager = $webform_handler;
}