Skip to content
link.schema.yml 1.42 KiB
Newer Older
# Schema for the configuration files of the Link module.

entity_display.field.link:
  type: entity_field_display_base
  label: 'Link format settings'
  mapping:
    settings:
      type: mapping
      label: 'Settings'
      mapping:
        trim_length:
          type: integer
          label: 'Trim link text length'
        url_only:
          type: boolean
          label: 'URL only'
        url_plain:
          type: boolean
          label: 'Show URL as plain text'
        rel:
          type: string
          label: 'Add rel="nofollow" to links'
        target:
          type: string
          label: 'Open link in new window'

entity_display.field.link_separate:
  type: entity_field_display_base
  label: 'Link format settings'
  mapping:
    settings:
      type: mapping
      label: 'Settings'
      mapping:
        trim_length:
          type: integer
          label: 'Trim link text length'
        rel:
          type: string
          label: 'Add rel="nofollow" to links'
        target:
          type: string
          label: 'Open link in new window'

entity_form_display.field.link_default:
  type: entity_field_form_display_base
  label: 'Link format settings'
  mapping:
    settings:
      type: mapping
      label: 'Settings'
      mapping:
        placeholder_url:
          type: string
          label: 'Placeholder for URL'
        placeholder_title:
          type: label
          label: 'Placeholder for link text'