language.schema.yml

drupal/core/modules/language/config/schema/language.schema.yml

File

drupal/core/modules/language/config/schema/language.schema.yml
View source
  1. # Schema for the configuration files of the Language module.
  2. language.detection:
  3. type: mapping
  4. label: 'Language detection settings'
  5. mapping:
  6. selected_langcode:
  7. type: string
  8. label: 'Selected language code'
  9. language.negotiation:
  10. type: mapping
  11. label: 'Language detection methods'
  12. mapping:
  13. session:
  14. type: mapping
  15. label: 'Session'
  16. mapping:
  17. parameter:
  18. type: string
  19. label: 'Request/session parameter'
  20. url:
  21. type: mapping
  22. label: 'Language from the URL (Path prefix or domain).'
  23. mapping:
  24. source:
  25. type: string
  26. label: 'Part of the URL that determines language'
  27. prefixes:
  28. type: sequence
  29. label: 'Path prefix configuration'
  30. sequence:
  31. - type: string
  32. label: 'Path prefix'
  33. domains:
  34. type: sequence
  35. label: 'Domain configuration'
  36. sequence:
  37. - type: string
  38. label: 'Domain'
  39. language.mappings:
  40. type: sequence
  41. label: 'Language mapping'
  42. sequence:
  43. - type: string
  44. label: 'Language'