public function LingotekContentTranslationForm::__construct in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8 src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 8.2 src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 4.0.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.0.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.1.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.2.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.3.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.4.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.6.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 3.7.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::__construct()
- 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.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator.
\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generator.
Overrides LingotekConfigFormBase::__construct
File
- src/
Form/ LingotekContentTranslationForm.php, line 50
Class
Namespace
Drupal\lingotek\FormCode
public function __construct(LingotekInterface $lingotek, LanguageLocaleMapperInterface $language_locale_mapper, LingotekConfigurationServiceInterface $lingotek_configuration, ConfigFactoryInterface $config, UrlGeneratorInterface $url_generator = NULL, LinkGeneratorInterface $link_generator = NULL) {
parent::__construct($lingotek, $config, $url_generator, $link_generator);
$this->languageLocaleMapper = $language_locale_mapper;
$this->lingotekConfiguration = $lingotek_configuration;
}