function LocaleController::translatePage

Same name in other branches
  1. 8.9.x core/modules/locale/src/Controller/LocaleController.php \Drupal\locale\Controller\LocaleController::translatePage()
  2. 10 core/modules/locale/src/Controller/LocaleController.php \Drupal\locale\Controller\LocaleController::translatePage()
  3. 11.x 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\Controller

Code

public function translatePage() {
    return [
        'filter' => $this->formBuilder()
            ->getForm('Drupal\\locale\\Form\\TranslateFilterForm'),
        'form' => $this->formBuilder()
            ->getForm('Drupal\\locale\\Form\\TranslateEditForm'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.