You are here

diff.schema.yml in Diff 8

config/schema/diff.schema.yml

File

config/schema/diff.schema.yml
View source
  1. diff.settings:
  2. type: config_object
  3. label: 'Settings'
  4. mapping:
  5. general_settings:
  6. type: mapping
  7. label: 'General Settings'
  8. mapping:
  9. radio_behavior:
  10. type: label
  11. label: 'Radio button behaviour'
  12. context_lines_leading:
  13. type: integer
  14. label: 'Number of leading context lines'
  15. context_lines_trailing:
  16. type: integer
  17. label: 'Number of trailing context lines'
  18. revision_pager_limit:
  19. type: integer
  20. label: 'Revisions per page to be displayed in diff pager'
  21. layout_plugins:
  22. type: sequence
  23. label: 'Plugins'
  24. sequence:
  25. type: mapping
  26. label: 'Layout plugins configuration'
  27. mapping:
  28. enabled:
  29. type: boolean
  30. label: 'Enabled'
  31. weight:
  32. type: integer
  33. label: 'Weight'
  34. visual_inline_theme:
  35. type: string
  36. label: 'Theme'
  37. entity:
  38. type: sequence
  39. label: 'Entities'
  40. sequence:
  41. - type: sequence
  42. label: 'Entity ID'
  43. sequence:
  44. - type: integer
  45. label: 'Compare base field'
  46. diff.plugins:
  47. type: config_object
  48. label: 'Entity Type'
  49. mapping:
  50. fields:
  51. type: sequence
  52. label: 'Field'
  53. sequence:
  54. type: sequence
  55. sequence:
  56. type: mapping
  57. label: 'Diff configuration for a field type'
  58. mapping:
  59. type:
  60. type: text
  61. label: 'Plugin key'
  62. settings:
  63. type: diff.plugin.settings.[%parent.type]
  64. diff.plugin.settings_base:
  65. type: mapping
  66. label: 'Settings for base diff builder plugin'
  67. mapping:
  68. show_header:
  69. type: integer
  70. label: 'Compare the field title'
  71. markdown:
  72. type: string
  73. label: 'Mark-down function ID'
  74. # The plugins which extend the base diff builder plugin and don't provide
  75. # any configuration form will validate on this entry.
  76. diff.plugin.settings.*:
  77. type: diff.plugin.settings_base
  78. diff.plugin.settings.file_field_diff_builder:
  79. type: diff.plugin.settings_base
  80. label: 'Settings for file field diff builder plugin'
  81. mapping:
  82. show_id:
  83. type: integer
  84. label: 'Compare the ID of the file'
  85. compare_description_field:
  86. type: integer
  87. label: 'Compare the description of the file'
  88. compare_display_field:
  89. type: integer
  90. label: 'Compare the description of the file'
  91. property_separator:
  92. type: text
  93. label: 'Separator between multiple compared properties'
  94. diff.plugin.settings.image_field_diff_builder:
  95. type: diff.plugin.settings_base
  96. label: 'Settings for image field diff builder plugin'
  97. mapping:
  98. show_id:
  99. type: integer
  100. label: 'Compare the ID of the image'
  101. compare_alt_field:
  102. type: integer
  103. label: 'Compare the alt of the image'
  104. compare_title_field:
  105. type: integer
  106. label: 'Compare the title of the image'
  107. property_separator:
  108. type: text
  109. label: 'Separator between multiple compared properties'
  110. show_thumbnail:
  111. type: integer
  112. label: 'Show the image thumbnail'
  113. diff.plugin.settings.list_field_diff_builder:
  114. type: diff.plugin.settings_base
  115. label: 'Settings for list field diff builder plugin'
  116. mapping:
  117. compare:
  118. type: text
  119. label: 'Comparison method key'
  120. diff.plugin.settings.term_reference_field_diff_builder:
  121. type: diff.plugin.settings_base
  122. label: 'Settings for term reference field diff builder plugin'
  123. mapping:
  124. show_name:
  125. type: integer
  126. label: 'Compare the taxonomy term string'
  127. show_id:
  128. type: integer
  129. label: 'Compare the taxonomy term id'
  130. diff.plugin.settings.text_field_diff_builder:
  131. type: diff.plugin.settings_base
  132. label: 'Settings for text field diff builder plugin'
  133. mapping:
  134. compare_format:
  135. type: integer
  136. label: 'Compare the format of the text'
  137. diff.plugin.settings.text_summary_field_diff_builder:
  138. type: diff.plugin.settings_base
  139. label: 'Settings for text with summary field diff builder plugin'
  140. mapping:
  141. compare_format:
  142. type: integer
  143. label: 'Compare the format of the text'
  144. compare_summary:
  145. type: integer
  146. label: 'Compare the summary of the text'
  147. diff.plugin.settings.link_field_diff_builder:
  148. type: diff.plugin.settings_base
  149. label: 'Settings for link field diff builder plugin'
  150. mapping:
  151. compare_title:
  152. type: integer
  153. label: 'Compare the title of the link'
  154. compare_uri:
  155. type: integer
  156. label: 'Compare the URI of the link'
  157. diff.plugin.settings.comment_field_diff_builder:
  158. type: diff.plugin.settings_base
  159. label: 'Settings for comment field diff builder plugin'
  160. mapping:
  161. compare_key:
  162. type: integer
  163. label: 'Compare the status key of the comments'
  164. compare_string:
  165. type: integer
  166. label: 'Compare the status string of the comments'
  167. diff.plugin.settings.entity_reference_field_diff_builder:
  168. type: diff.plugin.settings_base
  169. label: 'Settings for entity reference field diff builder plugin'
  170. mapping:
  171. compare_entity_reference:
  172. type: integer
  173. label: 'Entity reference component to compare'
  174. diff.layout_plugins:
  175. type: config_object
  176. label: 'Plugin'
  177. mapping:
  178. type: sequence
  179. sequence:
  180. type: mapping
  181. label: 'Diff configuration for a field type'
  182. mapping:
  183. type:
  184. type: text
  185. label: 'Plugin key'
  186. settings:
  187. type: diff.layout_plugin.settings.[%parent.type]
  188. diff.layout_plugin.settings_base:
  189. type: mapping
  190. label: 'Settings for base diff layout plugin'
  191. mapping: