You are here

quicklink.schema.yml in Quicklink 2.0.x

Same filename and directory in other branches
  1. 8 config/schema/quicklink.schema.yml
config/schema/quicklink.schema.yml

File

config/schema/quicklink.schema.yml
View source
  1. # Schema for the configuration files of the Quicklink module.
  2. quicklink.settings:
  3. type: config_entity
  4. label: 'Quicklink Configuration'
  5. mapping:
  6. # Prefetch Ignore Settings tab
  7. ignore_admin_paths:
  8. type: boolean
  9. label: 'Do not prefetch admin paths'
  10. ignore_ajax_links:
  11. type: boolean
  12. label: 'Do not prefetch AJAX links'
  13. ignore_hashes:
  14. type: boolean
  15. label: 'Ignore paths with hashes (#) in them'
  16. ignore_file_ext:
  17. type: boolean
  18. label: 'Ignore paths with file extensions'
  19. url_patterns_to_ignore:
  20. type: string
  21. label: 'URL patterns to ignore'
  22. ignore_selectors:
  23. type: string
  24. label: 'Ignore these selectors'
  25. # Optional Overrides tab
  26. selector:
  27. type: string
  28. label: 'Override parent selector'
  29. allowed_domains:
  30. type: string
  31. label: 'Override allowed domains'
  32. prefetch_only_paths:
  33. type: string
  34. label: 'Prefetch these paths only'
  35. # When to Load Library tab
  36. no_load_when_authenticated:
  37. type: boolean
  38. label: 'Prefetch for anonymous users only'
  39. no_load_when_session:
  40. type: boolean
  41. label: 'Do not prefetch during sessions'
  42. no_load_content_types:
  43. type: sequence
  44. label: 'Do not load library on these content types'
  45. sequence:
  46. type: string
  47. # Throttle Options tab
  48. total_request_limit:
  49. type: integer
  50. label: 'Total request limit'
  51. concurrency_throttle_limit:
  52. type: integer
  53. label: 'Concurrency throttle limit'
  54. viewport_delay:
  55. type: integer
  56. label: 'Viewport delay'
  57. idle_wait_timeout:
  58. type: integer
  59. label: 'Idle wait timeout'
  60. # Extended Browser Support tab
  61. load_polyfill:
  62. type: boolean
  63. label: 'Load Intersection Observer polyfill'
  64. # Debug tab
  65. enable_debug_mode:
  66. type: boolean
  67. label: 'Enable debug mode'