You are here

custom_search.schema.yml in Custom Search 8

config/schema/custom_search.schema.yml

File

config/schema/custom_search.schema.yml
View source
  1. # Custom Search Block Settings Schema
  2. block.settings.custom_search:
  3. type: block_settings
  4. label: 'Custom Search Block'
  5. mapping:
  6. search_box:
  7. type: mapping
  8. label: Search box
  9. mapping:
  10. label_visibility:
  11. type: boolean
  12. label: 'Display label'
  13. label:
  14. type: label
  15. label: Label
  16. placeholder:
  17. type: label
  18. label: Placeholder
  19. title:
  20. type: label
  21. label: 'Hint text'
  22. size:
  23. type: integer
  24. label: Size
  25. max_length:
  26. type: integer
  27. label: 'Maximum length'
  28. weight:
  29. type: integer
  30. label: Weight
  31. region:
  32. type: string
  33. label: Region
  34. submit:
  35. type: mapping
  36. label: 'Submit button'
  37. mapping:
  38. text:
  39. type: label
  40. label: Text
  41. image_path:
  42. type: label
  43. label: 'Image path'
  44. weight:
  45. type: integer
  46. label: Weight
  47. region:
  48. type: string
  49. label: Region
  50. content:
  51. type: mapping
  52. label: Content
  53. mapping:
  54. page:
  55. type: string
  56. label: 'Search page'
  57. types:
  58. type: sequence
  59. label: 'Content types'
  60. sequence:
  61. type: string
  62. other:
  63. type: sequence
  64. label: 'Other search pages'
  65. sequence:
  66. type: string
  67. selector:
  68. type: mapping
  69. label: 'Selector'
  70. mapping:
  71. type:
  72. type: string
  73. label: 'Selector type'
  74. label_visibility:
  75. type: boolean
  76. label: 'Display label'
  77. label:
  78. type: label
  79. label: 'Label text'
  80. any:
  81. type: mapping
  82. label: '- Any -'
  83. mapping:
  84. text:
  85. type: label
  86. label: '- Any content type - text'
  87. restricts:
  88. type: boolean
  89. label: 'Choosing - Any - restricts the search to the selected content types.'
  90. force:
  91. type: boolean
  92. label: 'Force - Any - to be displayed.'
  93. excluded:
  94. type: sequence
  95. label: 'Content exclusion'
  96. sequence:
  97. type: string
  98. weight:
  99. type: integer
  100. label: Weight
  101. region:
  102. type: string
  103. label: Region
  104. taxonomy:
  105. type: sequence
  106. label: 'Taxonomy'
  107. sequence:
  108. type: mapping
  109. mapping:
  110. type:
  111. type: string
  112. label: 'Selector type'
  113. depth:
  114. type: integer
  115. label: 'Depth'
  116. label_visibility:
  117. type: boolean
  118. label: 'Display label'
  119. label:
  120. type: label
  121. label: 'Label text'
  122. all_text:
  123. type: label
  124. label: '-Any- text'
  125. weight:
  126. type: integer
  127. label: Weight
  128. region:
  129. type: string
  130. label: Region
  131. criteria:
  132. type: mapping
  133. label: 'Criteria'
  134. mapping:
  135. or:
  136. type: mapping
  137. label: Or
  138. mapping:
  139. display:
  140. type: boolean
  141. label: Display
  142. label:
  143. type: label
  144. label: Label
  145. weight:
  146. type: integer
  147. label: Weight
  148. region:
  149. type: string
  150. label: Region
  151. phrase:
  152. type: mapping
  153. label: Phrase
  154. mapping:
  155. display:
  156. type: boolean
  157. label: Display
  158. label:
  159. type: label
  160. label: Label
  161. weight:
  162. type: integer
  163. label: Weight
  164. region:
  165. type: string
  166. label: Region
  167. negative:
  168. type: mapping
  169. label: Negative
  170. mapping:
  171. display:
  172. type: boolean
  173. label: Display
  174. label:
  175. type: label
  176. label: Label
  177. weight:
  178. type: integer
  179. label: Weight
  180. region:
  181. type: string
  182. label: Region
  183. searchapi:
  184. type: mapping
  185. label: 'Search API'
  186. mapping:
  187. page:
  188. type: string
  189. label: 'Search API Page to use'
  190. languages:
  191. type: mapping
  192. label: Languages
  193. mapping:
  194. languages:
  195. type: sequence
  196. label: Languages
  197. sequence:
  198. type: string
  199. selector:
  200. type: mapping
  201. mapping:
  202. type:
  203. type: string
  204. label: 'Selector type'
  205. label_visibility:
  206. type: boolean
  207. label: 'Display label'
  208. label:
  209. type: label
  210. label: 'Label text'
  211. any:
  212. type: mapping
  213. label: '- Any -'
  214. mapping:
  215. text:
  216. type: label
  217. label: '- Any language - text'
  218. restricts:
  219. type: boolean
  220. label: 'Choosing - Any - restricts the search to the selected languages.'
  221. force:
  222. type: boolean
  223. label: 'Force - Any - to be displayed.'
  224. weight:
  225. type: integer
  226. label: Weight
  227. region:
  228. type: string
  229. label: Region
  230. paths:
  231. type: mapping
  232. label: Paths
  233. mapping:
  234. selector:
  235. type: mapping
  236. mapping:
  237. type:
  238. type: string
  239. label: 'Selector type'
  240. label_visibility:
  241. type: boolean
  242. label: 'Display label'
  243. label:
  244. type: label
  245. label: 'Label text'
  246. list:
  247. type: text
  248. label: Paths
  249. separator:
  250. type: string
  251. label: 'Arguments separator'
  252. weight:
  253. type: integer
  254. label: Weight
  255. region:
  256. type: string
  257. label: Region