drupal/core/modules/field/config/schema/field.schema.yml

118 lines
2.3 KiB
YAML
Raw Normal View History

# Schema for configuration files of the Field module.
field.settings:
type: mapping
label: 'Field settings'
mapping:
purge_batch_size:
type: integer
label: 'Maximum number of field data records to purge'
field.field.*.*:
type: mapping
label: 'Field'
mapping:
id:
type: string
label: 'Machine name'
uuid:
type: string
label: 'UUID'
status:
type: boolean
label: 'Status'
langcode:
type: string
label: 'Default language'
name:
type: string
label: 'Name'
entity_type:
type: string
label: 'Entity type'
type:
type: string
label: 'Type'
settings:
type: field.[%parent.type].settings
module:
type: string
label: 'Module'
locked:
type: boolean
label: 'Locked'
cardinality:
type: integer
label: 'Maximum number of values users can enter'
translatable:
type: boolean
label: 'Translatable'
indexes:
type: sequence
label: 'Indexes'
sequence:
- type: sequence
label: 'Indexes'
sequence:
- type: string
label: 'Column'
field.instance.*.*.*:
type: mapping
label: 'Field instance'
mapping:
id:
type: string
label: 'ID'
uuid:
type: string
label: 'UUID'
status:
type: boolean
label: 'Status'
langcode:
type: string
label: 'Default language'
field_uuid:
type: string
label: 'Field UUID'
field_name:
type: string
label: 'Field name'
entity_type:
type: string
label: 'Entity type'
bundle:
type: string
label: 'Bundle'
label:
type: label
label: 'Label'
description:
type: text
label: 'Help text'
required:
type: boolean
label: 'Required field'
default_value:
type: field.[%parent.field_type].value
default_value_function:
type: string
label: 'Default value function'
settings:
type: field.[%parent.field_type].instance_settings
field_type:
type: string
label: 'Field type'
entity_form_display.field.hidden:
type: entity_field_form_display_base
label: '- Hidden - format settings'
mapping:
settings:
type: sequence
label: 'Settings'
sequence:
- type: string