Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LocaleController.php

function 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'),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal