layout_builder.schema.yml

Same filename in other branches
  1. 9 core/modules/layout_builder/config/schema/layout_builder.schema.yml
  2. 8.9.x core/modules/layout_builder/config/schema/layout_builder.schema.yml
  3. 11.x core/modules/layout_builder/config/schema/layout_builder.schema.yml
core/modules/layout_builder/config/schema/layout_builder.schema.yml

File

core/modules/layout_builder/config/schema/layout_builder.schema.yml

View source
  1. core.entity_view_display.*.*.*.third_party.layout_builder:
  2. type: mapping
  3. label: 'Per-view-mode Layout Builder settings'
  4. mapping:
  5. enabled:
  6. type: boolean
  7. label: 'Whether the Layout Builder is enabled for this display'
  8. allow_custom:
  9. type: boolean
  10. label: 'Allow a customized layout'
  11. sections:
  12. type: sequence
  13. sequence:
  14. type: layout_builder.section
  15. layout_builder.section:
  16. type: mapping
  17. label: 'Layout section'
  18. mapping:
  19. layout_id:
  20. type: string
  21. label: 'Layout ID'
  22. constraints:
  23. PluginExists:
  24. manager: plugin.manager.core.layout
  25. interface: '\Drupal\Core\Layout\LayoutInterface'
  26. layout_settings:
  27. type: layout_plugin.settings.[%parent.layout_id]
  28. label: 'Layout settings'
  29. components:
  30. type: sequence
  31. label: 'Components'
  32. sequence:
  33. type: layout_builder.component
  34. third_party_settings:
  35. type: sequence
  36. label: 'Third party settings'
  37. sequence:
  38. type: '[%parent.%parent.%type].third_party.[%key]'
  39. layout_builder.component:
  40. type: mapping
  41. label: 'Component'
  42. mapping:
  43. uuid:
  44. type: uuid
  45. label: 'UUID'
  46. region:
  47. type: string
  48. label: 'Region'
  49. configuration:
  50. type: block.settings.[id]
  51. weight:
  52. type: weight
  53. label: 'Weight'
  54. additional:
  55. type: ignore
  56. label: 'Additional data'
  57. inline_block:
  58. type: block_settings
  59. label: 'Inline block'
  60. mapping:
  61. view_mode:
  62. type: string
  63. label: 'View mode'
  64. block_id:
  65. type: integer
  66. label: 'Block ID'
  67. block_revision_id:
  68. type: integer
  69. label: 'Block revision ID'
  70. block_serialized:
  71. type: string
  72. label: 'Serialized block'
  73. block.settings.inline_block:*:
  74. type: inline_block
  75. layout_builder_multi_width:
  76. type: layout_plugin.settings
  77. mapping:
  78. column_widths:
  79. type: string
  80. label: 'Column widths'
  81. layout_plugin.settings.layout_twocol_section:
  82. type: layout_builder_multi_width
  83. layout_plugin.settings.layout_threecol_section:
  84. type: layout_builder_multi_width

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.