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

104 lines
2.1 KiB
YAML
Raw Normal View History

# Schema for configuration files of the Field module.
field.settings:
type: mapping
label: 'Field settings'
mapping:
language_fallback:
type: boolean
label: 'Whether the field display falls back to global language fallback configuration'
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'
entity_type:
type: string
label: 'Entity type'
type:
type: string
label: 'Type'
settings:
type: field.[%parent.type].settings
module:
type: string
label: 'Module'
active:
type: boolean
label: 'Active'
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'
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 funtion'
settings:
type: field.[%parent.field_type].instance_settings
field_type:
type: string
label: 'Field type'