You are here

layout_builder.schema.yml in Drupal 9

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. layout_settings:
  23. type: layout_plugin.settings.[%parent.layout_id]
  24. label: 'Layout settings'
  25. components:
  26. type: sequence
  27. label: 'Components'
  28. sequence:
  29. type: layout_builder.component
  30. third_party_settings:
  31. type: sequence
  32. label: 'Third party settings'
  33. sequence:
  34. type: '[%parent.%parent.%type].third_party.[%key]'
  35. layout_builder.component:
  36. type: mapping
  37. label: 'Component'
  38. mapping:
  39. configuration:
  40. type: block.settings.[id]
  41. region:
  42. type: string
  43. label: 'Region'
  44. uuid:
  45. type: uuid
  46. label: 'UUID'
  47. weight:
  48. type: integer
  49. label: 'Weight'
  50. additional:
  51. type: ignore
  52. label: 'Additional data'
  53. inline_block:
  54. type: block_settings
  55. label: 'Inline block'
  56. mapping:
  57. view_mode:
  58. type: string
  59. label: 'View mode'
  60. block_revision_id:
  61. type: integer
  62. label: 'Block revision ID'
  63. block_serialized:
  64. type: string
  65. label: 'Serialized block'
  66. block.settings.inline_block:*:
  67. type: inline_block
  68. layout_builder_multi_width:
  69. type: layout_plugin.settings
  70. mapping:
  71. column_widths:
  72. type: string
  73. label: 'Column widths'
  74. layout_plugin.settings.layout_twocol_section:
  75. type: layout_builder_multi_width
  76. layout_plugin.settings.layout_threecol_section:
  77. type: layout_builder_multi_width