You are here

public function LingotekContentTranslationForm::__construct in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  2. 4.0.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  3. 3.0.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  4. 3.1.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  5. 3.2.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  6. 3.3.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  7. 3.4.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  8. 3.5.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  9. 3.6.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  10. 3.7.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
  11. 3.8.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()

Constructs a \Drupal\lingotek\Form\LingotekContentTranslationForm object.

Parameters

\Drupal\lingotek\LingotekInterface $lingotek:

\Drupal\lingotek\LanguageLocaleMapperInterface $language_locale_mapper: The language-locale mapper.

\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_configuration: The Lingotek configuration service.

\Drupal\Core\Config\ConfigFactoryInterface $config: The factory for configuration objects.

Overrides LingotekConfigFormBase::__construct

File

src/Form/LingotekContentTranslationForm.php, line 49
Contains \Drupal\lingotek\Form\LingotekContentTranslationForm.

Class

LingotekContentTranslationForm

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekInterface $lingotek, LanguageLocaleMapperInterface $language_locale_mapper, LingotekConfigurationServiceInterface $lingotek_configuration, ConfigFactoryInterface $config) {
  parent::__construct($lingotek, $config);
  $this->languageLocaleMapper = $language_locale_mapper;
  $this->lingotekConfiguration = $lingotek_configuration;
}