You are here

extlink.schema.yml in External Links 8

config/schema/extlink.schema.yml

File

config/schema/extlink.schema.yml
View source
  1. # Schema for the configuration files of the exlink module.
  2. extlink.settings:
  3. type: config_object
  4. label: 'External Links Settings'
  5. mapping:
  6. extlink_use_external_js_file:
  7. type: boolean
  8. label: 'Load exclusions and inclusions externally'
  9. extlink_exclude_admin_routes:
  10. type: boolean
  11. label: 'Disable module on admin routes.'
  12. extlink_target:
  13. type: boolean
  14. label: 'Open external links in a new tab'
  15. extlink_target_no_override:
  16. type: boolean
  17. label: 'Do not override target="*" if set'
  18. extlink_nofollow:
  19. type: boolean
  20. label: 'Tag external links as "no follow"'
  21. extlink_noreferrer:
  22. type: boolean
  23. label: 'Tag external links as "noreferrer"'
  24. extlink_follow_no_override:
  25. type: boolean
  26. label: 'Do not override rel="follow" if set'
  27. extlink_subdomains:
  28. type: boolean
  29. label: 'Consider subdomains internal'
  30. extlink_alert:
  31. type: boolean
  32. label: 'Enable Pop-up warnings'
  33. extlink_alert_text:
  34. type: text
  35. label: 'Message to display when Pop-up warning is shown'
  36. extlink_exclude:
  37. type: string
  38. label: 'Exclude links matching the pattern'
  39. extlink_include:
  40. type: string
  41. label: 'Include links matching the pattern'
  42. extlink_class:
  43. type: string
  44. label: 'Add icon to external links'
  45. extlink_label:
  46. type: label
  47. label: 'Alternative text for external link icon'
  48. extlink_img_class:
  49. type: boolean
  50. label: 'Treat images wrapped in an anchor tag as external links'
  51. extlink_css_exclude:
  52. type: string
  53. label: 'Comma-separated list of CSS selectors to exclude'
  54. extlink_css_explicit:
  55. type: string
  56. label: 'Comma-separated list of CSS selectors to include'
  57. extlink_mailto_class:
  58. type: string
  59. label: 'Add icon to mailto links'
  60. extlink_mailto_label:
  61. type: label
  62. label: 'Alternative text for mailto icon'
  63. extlink_use_font_awesome:
  64. type: boolean
  65. label: 'Use Font Awesome icons instead of images.'
  66. extlink_font_awesome_classes:
  67. type: mapping
  68. label: 'Font Awesome icon classes'
  69. mapping:
  70. links:
  71. type: string
  72. label: 'External link classes'
  73. mailto:
  74. type: string
  75. label: 'Mailto link classes'
  76. extlink_icon_placement:
  77. type: string
  78. label: 'Add icon in front of any processed link.'
  79. whitelisted_domains:
  80. type: sequence
  81. label: 'Whitelisted domains'
  82. sequence:
  83. type: string
  84. label: 'Domain'