layout_paragraphs-1.0.x-dev/config/schema/layout_paragraphs.schema.yml
config/schema/layout_paragraphs.schema.yml
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'
show_layout_plugin_labels:
type: integer
label: 'Show Layout Plugin Labels'
description: 'Show the Layout Plugin Label in the component controls interface'
paragraph_behaviors_label:
type: string
label: 'Paragraph behaviors label'
description: 'The paragraph behaviors form fieldset label'
paragraph_behaviors_position:
type: integer
label: 'Paragraph behaviors fieldset position'
description: 'Whether to render the paragraph behaviors at the top or bottom of paragraph edit forms'
empty_message:
type: string
label: 'Empty Message'
description: 'Message to display from the "Choose a component" dialog when the list of available components is empty.'
button_labels:
type: mapping
label: 'Button Labels Configuration'
mapping:
enable_tooltips:
type: boolean
label: 'Enable Tooltips'
description: 'Whether to show tooltips for the Add Component Button'
default:
type: string
label: 'Default Label'
description: 'Default label for the Add Component button when no specific label is set'
root:
type: string
label: 'Root Level Label'
description: 'Label for the Add Component button at the root level'
'*':
type: string
label: 'Paragraph Type Label'
description: 'Label for the Add Component button for a specific paragraph type'
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'
link:
type: string
label: 'Link'
field.formatter.settings.layout_paragraphs_builder:
type: mapping
label: 'Layout Paragraphs display format settings'
mapping:
view_mode:
type: string
label: 'View mode'
link:
type: string
label: 'Link'
preview_view_mode:
type: string
label: 'Preview view mode'
form_display_mode:
type: string
label: 'Form display 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:
view_mode:
type: string
label: 'View mode'
preview_view_mode:
type: string
label: 'Preview view mode'
form_display_mode:
type: string
label: 'Form display 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'
