link.schema.yml

Same filename in other branches
  1. 9 core/modules/link/config/schema/link.schema.yml
  2. 8.9.x core/modules/link/config/schema/link.schema.yml
  3. 10 core/modules/link/config/schema/link.schema.yml
core/modules/link/config/schema/link.schema.yml

File

core/modules/link/config/schema/link.schema.yml

View source
  1. # Schema for the configuration files of the Link module.
  2. field.formatter.settings.link:
  3. type: mapping
  4. label: 'Link format settings'
  5. mapping:
  6. trim_length:
  7. type: integer
  8. label: 'Trim link text length'
  9. url_only:
  10. type: boolean
  11. label: 'URL only'
  12. url_plain:
  13. type: boolean
  14. label: 'Show URL as plain text'
  15. rel:
  16. type: string
  17. label: 'Add rel="nofollow" to links'
  18. target:
  19. type: string
  20. label: 'Open link in new window'
  21. field.formatter.settings.link_separate:
  22. type: field.formatter.settings.link
  23. label: 'Link format settings'
  24. field.widget.settings.link_default:
  25. type: mapping
  26. label: 'Link format settings'
  27. mapping:
  28. placeholder_url:
  29. type: string
  30. label: 'Placeholder for URL'
  31. placeholder_title:
  32. type: label
  33. label: 'Placeholder for link text'
  34. # This field type has no field storage settings, so no specific config schema type.
  35. # @see `type: field.storage_settings.*`
  36. field.field_settings.link:
  37. type: mapping
  38. label: 'Link settings'
  39. mapping:
  40. title:
  41. type: integer
  42. label: 'Allow link text'
  43. link_type:
  44. type: integer
  45. label: 'Allowed link type'
  46. field.value.link:
  47. type: mapping
  48. label: 'Default value'
  49. mapping:
  50. attributes:
  51. type: mapping
  52. label: 'Link attributes'
  53. mapping:
  54. title:
  55. type: label
  56. label: 'Link text'
  57. uri:
  58. type: string
  59. label: 'URL'
  60. title:
  61. type: label
  62. label: 'Link text'
  63. options:
  64. type: mapping
  65. label: 'Link options'
  66. mapping:
  67. query:
  68. type: sequence
  69. label: 'URL query key value pairs'
  70. sequence:
  71. type: string
  72. fragment:
  73. type: string
  74. label: 'URL fragment'
  75. absolute:
  76. type: boolean
  77. label: 'Whether to force the output to be an absolute link (beginning with http: or https:)'
  78. https:
  79. type: boolean
  80. label: 'Whether to force this URL to point to a secure location (beginning with https:)'
  81. attributes:
  82. type: sequence
  83. label: 'Link attributes'
  84. sequence:
  85. type: string

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.