protected function LingotekConfigTranslationController::redirectToConfigTranslateOverview in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 4.0.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.0.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.1.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.2.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.3.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.4.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.5.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.6.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.7.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- 3.8.x src/Controller/LingotekConfigTranslationController.php \Drupal\lingotek\Controller\LingotekConfigTranslationController::redirectToConfigTranslateOverview()
Redirect to config translation overview page.
Parameters
string $plugin_id: The plugin id.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse A redirect response.
6 calls to LingotekConfigTranslationController::redirectToConfigTranslateOverview()
- LingotekConfigTranslationController::checkDownload in src/
Controller/ LingotekConfigTranslationController.php - LingotekConfigTranslationController::checkUpload in src/
Controller/ LingotekConfigTranslationController.php - LingotekConfigTranslationController::download in src/
Controller/ LingotekConfigTranslationController.php - LingotekConfigTranslationController::request in src/
Controller/ LingotekConfigTranslationController.php - LingotekConfigTranslationController::update in src/
Controller/ LingotekConfigTranslationController.php
File
- src/
Controller/ LingotekConfigTranslationController.php, line 483
Class
Namespace
Drupal\lingotek\ControllerCode
protected function redirectToConfigTranslateOverview($plugin_id) {
$mappers = $this->configMapperManager
->getMappers();
$mapper = $mappers[$plugin_id];
$uri = Url::fromRoute($mapper
->getOverviewRouteName());
return new RedirectResponse($uri
->setAbsolute(TRUE)
->toString());
}