toolshed-8.x-1.x-dev/modules/toolshed_media/config/schema/toolshed_media.field.schema.yml
modules/toolshed_media/config/schema/toolshed_media.field.schema.yml
# For image media fields.
field.formatter.settings.toolshed_image_style:
type: mapping
mapping:
link_to:
type: string
label: Link to (file or content)
image_style:
type: string
label: Image style to render
image_loading:
type: mapping
mapping:
attribute:
type: string
label: Image loading
decorative:
type: boolean
label: Is image display decorative
fallback_display:
type: string
label: Fallback view mode
# For image fields.
field.formatter.settings.toolshed_image_styler:
type: mapping
mapping:
link_to:
type: string
label: Link to (file or content)
image_style:
type: string
label: Image style to render
image_loading:
type: mapping
mapping:
attribute:
type: string
label: Image loading
decorative:
type: boolean
label: Is image display decorative
field.formatter.settings.toolshed_file_info:
type: mapping
mapping:
link_to:
type: string
label: Link to (file or content)
link_title_display:
type: string
label: Link text display
link_text:
type: label
label: Display text
info_shown:
type: mapping
mapping:
mime:
type: string
label: Show file mime
size:
type: string
label: show file size
