You are here

public function LingotekInterfaceTranslationController::__construct in Lingotek Translation 3.2.x

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

Constructs a LingotekManagementController object.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The Request instance.

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

\Drupal\lingotek\LingotekInterface $lingotek: The lingotek service.

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

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

\Psr\Log\LoggerInterface $logger: A logger instance.

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

Overrides LingotekControllerBase::__construct

File

src/Controller/LingotekInterfaceTranslationController.php, line 47

Class

LingotekInterfaceTranslationController

Namespace

Drupal\lingotek\Controller

Code

public function __construct(Request $request, ConfigFactoryInterface $config_factory, LingotekInterface $lingotek, LanguageLocaleMapperInterface $language_locale_mapper, FormBuilderInterface $form_builder, LoggerInterface $logger, LingotekInterfaceTranslationServiceInterface $lingotek_interface_translation) {
  parent::__construct($request, $config_factory, $lingotek, $language_locale_mapper, $form_builder, $logger);
  $this->lingotekInterfaceTranslation = $lingotek_interface_translation;
}