You are here

sitemap.schema.yml in Sitemap 2.0.x

config/schema/sitemap.schema.yml

File

config/schema/sitemap.schema.yml
View source
  1. # Schema for the configuration file of the Sitemap module.
  2. sitemap.settings:
  3. langcode: 'en'
  4. type: config_object
  5. label: 'Sitemap settings'
  6. mapping:
  7. page_title:
  8. type: string
  9. label: 'Page title'
  10. translatable: true
  11. message:
  12. type: mapping
  13. label: 'Message'
  14. mapping:
  15. format:
  16. type: string
  17. label: 'Sitemap message format'
  18. translatable: true
  19. value:
  20. type: string
  21. label: 'Sitemap message string'
  22. plugins:
  23. type: sequence
  24. label: 'Plugins'
  25. nullable: true
  26. sequence:
  27. type: sitemap.settings.plugins.[%key]
  28. plugin_settings__active_tab:
  29. type: string
  30. label: 'Plugin settings active tab'
  31. include_css:
  32. type: boolean
  33. label: 'Include css file flag'
  34. submit:
  35. type: string
  36. label: 'Save configuration'
  37. form_build_id:
  38. type: string
  39. label: 'Form build ID'
  40. form_token:
  41. type: string
  42. label: 'Form token'
  43. form_id:
  44. type: string
  45. label: 'sitemap_settings'
  46. op:
  47. type: string
  48. label: 'Save configuration'
  49. # Schema for sitemap plugins.
  50. sitemap.settings.plugins.*:
  51. type: mapping
  52. label: 'Sitemap plugin'
  53. mapping:
  54. enabled:
  55. type: boolean
  56. label: 'Enabled'
  57. weight:
  58. type: integer
  59. label: 'Weight'
  60. settings:
  61. type: mapping
  62. label: 'Settings'
  63. mapping:
  64. # Global plugin settings
  65. title:
  66. type: string
  67. label: 'Title'
  68. translatable: true
  69. # Book plugin settings
  70. show_expanded:
  71. type: boolean
  72. label: 'Show expanded'
  73. nullable: true
  74. # Menu plugin settings
  75. show_disabled:
  76. type: boolean
  77. label: 'Show disabled'
  78. nullable: true
  79. # Frontpage plugin settings
  80. rss:
  81. type: string
  82. label: "RSS"
  83. nullable: true
  84. # Vocabulary plugin settings
  85. show_description:
  86. type: boolean
  87. label: "Show description"
  88. nullable: true
  89. show_count:
  90. type: boolean
  91. label: 'Show count'
  92. nullable: true
  93. term_depth:
  94. type: integer
  95. label: 'Term depth'
  96. nullable: true
  97. term_count_threshold:
  98. type: integer
  99. label: 'Term count threshold'
  100. nullable: true
  101. customize_link:
  102. type: boolean
  103. label: 'Customize link'
  104. nullable: true
  105. term_link:
  106. type: string
  107. label: 'Term link'
  108. nullable: true
  109. always_link:
  110. type: boolean
  111. label: 'Always link'
  112. nullable: true
  113. enable_rss:
  114. type: boolean
  115. label: 'Enable RSS'
  116. nullable: true
  117. rss_link:
  118. type: string
  119. label: 'RSS link'
  120. nullable: true
  121. rss_depth:
  122. type: integer
  123. label: 'RSS depth'
  124. nullable: true