You are here

language.schema.yml in Drupal 10

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

File

core/modules/language/config/schema/language.schema.yml
View source
  1. # Schema for the configuration files of the Language module.
  2. language_type_negotiation:
  3. type: mapping
  4. label: 'Language negotiation per type setting'
  5. mapping:
  6. enabled:
  7. type: sequence
  8. label: 'Enabled negotiators'
  9. sequence:
  10. type: integer
  11. label: Weight
  12. method_weights:
  13. type: sequence
  14. label: 'Negotiator weights'
  15. sequence:
  16. type: integer
  17. label: Weight
  18. language.types:
  19. type: config_object
  20. label: 'Language types'
  21. mapping:
  22. all:
  23. type: sequence
  24. label: 'All language types'
  25. sequence:
  26. type: string
  27. label: 'Language type'
  28. configurable:
  29. type: sequence
  30. label: 'Configurable language types'
  31. sequence:
  32. type: string
  33. label: 'Language type'
  34. negotiation:
  35. type: sequence
  36. label: 'Language negotiation per type settings'
  37. sequence:
  38. type: language_type_negotiation
  39. label: 'Language negotiation per type setting'
  40. language.negotiation:
  41. type: config_object
  42. label: 'Language detection methods'
  43. mapping:
  44. session:
  45. type: mapping
  46. label: 'Session'
  47. mapping:
  48. parameter:
  49. type: string
  50. label: 'Request/session parameter'
  51. url:
  52. type: mapping
  53. label: 'Language from the URL (Path prefix or domain).'
  54. mapping:
  55. source:
  56. type: string
  57. label: 'Part of the URL that determines language'
  58. prefixes:
  59. type: sequence
  60. label: 'Path prefix configuration'
  61. sequence:
  62. type: string
  63. label: 'Path prefix'
  64. domains:
  65. type: sequence
  66. label: 'Domain configuration'
  67. sequence:
  68. type: string
  69. label: 'Domain'
  70. selected_langcode:
  71. type: string
  72. label: 'Selected language'
  73. language.mappings:
  74. type: config_object
  75. label: 'Language mapping'
  76. mapping:
  77. map:
  78. type: sequence
  79. sequence:
  80. type: string
  81. label: 'Language'
  82. language.entity.*:
  83. type: config_entity
  84. label: 'Language'
  85. mapping:
  86. id:
  87. type: string
  88. label: 'ID'
  89. label:
  90. type: label
  91. label: 'Label'
  92. direction:
  93. type: string
  94. label: 'Direction'
  95. weight:
  96. type: integer
  97. label: 'Weight'
  98. locked:
  99. type: boolean
  100. label: 'Locked'
  101. language.content_settings.*.*:
  102. type: config_entity
  103. label: 'Content Language Settings'
  104. mapping:
  105. id:
  106. type: string
  107. label: 'ID'
  108. target_entity_type_id:
  109. type: string
  110. label: 'Entity Type ID'
  111. target_bundle:
  112. type: string
  113. label: 'Bundle'
  114. default_langcode:
  115. type: string
  116. label: 'Default language'
  117. language_alterable:
  118. type: boolean
  119. label: 'Allow to alter the language'
  120. condition.plugin.language:
  121. type: condition.plugin
  122. mapping:
  123. langcodes:
  124. type: sequence
  125. sequence:
  126. type: string
  127. field.widget.settings.language_select:
  128. type: mapping
  129. label: 'Language format settings'
  130. mapping:
  131. include_locked:
  132. type: boolean
  133. label: 'Include locked languages'