You are here

public function WebformHandlerFormBase::__construct in Webform 8.5

Constructs a WebformHandlerFormBase.

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.

1 call to WebformHandlerFormBase::__construct()
WebformHandlerAddForm::__construct in src/Form/WebformHandlerAddForm.php
Constructs a WebformHandlerAddForm.
1 method overrides WebformHandlerFormBase::__construct()
WebformHandlerAddForm::__construct in src/Form/WebformHandlerAddForm.php
Constructs a WebformHandlerAddForm.

File

src/Form/WebformHandlerFormBase.php, line 82

Class

WebformHandlerFormBase
Provides a base webform for webform handlers.

Namespace

Drupal\webform\Form

Code

public function __construct(LanguageManagerInterface $language_manager, TransliterationInterface $transliteration, WebformTokenManagerInterface $token_manager) {
  $this->languageManager = $language_manager;
  $this->transliteration = $transliteration;
  $this->tokenManager = $token_manager;
}