link.schema.yml

Same filename in other branches
  1. 9 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. title:
  52. type: label
  53. label: 'Link text'
  54. url:
  55. type: string
  56. label: 'URL'
  57. options:
  58. type: mapping
  59. label: 'Link options'
  60. mapping:
  61. query:
  62. type: sequence
  63. label: 'URL query key value pairs'
  64. sequence:
  65. type: string
  66. fragment:
  67. type: string
  68. label: 'URL fragment'
  69. absolute:
  70. type: boolean
  71. label: 'Whether to force the output to be an absolute link (beginning with http: or https:)'
  72. https:
  73. type: boolean
  74. label: 'Whether to force this URL to point to a secure location (beginning with https:)'
  75. attributes:
  76. type: sequence
  77. label: 'Link attributes'
  78. sequence:
  79. type: string

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