You are here

page_manager.schema.yml in Page Manager 8.4

Same filename and directory in other branches
  1. 8 config/schema/page_manager.schema.yml
config/schema/page_manager.schema.yml

File

config/schema/page_manager.schema.yml
View source
  1. page_manager.page.*:
  2. type: config_entity
  3. label: 'Page'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'Machine-readable name'
  8. label:
  9. type: label
  10. label: 'Label'
  11. description:
  12. type: text
  13. label: 'Description'
  14. use_admin_theme:
  15. type: boolean
  16. label: 'Whether the page is displayed using the admin theme or not'
  17. path:
  18. type: string
  19. label: 'Page path'
  20. access_logic:
  21. type: string
  22. label: 'Access logic'
  23. access_conditions:
  24. type: sequence
  25. label: 'Access Conditions'
  26. sequence:
  27. - type: condition.plugin.[id]
  28. label: 'Access Condition'
  29. parameters:
  30. type: sequence
  31. label: Parameter context list
  32. sequence:
  33. - type: mapping
  34. label: Parameter context
  35. mapping:
  36. machine_name:
  37. type: string
  38. label: 'Machine-readable name'
  39. label:
  40. type: label
  41. label: 'Label of the context'
  42. type:
  43. type: string
  44. label: 'Context type'
  45. page_manager.page_variant.*:
  46. type: config_entity
  47. label: 'Page variant configuration'
  48. mapping:
  49. id:
  50. type: string
  51. label: 'ID'
  52. label:
  53. type: label
  54. label: 'Label'
  55. weight:
  56. type: integer
  57. label: 'Weight'
  58. uuid:
  59. type: string
  60. label: 'UUID'
  61. variant:
  62. type: string
  63. label: 'Display variant'
  64. variant_settings:
  65. type: display_variant.plugin.[%parent.variant]
  66. label: 'Variant settings'
  67. page:
  68. type: string
  69. label: 'Parent page'
  70. selection_criteria:
  71. type: sequence
  72. label: 'Selection criteria'
  73. sequence:
  74. - type: condition.plugin.[id]
  75. label: 'Selection condition'
  76. selection_logic:
  77. type: string
  78. label: 'Selection logic'
  79. static_context:
  80. type: sequence
  81. label: Static context list
  82. sequence:
  83. - type: ctools.context
  84. label: 'Static context'
  85. page_manager.block_plugin.*:
  86. type: block.settings.[id]
  87. mapping:
  88. region:
  89. type: string
  90. label: 'Region'
  91. weight:
  92. type: integer
  93. label: 'Weight'
  94. uuid:
  95. type: string
  96. label: 'UUID'
  97. context_mapping:
  98. type: sequence
  99. label: 'Context assignments'
  100. sequence:
  101. - type: string
  102. # @todo Move to core in https://www.drupal.org/node/2838130.
  103. display_variant.plugin.*:
  104. type: display_variant.plugin
  105. label: 'Variant settings'
  106. condition.plugin.*:
  107. type: condition.plugin
  108. label: 'Condition settings'
  109. display_variant.plugin.block_display:
  110. type: display_variant.plugin
  111. label: 'Block variant plugin'
  112. mapping:
  113. selection_logic:
  114. type: string
  115. label: 'Selection logic'
  116. selection_conditions:
  117. type: sequence
  118. label: 'Selection Conditions'
  119. sequence:
  120. - type: condition.plugin.[id]
  121. label: 'Selection Condition'
  122. blocks:
  123. type: sequence
  124. label: 'Blocks'
  125. sequence:
  126. - type: page_manager.block_plugin.[id]
  127. page_title:
  128. type: label
  129. label: 'Page title'
  130. display_variant.plugin.http_status_code:
  131. type: display_variant.plugin
  132. label: 'HTTP status code variant plugin'
  133. mapping:
  134. status_code:
  135. type: integer
  136. label: 'Status code'
  137. redirect_location:
  138. type: string
  139. label: 'Redirect location'
  140. display_variant.plugin.layout_builder:
  141. type: display_variant.plugin
  142. label: 'Layout Builder'
  143. mapping:
  144. sections:
  145. type: sequence
  146. sequence:
  147. type: layout_builder.section