You are here

public function LingotekSettingsTabConfigurationForm::__construct in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekSettingsTabConfigurationForm.php \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm::__construct()
  2. 4.0.x src/Form/LingotekSettingsTabConfigurationForm.php \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm::__construct()
  3. 3.0.x src/Form/LingotekSettingsTabConfigurationForm.php \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm::__construct()
  4. 3.1.x src/Form/LingotekSettingsTabConfigurationForm.php \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm::__construct()
  5. 3.2.x src/Form/LingotekSettingsTabConfigurationForm.php \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm::__construct()
  6. 3.3.x src/Form/LingotekSettingsTabConfigurationForm.php \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm::__construct()
  7. 3.4.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\Query\QueryFactory $entity_query: The entity query factory.

\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 76
Contains \Drupal\lingotek\Form\LingotekSettingsTabConfigurationForm.

Class

LingotekSettingsTabConfigurationForm
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

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