Version 1
[yaffs-website] / web / core / modules / field / config / schema / field.schema.yml
1 # Schema for configuration files of the Field module.
2
3 field.settings:
4   type: config_object
5   label: 'Field settings'
6   mapping:
7     purge_batch_size:
8       type: integer
9       label: 'Maximum number of field data records to purge'
10
11 field.storage.*.*:
12   type: config_entity
13   label: 'Field'
14   mapping:
15     id:
16       type: string
17       label: 'ID'
18     field_name:
19       type: string
20       label: 'Field name'
21     entity_type:
22       type: string
23       label: 'Entity type'
24     type:
25       type: string
26       label: 'Type'
27     settings:
28       type: field.storage_settings.[%parent.type]
29     module:
30       type: string
31       label: 'Module'
32     locked:
33       type: boolean
34       label: 'Locked'
35     cardinality:
36       type: integer
37       label: 'Maximum number of values users can enter'
38     translatable:
39       type: boolean
40       label: 'Translatable'
41     indexes:
42       type: sequence
43       label: 'Indexes'
44       sequence:
45         type: sequence
46         label: 'Indexes'
47         sequence:
48           type: ignore
49           label: 'Index'
50     persist_with_no_fields:
51       type: boolean
52       label: 'Persist field storage with no fields'
53     custom_storage:
54       type: boolean
55       label: 'Enable custom storage'
56
57 field.field.*.*.*:
58   type: field_config_base
59   label: 'Field'