forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
54 lines
1.0 KiB
Twig
54 lines
1.0 KiB
Twig
{% if storage_settings %}
|
|
# Field storage.
|
|
field.storage_settings.{{ field_id }}:
|
|
type: mapping
|
|
label: Example storage settings
|
|
mapping:
|
|
foo:
|
|
type: string
|
|
label: Foo
|
|
{% endif %}
|
|
{% if instance_settings %}
|
|
|
|
# Field instance.
|
|
field.field_settings.{{ field_id }}:
|
|
type: mapping
|
|
label: Example field settings
|
|
mapping:
|
|
bar:
|
|
type: string
|
|
label: Bar
|
|
{% endif %}
|
|
|
|
# Default value.
|
|
field.value.{{ field_id }}:
|
|
type: mapping
|
|
label: Default value
|
|
mapping:
|
|
{% for subfield in subfields %}
|
|
{{ subfield.machine_name }}:
|
|
type: {{ subfield.type }}
|
|
label: {{ subfield.name }}
|
|
{% endfor %}
|
|
{% if widget_settings %}
|
|
|
|
# Field widget.
|
|
field.widget.settings.{{ field_id }}:
|
|
type: mapping
|
|
label: Example widget settings
|
|
mapping:
|
|
foo:
|
|
type: string
|
|
label: Foo
|
|
{% endif %}
|
|
{% if formatter_settings %}
|
|
|
|
# Field formatter.
|
|
field.formatter.settings.{{ field_id }}_default:
|
|
type: mapping
|
|
label: Example formatter settings
|
|
mapping:
|
|
foo:
|
|
type: string
|
|
label: Foo
|
|
{% endif %} |