locale.routing.yml in Drupal 8
Same filename and directory in other branches
core/modules/locale/locale.routing.yml
24 string references to YAML keys in locale.routing.yml
- ImportForm::submitForm in core/
modules/ locale/ src/ Form/ ImportForm.php - Form submission handler.
- LocaleController::checkTranslation in core/
modules/ locale/ src/ Controller/ LocaleController.php - Checks for translation updates and displays the translations status.
- LocaleImportFunctionalTest::testStandalonePoFile in core/
modules/ locale/ tests/ src/ Functional/ LocaleImportFunctionalTest.php - Test import of standalone .po files.
- LocaleLocalTasksTest::getLocalePageRoutes in core/
modules/ locale/ tests/ src/ Unit/ Menu/ LocaleLocalTasksTest.php - Provides a list of routes to test.
- LocaleLocalTasksTest::testLocalePageLocalTasks in core/
modules/ locale/ tests/ src/ Unit/ Menu/ LocaleLocalTasksTest.php - Checks locale listing local tasks.
File
core/modules/locale/locale.routing.ymlView source
- locale.settings:
- path: '/admin/config/regional/translate/settings'
- defaults:
- _form: '\Drupal\locale\Form\LocaleSettingsForm'
- _title: 'Interface translation settings'
- requirements:
- _permission: 'translate interface'
-
- locale.check_translation:
- path: '/admin/reports/translations/check'
- defaults:
- _controller: '\Drupal\locale\Controller\LocaleController::checkTranslation'
- requirements:
- _permission: 'translate interface'
-
- locale.translate_page:
- path: '/admin/config/regional/translate'
- defaults:
- _controller: '\Drupal\locale\Controller\LocaleController::translatePage'
- _title: 'User interface translation'
- requirements:
- _permission: 'translate interface'
-
- locale.translate_import:
- path: '/admin/config/regional/translate/import'
- defaults:
- _form: '\Drupal\locale\Form\ImportForm'
- _title: 'Interface translation import'
- requirements:
- _permission: 'translate interface'
-
- locale.translate_export:
- path: '/admin/config/regional/translate/export'
- defaults:
- _form: '\Drupal\locale\Form\ExportForm'
- _title: 'Interface translation export'
- requirements:
- _permission: 'translate interface'
-
- locale.translate_status:
- path: '/admin/reports/translations'
- defaults:
- _form: '\Drupal\locale\Form\TranslationStatusForm'
- _title: 'Available translation updates'
- requirements:
- _permission: 'translate interface'