public function LingotekManagementController::__construct in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 4.0.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.0.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.1.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.2.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.3.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.5.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.6.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 3.7.x src/Controller/LingotekManagementController.php \Drupal\lingotek\Controller\LingotekManagementController::__construct()
- 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
Namespace
Drupal\lingotek\ControllerCode
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;
}