You are here

public function LingotekManagementController::__construct in Lingotek Translation 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  2. 4.0.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  3. 3.1.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  4. 3.2.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  5. 3.3.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  6. 3.4.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  7. 3.5.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  8. 3.6.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  9. 3.7.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
  10. 3.8.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__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\Core\Routing\UrlGeneratorInterface $url_generator: The url generator.

Overrides LingotekControllerBase::__construct

File

src/Controller/LingotekManagementController.php, line 34

Class

LingotekManagementController

Namespace

Drupal\lingotek\Controller

Code

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