You are here

public function LingotekInterfaceTranslationForm::__construct in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 4.0.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()
  2. 3.2.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()
  3. 3.3.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()
  4. 3.4.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()
  5. 3.5.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()
  6. 3.7.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()
  7. 3.8.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::__construct()

Constructs a new LingotekInterfaceTranslationForm object.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

\Drupal\lingotek\LingotekInterfaceTranslationServiceInterface $lingotek_interface_translation: The Lingotek interface translation service.

File

src/Form/LingotekInterfaceTranslationForm.php, line 66

Class

LingotekInterfaceTranslationForm
Class LingotekInterfaceTranslationForm.

Namespace

Drupal\lingotek\Form

Code

public function __construct(LanguageManagerInterface $language_manager, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, LingotekInterfaceTranslationServiceInterface $lingotek_interface_translation) {
  $this->languageManager = $language_manager;
  $this->moduleHandler = $module_handler;
  $this->themeHandler = $theme_handler;
  $this->lingotekInterfaceTranslation = $lingotek_interface_translation;
}