core.entity.schema.yml
8.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# Schema for Configuration files of the entity module.
core.entity_view_mode.*.*:
type: config_entity
label: 'Entity view mode settings'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'The human-readable name of the view mode'
targetEntityType:
type: string
label: 'Target entity type'
cache:
type: boolean
label: 'Cached'
core.entity_form_mode.*.*:
type: config_entity
label: 'Entity form mode settings'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
targetEntityType:
type: string
label: 'Target entity type'
cache:
type: boolean
label: 'Cache'
# Overview configuration information for view mode or form mode displays.
core.entity_view_display.*.*.*:
type: config_entity
label: 'Entity display'
mapping:
id:
type: string
label: 'ID'
targetEntityType:
type: string
label: 'Target entity type'
bundle:
type: string
label: 'Bundle'
mode:
type: string
label: 'View or form mode machine name'
content:
type: sequence
label: 'Field formatters'
sequence:
type: mapping
label: 'Field formatter'
mapping:
type:
type: string
label: 'Format type machine name'
weight:
type: integer
label: 'Weight'
label:
type: string
label: 'Label setting machine name'
settings:
type: field.formatter.settings.[%parent.type]
label: 'Settings'
third_party_settings:
type: sequence
label: 'Third party settings'
sequence:
type: field.formatter.third_party.[%key]
hidden:
type: sequence
label: 'Field display setting'
sequence:
type: boolean
label: 'Value'
# Overview configuration information for form mode displays.
core.entity_form_display.*.*.*:
type: config_entity
label: 'Entity form display'
mapping:
id:
type: string
label: 'ID'
targetEntityType:
type: string
label: 'Target entity type'
bundle:
type: string
label: 'Bundle'
mode:
type: string
label: 'View or form mode machine name'
status:
type: boolean
label: 'Enabled'
content:
type: sequence
label: 'Field widgets'
sequence:
type: mapping
label: 'Field widget'
mapping:
type:
type: string
label: 'Widget type machine name'
weight:
type: integer
label: 'Weight'
settings:
type: field.widget.settings.[%parent.type]
label: 'Settings'
third_party_settings:
type: sequence
label: 'Third party settings'
sequence:
type: field.widget.third_party.[%key]
hidden:
type: sequence
label: 'Hidden'
sequence:
type: boolean
label: 'Component'
# Default schema for entity display field with undefined type.
field.formatter.settings.*:
type: mapping
# Default schema for entity form display field with undefined type.
field.widget.settings.*:
type: mapping
field.widget.settings.string_textfield:
type: mapping
label: 'Text field display format settings'
mapping:
size:
type: integer
label: 'Size of textfield'
placeholder:
type: label
label: 'Placeholder'
field.widget.settings.string_textarea:
type: mapping
label: 'Textarea display format settings'
mapping:
rows:
type: integer
label: 'Rows'
placeholder:
type: label
label: 'Placeholder'
field.widget.settings.email_default:
type: mapping
label: 'Email field display format settings'
mapping:
placeholder:
type: label
label: 'Placeholder'
field.widget.settings.datetime_timestamp:
type: mapping
label: 'Datetime timestamp display format settings'
field.widget.settings.boolean_checkbox:
type: mapping
label: 'Boolean checkbox display format settings'
mapping:
display_label:
type: boolean
label: 'Display label'
field.widget.settings.hidden:
type: mapping
label: '- Hidden - format settings'
field.widget.settings.number:
type: mapping
label: 'Number default display format settings'
mapping:
placeholder:
type: label
label: 'Placeholder'
field.widget.settings.checkbox:
type: mapping
label: 'Single on/off checkbox format settings'
mapping:
display_label:
type: boolean
label: 'Use field label instead of the "On value" as label'
field.widget.settings.entity_reference_autocomplete_tags:
type: mapping
label: 'Entity reference autocomplete (Tags style) display format settings'
mapping:
match_operator:
type: string
label: 'Autocomplete matching'
size:
type: integer
label: 'Size of textfield'
placeholder:
type: label
label: 'Placeholder'
field.widget.settings.entity_reference_autocomplete:
type: mapping
label: 'Entity reference autocomplete display format settings'
mapping:
match_operator:
type: string
label: 'Autocomplete matching'
size:
type: integer
label: 'Size of textfield'
placeholder:
type: label
label: 'Placeholder'
field.formatter.settings.boolean:
type: mapping
mapping:
format:
type: string
label: 'Output format'
format_custom_false:
type: string
label: 'Custom output for FALSE'
format_custom_true:
type: string
label: 'Custom output for TRUE'
field.formatter.settings.boolean:
type: mapping
mapping:
format:
type: string
label: 'Output format'
format_custom_false:
type: string
label: 'Custom output for FALSE'
format_custom_true:
type: string
label: 'Custom output for TRUE'
field.formatter.settings.string:
type: mapping
mapping:
link_to_entity:
type: boolean
label: 'Link to the entity'
field.formatter.settings.language:
type: field.formatter.settings.string
mapping:
native_language:
type: boolean
label: 'Display in native language'
field.formatter.settings.number_decimal:
type: mapping
label: 'Number decimal display format settings'
mapping:
thousand_separator:
type: string
label: 'Thousand marker'
decimal_separator:
type: string
label: 'Decimal marker'
scale:
type: integer
label: 'Scale'
prefix_suffix:
type: boolean
label: 'Display prefix and suffix.'
field.formatter.settings.number_integer:
type: mapping
label: 'Number integer display format settings'
mapping:
thousand_separator:
type: string
label: 'Thousand marker'
prefix_suffix:
type: boolean
label: 'Display prefix and suffix.'
field.formatter.settings.number_unformatted:
type: mapping
label: 'Number unformatted display format settings'
field.formatter.settings.uri_link:
type: mapping
label: 'URI as link display format settings'
field.formatter.settings.timestamp:
type: mapping
label: 'Timestamp display format settings'
mapping:
date_format:
type: string
label: 'Date format'
custom_date_format:
type: string
label: 'Custom date format'
timezone:
type: string
label: 'Time zone'
field.formatter.settings.timestamp_ago:
type: mapping
label: 'Timestamp ago display format settings'
mapping:
future_format:
type: string
label: 'Future format'
past_format:
type: string
label: 'Past format'
granularity:
type: integer
label: 'Granularity'
field.formatter.settings.entity_reference_entity_view:
type: mapping
label: 'Entity reference rendered entity display format settings'
mapping:
view_mode:
type: string
label: 'View mode'
link:
type: boolean
label: 'Show links'
field.formatter.settings.entity_reference_entity_id:
type: mapping
label: 'Entity reference entity ID display format settings'
field.formatter.settings.entity_reference_label:
type: mapping
label: 'Entity reference label display format settings'
mapping:
link:
type: boolean
label: 'Link label to the referenced entity'