public
Last active

  • Download Gist
sequence.parent.yml
YAML
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
# Working
field.instance.*.*.*:
type: mapping
label: 'Field instance settings'
mapping:
default_value:
type: field_instance.[%parent.widget.type].default
 
 
field_instance.text_textarea_with_summary.default:
type: sequence
label: 'Defaule value'
sequence:
- type: mapping
label: 'Default'
mapping:
summary:
type: string
label: 'Summary'
value:
type: text
label: 'Body'
format:
type: string
label: 'Text format'
 
# Not Working schema
field.instance.*.*.*:
type: mapping
label: 'Field instance settings'
mapping:
default_value:
type: sequence
label: 'Default values'
sequence:
- type: field_instance.[%parent.%parent.widget.type].default
label: 'Default value'
 
field_instance.text_textarea_with_summary.default:
type: mapping
label: 'Default value'
mapping:
summary:
type: string
label: 'Summary'
value:
type: text
label: 'Body'
format:
type: string
label: 'Text format'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.