language.routing.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. language.negotiation_url:
  2. path: '/admin/config/regional/language/detection/url'
  3. defaults:
  4. _form: '\Drupal\language\Form\NegotiationUrlForm'
  5. _title: 'URL language detection configuration'
  6. requirements:
  7. _permission: 'administer languages'
  8. language.negotiation_session:
  9. path: '/admin/config/regional/language/detection/session'
  10. defaults:
  11. _form: '\Drupal\language\Form\NegotiationSessionForm'
  12. _title: 'Session language detection configuration'
  13. requirements:
  14. _permission: 'administer languages'
  15. language.negotiation_selected:
  16. path: '/admin/config/regional/language/detection/selected'
  17. defaults:
  18. _form: '\Drupal\language\Form\NegotiationSelectedForm'
  19. _title: 'Selected language configuration'
  20. requirements:
  21. _permission: 'administer languages'
  22. language.add:
  23. path: '/admin/config/regional/language/add'
  24. defaults:
  25. _entity_form: 'configurable_language.add'
  26. _title: 'Add language'
  27. requirements:
  28. _entity_create_access: 'configurable_language'
  29. entity.configurable_language.edit_form:
  30. path: '/admin/config/regional/language/edit/{configurable_language}'
  31. defaults:
  32. _entity_form: 'configurable_language.edit'
  33. _title: 'Edit language'
  34. requirements:
  35. _entity_access: 'configurable_language.update'
  36. entity.configurable_language.collection:
  37. path: '/admin/config/regional/language'
  38. defaults:
  39. _entity_list: 'configurable_language'
  40. _title: 'Languages'
  41. requirements:
  42. _permission: 'administer languages'
  43. entity.configurable_language.delete_form:
  44. path: '/admin/config/regional/language/delete/{configurable_language}'
  45. defaults:
  46. _entity_form: 'configurable_language.delete'
  47. _title: 'Delete language'
  48. requirements:
  49. _entity_access: 'configurable_language.delete'
  50. language.negotiation:
  51. path: '/admin/config/regional/language/detection'
  52. defaults:
  53. _form: '\Drupal\language\Form\NegotiationConfigureForm'
  54. _title: 'Detection and selection'
  55. requirements:
  56. _permission: 'administer languages'
  57. language.negotiation_browser:
  58. path: '/admin/config/regional/language/detection/browser'
  59. defaults:
  60. _form: '\Drupal\language\Form\NegotiationBrowserForm'
  61. _title: 'Browser language detection configuration'
  62. requirements:
  63. _permission: 'administer languages'
  64. language.negotiation_browser_delete:
  65. path: '/admin/config/regional/language/detection/browser/delete/{browser_langcode}'
  66. defaults:
  67. _form: '\Drupal\language\Form\NegotiationBrowserDeleteForm'
  68. _title: 'Delete'
  69. requirements:
  70. _permission: 'administer languages'
  71. language.content_settings_page:
  72. path: '/admin/config/regional/content-language'
  73. defaults:
  74. _title: 'Content language'
  75. _form: '\Drupal\language\Form\ContentLanguageSettingsForm'
  76. requirements:
  77. _permission: 'administer languages'