You are here

public function LocaleController::translatePage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 48
Contains \Drupal\locale\Controller\LocaleController.

Class

LocaleController
Return response for manual check translations.

Namespace

Drupal\locale\Controller

Code

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