locale.routing.yml

Same filename in other branches
  1. 9 core/modules/locale/locale.routing.yml
  2. 8.9.x core/modules/locale/locale.routing.yml
  3. 11.x core/modules/locale/locale.routing.yml
core/modules/locale/locale.routing.yml
25 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
Tests 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.

... See full list

File

core/modules/locale/locale.routing.yml

View source
  1. locale.settings:
  2. path: '/admin/config/regional/translate/settings'
  3. defaults:
  4. _form: '\Drupal\locale\Form\LocaleSettingsForm'
  5. _title: 'Interface translation settings'
  6. requirements:
  7. _permission: 'translate interface'
  8. locale.check_translation:
  9. path: '/admin/reports/translations/check'
  10. defaults:
  11. _controller: '\Drupal\locale\Controller\LocaleController::checkTranslation'
  12. requirements:
  13. _permission: 'translate interface'
  14. locale.translate_page:
  15. path: '/admin/config/regional/translate'
  16. defaults:
  17. _controller: '\Drupal\locale\Controller\LocaleController::translatePage'
  18. _title: 'User interface translation'
  19. requirements:
  20. _permission: 'translate interface'
  21. locale.translate_import:
  22. path: '/admin/config/regional/translate/import'
  23. defaults:
  24. _form: '\Drupal\locale\Form\ImportForm'
  25. _title: 'Interface translation import'
  26. requirements:
  27. _permission: 'translate interface'
  28. locale.translate_export:
  29. path: '/admin/config/regional/translate/export'
  30. defaults:
  31. _form: '\Drupal\locale\Form\ExportForm'
  32. _title: 'Interface translation export'
  33. requirements:
  34. _permission: 'translate interface'
  35. locale.translate_status:
  36. path: '/admin/reports/translations'
  37. defaults:
  38. _form: '\Drupal\locale\Form\TranslationStatusForm'
  39. _title: 'Available translation updates'
  40. requirements:
  41. _permission: 'translate interface'

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