public function LingotekContentTranslationController::overview in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8 src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 8.2 src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 4.0.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.0.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.1.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.3.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.4.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.5.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.6.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.7.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
- 3.8.x src/Controller/LingotekContentTranslationController.php \Drupal\lingotek\Controller\LingotekContentTranslationController::overview()
Builds the translations overview page.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.
string $entity_type_id: (optional) The entity type ID.
Return value
array Array of page elements to render.
Overrides ContentTranslationController::overview
File
- src/
Controller/ LingotekContentTranslationController.php, line 17
Class
- LingotekContentTranslationController
- Override default translate page for Content Entities.
Namespace
Drupal\lingotek\ControllerCode
public function overview(RouteMatchInterface $route_match, $entity_type_id = NULL) {
$build = parent::overview($route_match, $entity_type_id);
return \Drupal::formBuilder()
->getForm(LingotekContentTranslationForm::class, $build);
}