You are here

public function LingotekSettingsTabConfigurationForm::__construct in Lingotek Translation 3.4.x

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

Constructs a new LingotekManagementForm object.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_config: The Lingotek config service.

\Drupal\lingotek\LingotekConfigTranslationServiceInterface $translation_service: The Lingotek config translation service.

\Drupal\config_translation\ConfigMapperInterface[] $mappers: The configuration mapper manager.

Overrides LingotekConfigFormBase::__construct

File

src/Form/LingotekSettingsTabConfigurationForm.php, line 72

Class

LingotekSettingsTabConfigurationForm
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

public function __construct(LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, LingotekConfigurationServiceInterface $lingotek_config, LingotekConfigTranslationServiceInterface $translation_service, array $mappers) {
  $this->languageManager = $language_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->lingotekConfig = $lingotek_config;
  $this->translationService = $translation_service;
  $this->mappers = $mappers;
}