You are here

public function LingotekWorkbenchController::loadDocument in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Controller/LingotekWorkbenchController.php \Drupal\lingotek\Controller\LingotekWorkbenchController::loadDocument()
1 string reference to 'LingotekWorkbenchController::loadDocument'
lingotek.routing.yml in ./lingotek.routing.yml
lingotek.routing.yml

File

src/Controller/LingotekWorkbenchController.php, line 11

Class

LingotekWorkbenchController

Namespace

Drupal\lingotek\Controller

Code

public function loadDocument($doc_id, $locale) {
  return $this
    ->workbenchPageRedirect($doc_id, $locale);
}