public function LocaleController::translatePage in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/src/Controller/LocaleController.php \Drupal\locale\Controller\LocaleController::translatePage()
Shows the string search screen.
Return value
array The render array for the string search screen.
1 string reference to 'LocaleController::translatePage'
- locale.routing.yml in core/
modules/ locale/ locale.routing.yml - core/modules/locale/locale.routing.yml
File
- core/
modules/ locale/ src/ Controller/ LocaleController.php, line 44
Class
- LocaleController
- Return response for manual check translations.
Namespace
Drupal\locale\ControllerCode
public function translatePage() {
return [
'filter' => $this
->formBuilder()
->getForm('Drupal\\locale\\Form\\TranslateFilterForm'),
'form' => $this
->formBuilder()
->getForm('Drupal\\locale\\Form\\TranslateEditForm'),
];
}