link.schema.yml

Same filename in other branches
  1. 8.9.x core/modules/link/config/schema/link.schema.yml
  2. 10 core/modules/link/config/schema/link.schema.yml
  3. 11.x 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. field.storage_settings.link:
  35. type: mapping
  36. label: 'Link settings'
  37. field.field_settings.link:
  38. type: mapping
  39. label: 'Link settings'
  40. mapping:
  41. title:
  42. type: integer
  43. label: 'Allow link text'
  44. link_type:
  45. type: integer
  46. label: 'Allowed link type'
  47. field.value.link:
  48. type: mapping
  49. label: 'Default value'
  50. mapping:
  51. attributes:
  52. type: mapping
  53. label: 'Link attributes'
  54. mapping:
  55. title:
  56. type: label
  57. label: 'Link text'
  58. uri:
  59. type: string
  60. label: 'URL'
  61. title:
  62. type: label
  63. label: 'Link text'
  64. options:
  65. type: mapping
  66. label: 'Link options'
  67. mapping:
  68. query:
  69. type: sequence
  70. label: 'URL query key value pairs'
  71. sequence:
  72. type: string
  73. fragment:
  74. type: string
  75. label: 'URL fragment'
  76. absolute:
  77. type: boolean
  78. label: 'Whether to force the output to be an absolute link (beginning with http: or https:)'
  79. https:
  80. type: boolean
  81. label: 'Whether to force this URL to point to a secure location (beginning with https:)'
  82. attributes:
  83. type: sequence
  84. label: 'Link attributes'
  85. sequence:
  86. type: string

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