6bcada9d01a7824610cafdf088d7daa80fcdbb9d
[yaffs-website] / web / modules / contrib / paragraphs / config / schema / paragraphs_type.schema.yml
1 paragraphs.paragraphs_type.*:
2   type: config_entity
3   label: 'Paragraphs type config'
4   mapping:
5     id:
6       type: string
7       label: 'ID'
8     label:
9       type: label
10       label: 'Label'
11     icon_uuid:
12       type: string
13       label: 'Icon uuid'
14     description:
15       type: text
16       label: 'Description'
17     behavior_plugins:
18       type: sequence
19       label: 'Plugins'
20       sequence:
21         type: paragraphs.behavior.settings.[%key]
22         label: 'Behavior plugins'
23
24 paragraphs.behavior.settings_base:
25   type: mapping
26   label: 'Settings for base paragraphs behavior plugin'
27   mapping:
28     enabled:
29       type: boolean
30       label: 'Enabled'
31
32 # The plugins which extend the base behavior plugin and don't provide
33 # any configuration form will validate on this entry.
34 paragraphs.behavior.settings.*:
35   type: paragraphs.behavior.settings_base
36
37 entity_reference_selection.default:paragraph:
38   type: entity_reference_selection.default
39   mapping:
40     negate:
41       type: integer
42     target_bundles_drag_drop:
43       type: sequence
44       sequence:
45         type: mapping
46         mapping:
47           weight:
48             type: integer
49           enabled:
50             type: boolean
51     add_mode:
52       type: string
53     edit_mode:
54       type: string
55     title:
56       type: string
57     title_plural:
58       type: string
59     default_paragraph_type:
60       type: string
61
62 field.widget.settings.entity_reference_paragraphs:
63   type: mapping
64   mapping:
65     title:
66       type: string
67     title_plural:
68       type: string
69     edit_mode:
70       type: string
71     add_mode:
72       type: string
73     form_display_mode:
74       type: string
75     default_paragraph_type:
76       type: string
77
78 field.widget.settings.paragraphs:
79   type: mapping
80   mapping:
81     title:
82       type: string
83     title_plural:
84       type: string
85     edit_mode:
86       type: string
87     closed_mode:
88       type: string
89     autocollapse:
90       type: string
91     add_mode:
92       type: string
93     form_display_mode:
94       type: string
95     default_paragraph_type:
96       type: string