layout_paragraphs.schema.yml in Layout Paragraphs 2.0.x
Same filename and directory in other branches
config/schema/layout_paragraphs.schema.yml
File
config/schema/layout_paragraphs.schema.ymlView source
- layout_paragraphs.settings:
- type: config_object
- label: 'Layout Paragraphs general settings'
- mapping:
- show_paragraph_labels:
- type: integer
- label: 'Show Paragraph Labels'
- description: 'This option allows to show the Paragraphs Type Label of each Item added in LP widget Sections/Layouts'
- show_layout_labels:
- type: integer
- label: 'Show Layout Labels'
- description: 'This option allows to show the Paragraphs Layout Label of each Item added in LP widget Sections/Layouts'
- paragraph_behaviors_label:
- type: string
- label: 'Paragraph behaviors label'
- descripton: 'The paragraph behaviors form fieldset label'
- paragraph_behaviors_position:
- type: integer
- label: 'Paragraph behaviors fieldset position'
- description: 'Wheter to render the paragraph behaviors at the top or bottom of paragraph edit forms'
-
- layout_paragraphs.modal_settings:
- type: config_object
- label: 'Layout Paragraphs modal settings'
- mapping:
- width:
- type: string
- label: 'Modal width'
- description: 'Modal width in pixels or a percentage.'
- height:
- type: string
- label: 'Modal height'
- description: 'Modal height in pixels, as a percentage, or "auto".'
- autoresize:
- type: boolean
- label: 'Modal autoresize'
- description: 'If checked modal forms will automatically resize.'
-
- field.formatter.settings.layout_paragraphs:
- type: mapping
- label: 'Layout Paragraphs format settings'
- mapping:
- view_mode:
- type: string
- label: 'View mode'
-
- field.formatter.settings.layout_paragraphs_builder:
- type: mapping
- label: 'Layout Paragraphs display format settings'
- mapping:
- view_mode:
- type: string
- label: 'View mode'
- preview_view_mode:
- type: string
- label: 'Preview view mode'
- nesting_depth:
- type: integer
- label: 'Maximum nesting depth'
- require_layouts:
- type: integer
- label: 'Require paragraphs to be added inside a layout'
- empty_message:
- type: string
- label: 'Placeholder message to display when field is empty'
-
- field.widget.settings.layout_paragraphs:
- type: mapping
- label: 'Layout Paragraphs display format settings'
- mapping:
- preview_view_mode:
- type: string
- label: 'Preview view mode'
- nesting_depth:
- type: integer
- label: 'Maximum nesting depth'
- require_layouts:
- type: integer
- label: 'Require paragraphs to be added inside a layout'
- empty_message:
- type: string
- label: 'Placeholder message to display when field is empty'
-
- paragraphs.behavior.settings.layout_paragraphs:
- type: paragraphs.behavior.settings_base
- label: 'Layout Paragraphs Section settings'
- mapping:
- enabled:
- type: boolean
- label: 'Use as a Layout Section'
- available_layouts:
- type: sequence
- label: 'Available Layouts'
- sequence:
- type: string
- label: 'Layout'