You are here

context.schema.yml in Context 8.4

config/schema/context.schema.yml

File

config/schema/context.schema.yml
View source
  1. context.context.*:
  2. type: config_entity
  3. label: 'Context configuration'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. name:
  12. type: string
  13. label: 'Name'
  14. group:
  15. type: string
  16. label: 'Group'
  17. description:
  18. type: string
  19. label: 'Description'
  20. requireAllConditions:
  21. type: boolean
  22. label: 'Require All Conditions'
  23. disabled:
  24. type: boolean
  25. label: 'Disabled'
  26. conditions:
  27. type: sequence
  28. label: 'Conditions'
  29. sequence:
  30. type: condition.plugin.[id]
  31. label: 'Condition'
  32. reactions:
  33. type: sequence
  34. label: 'Reactions'
  35. sequence:
  36. type: reaction.plugin.[id]
  37. label: 'Reaction'
  38. weight:
  39. type: integer
  40. label: 'Weight'
  41. condition.plugin.request_path_exclusion:
  42. type: condition.plugin
  43. label: 'Request Path Exclusion Condition'
  44. mapping:
  45. pages:
  46. type: string
  47. condition.plugin.view_inclusion:
  48. type: condition.plugin
  49. label: 'View Inclusion Condition'
  50. mapping:
  51. view_inclusion:
  52. type: sequence
  53. label: 'View Inclusion'
  54. condition.plugin.http_status_code:
  55. type: condition.plugin
  56. label: 'HTTP Status Code Condition'
  57. mapping:
  58. status_codes:
  59. type: mapping
  60. label: 'Status Codes'
  61. mapping:
  62. 200:
  63. type: integer
  64. label: '200'
  65. 403:
  66. type: integer
  67. label: '403'
  68. 404:
  69. type: integer
  70. label: '404'
  71. condition.plugin.user_status:
  72. type: condition.plugin
  73. label: 'User Profile Page Condition'
  74. mapping:
  75. user_status:
  76. type: mapping
  77. label: 'User status'
  78. mapping:
  79. viewing_profile:
  80. type: string
  81. label: 'viewing_profile'
  82. logged_viewing_profile:
  83. type: string
  84. label: 'logged_viewing_profile'
  85. own_page_true:
  86. type: string
  87. label: 'own_page_true'
  88. field_value:
  89. type: string
  90. label: 'field_value'
  91. user_fields:
  92. type: string
  93. label: 'User fields'
  94. condition.plugin.request_domain:
  95. type: condition.plugin
  96. label: 'Request domain'
  97. mapping:
  98. domains:
  99. type: string
  100. label: 'Domains'
  101. condition.plugin.context_all:
  102. type: condition.plugin
  103. label: 'Context (all)'
  104. mapping:
  105. values:
  106. type: string
  107. label: 'Context (all)'
  108. condition.plugin.context:
  109. type: condition.plugin
  110. label: 'Context (any)'
  111. mapping:
  112. values:
  113. type: string
  114. label: 'Context (any)'
  115. reaction.plugin.menu:
  116. type: reaction.plugin
  117. mapping:
  118. menu_items:
  119. type: sequence
  120. label: 'Menu items'
  121. reaction.plugin.page_template_suggestions:
  122. type: reaction.plugin
  123. mapping:
  124. suggestions:
  125. type: text
  126. label: 'Page template suggestions'
  127. reaction.plugin.regions:
  128. type: reaction.plugin
  129. mapping:
  130. regions:
  131. type: array
  132. label: 'Regions'
  133. reaction.plugin.theme:
  134. type: reaction.plugin
  135. mapping:
  136. theme:
  137. type: string
  138. label: 'Theme'
  139. reaction.plugin.blocks:
  140. type: reaction.plugin
  141. mapping:
  142. theme:
  143. type: string
  144. label: 'The theme in which to display the block'
  145. include_default_blocks:
  146. type: integer
  147. label: 'Include blocks from Block layout'
  148. saved:
  149. type: boolean
  150. label: 'Saved'
  151. reaction.plugin.body_class:
  152. type: reaction.plugin
  153. mapping:
  154. body_class:
  155. type: string
  156. label: 'The class to add to the body'
  157. reaction.plugin.page_title:
  158. type: reaction.plugin
  159. mapping:
  160. page_title:
  161. type: string
  162. label: 'The title to add to the page'