You are here

domain_lang.routing.yml in Domain Lang 8

File

domain_lang.routing.yml
View source
  1. domain_lang.admin:
  2. path: '/admin/config/domain/language-detect-select/{domain}'
  3. defaults:
  4. _form: '\Drupal\domain_lang\Form\DomainLangNegotiationConfigureForm'
  5. _title: 'Language Detection and Selection'
  6. requirements:
  7. _permission: 'administer domain language negotiation'
  8. domain_lang.negotiation_session:
  9. path: '/admin/config/domain/language-detect-select/{domain}/session'
  10. defaults:
  11. _form: '\Drupal\domain_lang\Form\DomainLangNegotiationSessionForm'
  12. _title: 'Session language detection configuration'
  13. requirements:
  14. _permission: 'administer domain language negotiation'
  15. domain_lang.negotiation_browser:
  16. path: '/admin/config/domain/language-detect-select/{domain}/browser'
  17. defaults:
  18. _form: '\Drupal\domain_lang\Form\DomainLangNegotiationBrowserForm'
  19. _title: 'Browser language detection configuration'
  20. requirements:
  21. _permission: 'administer domain language negotiation'
  22. domain_lang.negotiation_browser_delete:
  23. path: '/admin/config/domain/language-detect-select/{domain}/browser/delete/{browser_langcode}'
  24. defaults:
  25. _form: '\Drupal\domain_lang\Form\DomainLangNegotiationBrowserDeleteForm'
  26. _title: 'Delete'
  27. requirements:
  28. _permission: 'administer domain language negotiation'
  29. domain_lang.negotiation_url:
  30. path: '/admin/config/domain/language-detect-select/{domain}/url'
  31. defaults:
  32. _form: '\Drupal\domain_lang\Form\DomainLangNegotiationUrlForm'
  33. _title: 'URL language detection configuration'
  34. requirements:
  35. _permission: 'administer domain language negotiation'
  36. domain_lang.negotiation_selected:
  37. path: '/admin/config/domain/language-detect-select/{domain}/selected'
  38. defaults:
  39. _form: '\Drupal\domain_lang\Form\DomainLangNegotiationSelectedForm'
  40. _title: 'Selected language configuration'
  41. requirements:
  42. _permission: 'administer domain language negotiation'