You are here

layout_paragraphs.schema.yml in Layout Paragraphs 2.0.x

Same filename and directory in other branches
  1. 1.0.x config/schema/layout_paragraphs.schema.yml
config/schema/layout_paragraphs.schema.yml

File

config/schema/layout_paragraphs.schema.yml
View source
  1. layout_paragraphs.settings:
  2. type: config_object
  3. label: 'Layout Paragraphs general settings'
  4. mapping:
  5. show_paragraph_labels:
  6. type: integer
  7. label: 'Show Paragraph Labels'
  8. description: 'This option allows to show the Paragraphs Type Label of each Item added in LP widget Sections/Layouts'
  9. show_layout_labels:
  10. type: integer
  11. label: 'Show Layout Labels'
  12. description: 'This option allows to show the Paragraphs Layout Label of each Item added in LP widget Sections/Layouts'
  13. paragraph_behaviors_label:
  14. type: string
  15. label: 'Paragraph behaviors label'
  16. descripton: 'The paragraph behaviors form fieldset label'
  17. paragraph_behaviors_position:
  18. type: integer
  19. label: 'Paragraph behaviors fieldset position'
  20. description: 'Wheter to render the paragraph behaviors at the top or bottom of paragraph edit forms'
  21. layout_paragraphs.modal_settings:
  22. type: config_object
  23. label: 'Layout Paragraphs modal settings'
  24. mapping:
  25. width:
  26. type: string
  27. label: 'Modal width'
  28. description: 'Modal width in pixels or a percentage.'
  29. height:
  30. type: string
  31. label: 'Modal height'
  32. description: 'Modal height in pixels, as a percentage, or "auto".'
  33. autoresize:
  34. type: boolean
  35. label: 'Modal autoresize'
  36. description: 'If checked modal forms will automatically resize.'
  37. field.formatter.settings.layout_paragraphs:
  38. type: mapping
  39. label: 'Layout Paragraphs format settings'
  40. mapping:
  41. view_mode:
  42. type: string
  43. label: 'View mode'
  44. field.formatter.settings.layout_paragraphs_builder:
  45. type: mapping
  46. label: 'Layout Paragraphs display format settings'
  47. mapping:
  48. view_mode:
  49. type: string
  50. label: 'View mode'
  51. preview_view_mode:
  52. type: string
  53. label: 'Preview view mode'
  54. nesting_depth:
  55. type: integer
  56. label: 'Maximum nesting depth'
  57. require_layouts:
  58. type: integer
  59. label: 'Require paragraphs to be added inside a layout'
  60. empty_message:
  61. type: string
  62. label: 'Placeholder message to display when field is empty'
  63. field.widget.settings.layout_paragraphs:
  64. type: mapping
  65. label: 'Layout Paragraphs display format settings'
  66. mapping:
  67. preview_view_mode:
  68. type: string
  69. label: 'Preview view mode'
  70. nesting_depth:
  71. type: integer
  72. label: 'Maximum nesting depth'
  73. require_layouts:
  74. type: integer
  75. label: 'Require paragraphs to be added inside a layout'
  76. empty_message:
  77. type: string
  78. label: 'Placeholder message to display when field is empty'
  79. paragraphs.behavior.settings.layout_paragraphs:
  80. type: paragraphs.behavior.settings_base
  81. label: 'Layout Paragraphs Section settings'
  82. mapping:
  83. enabled:
  84. type: boolean
  85. label: 'Use as a Layout Section'
  86. available_layouts:
  87. type: sequence
  88. label: 'Available Layouts'
  89. sequence:
  90. type: string
  91. label: 'Layout'