Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / entity_browser / config / schema / entity_browser.schema.yml
1 # Schema for configuration files of the Entity browser module.
2
3 entity_browser.browser.*:
4   type: config_entity
5   label: 'Entity browser'
6   mapping:
7     name:
8       type: string
9       label: 'Machine name'
10     label:
11       type: label
12       label: 'Label'
13     display:
14       type: string
15       label: 'Display plugin ID'
16     display_configuration:
17       type: entity_browser.browser.display.[%parent.display]
18     selection_display:
19       type: string
20       label: 'Selection display plugin ID'
21     selection_display_configuration:
22       type: entity_browser.browser.selection_display.[%parent.selection_display]
23     widget_selector:
24       type: string
25       label: 'Widget selector plugin ID'
26     widget_selector_configuration:
27       type: entity_browser.browser.widget_selector.[%parent.widget_selector]
28     widgets:
29       type: sequence
30       label: 'Widgets'
31       sequence:
32         type: mapping
33         mapping:
34           id:
35             type: string
36           uuid:
37             type: string
38           label:
39             type: label
40           weight:
41             type: integer
42           settings:
43             type: entity_browser.browser.widget.[%parent.id]
44
45 entity_browser.browser.display.standalone:
46   type: mapping
47   label: 'Standalone display configuration'
48   mapping:
49     path:
50       type: string
51       label: 'Page path'
52
53 entity_browser.browser.display.iframe:
54   type: mapping
55   label: 'iFrame display configuration'
56   mapping:
57     width:
58       type: string
59       label: 'iFrame width'
60     height:
61       type: string
62       label: 'iFrame height'
63     link_text:
64       type: string
65       label: 'Link text'
66     auto_open:
67       type: boolean
68       label: 'Auto open'
69
70 entity_browser.browser.display.modal:
71   type: mapping
72   label: 'Modal display configuration'
73   mapping:
74     width:
75       type: string
76       label: 'Modal width'
77     height:
78       type: string
79       label: 'Modal height'
80     link_text:
81       type: string
82       label: 'Link text'
83     auto_open:
84       type: boolean
85       label: 'Auto open'
86
87 entity_browser.browser.widget.upload:
88   type: mapping
89   label: 'Upload widget configuration'
90   mapping:
91     submit_text:
92       type: string
93       label: 'Submit button text'
94     upload_location:
95       type: string
96       label: 'Upload location'
97     multiple:
98       type: boolean
99       label: 'Allow multiple uploads'
100     extensions:
101       type: string
102       label: 'Allowed file extensions'
103
104 entity_browser.browser.widget.view:
105   type: mapping
106   label: 'View widget configuration'
107   mapping:
108     submit_text:
109       type: string
110       label: 'Submit button text'
111     auto_select:
112       type: boolean
113       label: 'Automatically submit selection'
114     view:
115       type: string
116       label: 'View ID'
117     view_display:
118       type: string
119       label: 'View display ID'
120     arguments:
121       type: sequence
122       sequence:
123         type: integer
124         label: 'View display arguments'
125
126 entity_browser.browser.selection_display.multi_step_display:
127   type: mapping
128   label: 'Multistep display configuration'
129   mapping:
130     entity_type:
131       type: string
132       label: 'Entity type'
133     display:
134       type: string
135       label: 'Display'
136     display_settings:
137       type: entity_browser.field_widget_display.[%parent.display]
138     select_text:
139       type: string
140       label: 'Select text'
141     selection_hidden:
142       type: boolean
143       label: 'Selection hidden by default'
144
145 entity_browser.browser.selection_display.view:
146   type: mapping
147   label: 'View display configuration'
148   mapping:
149     view:
150       type: string
151       label: 'View ID'
152     view_display:
153       type: string
154       label: 'View display ID'
155
156 field.widget.settings.entity_browser_entity_reference:
157   type: mapping
158   label: 'Entity browser entity reference widget'
159   mapping:
160     entity_browser:
161       type: string
162       label: 'Entity Browser'
163     field_widget_display:
164       type: string
165       label: 'Field widget display'
166     field_widget_edit:
167       type: boolean
168       label: 'Field widget edit'
169     field_widget_remove:
170       type: boolean
171       label: 'Field widget remove'
172     field_widget_replace:
173       type: boolean
174       label: 'Field widget replace'
175     open:
176       type: boolean
177       label: 'Open'
178     field_widget_display_settings:
179       type: entity_browser.field_widget_display.[%parent.field_widget_display]
180     selection_mode:
181       type: string
182       label: 'Selection mode'
183
184 entity_browser.field_widget_display.label:
185   type: mapping
186   label: 'Entity label display config'
187
188 entity_browser.field_widget_display.thumbnail:
189   type: mapping
190   label: 'Image thumbnail display config'
191   mapping:
192     image_style:
193       type: string
194       label: 'Image style'
195
196 entity_browser.field_widget_display.rendered_entity:
197   type: mapping
198   label: 'Rendered entity display config'
199   mapping:
200     view_mode:
201       type: string
202       label: 'View mode'
203
204 field.widget.settings.entity_browser_file:
205   type: mapping
206   label: 'Entity browser file widget'
207   mapping:
208     entity_browser:
209       type: string
210       label: 'Entity Browser'
211     field_widget_edit:
212       type: boolean
213       label: 'Field widget edit'
214     field_widget_remove:
215       type: boolean
216       label: 'Field widget remove'
217     field_widget_replace:
218       type: boolean
219       label: 'Field widget replace'
220     open:
221       type: boolean
222       label: 'Open'
223     selection_mode:
224       type: string
225       label: 'Selection mode'
226     view_mode:
227       type: string
228       label: 'View mode'
229     preview_image_style:
230       type: string
231       label: 'Preview image style'
232
233 views.display.entity_browser:
234   type: views_display
235   label: 'Entity browser display options'