You are here

views.view.search_content.yml in Open Social 8.4

modules/social_features/social_search/config/install/views.view.search_content.yml

File

modules/social_features/social_search/config/install/views.view.search_content.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - search_api.index.social_content
  6. module:
  7. - search_api
  8. - user
  9. id: search_content
  10. label: 'Search Content'
  11. module: views
  12. description: ''
  13. tag: ''
  14. base_table: search_api_index_social_content
  15. base_field: search_api_id
  16. core: 8.x
  17. display:
  18. default:
  19. display_plugin: default
  20. id: default
  21. display_title: Master
  22. position: 0
  23. display_options:
  24. access:
  25. type: perm
  26. options:
  27. perm: 'access content search'
  28. cache:
  29. type: none
  30. options: { }
  31. query:
  32. type: views_query
  33. options:
  34. bypass_access: false
  35. skip_access: false
  36. parse_mode: terms
  37. exposed_form:
  38. type: basic
  39. options:
  40. submit_button: Filter
  41. reset_button: true
  42. reset_button_label: Reset
  43. exposed_sorts_label: 'Sort by'
  44. expose_sort_order: true
  45. sort_asc_label: Asc
  46. sort_desc_label: Desc
  47. pager:
  48. type: full
  49. options:
  50. items_per_page: 10
  51. offset: 0
  52. id: 0
  53. total_pages: null
  54. expose:
  55. items_per_page: false
  56. items_per_page_label: 'Items per page'
  57. items_per_page_options: '5, 10, 25, 50'
  58. items_per_page_options_all: false
  59. items_per_page_options_all_label: '- All -'
  60. offset: false
  61. offset_label: Offset
  62. tags:
  63. previous: '‹ Previous'
  64. next: 'Next ›'
  65. first: '« First'
  66. last: 'Last »'
  67. quantity: 9
  68. style:
  69. type: default
  70. row:
  71. type: search_api
  72. options:
  73. view_modes:
  74. 'entity:node':
  75. book: teaser
  76. event: teaser
  77. page: teaser
  78. topic: teaser
  79. fields:
  80. search_api_language:
  81. table: search_api_index_social_content
  82. field: search_api_language
  83. id: search_api_language
  84. entity_type: null
  85. entity_field: null
  86. plugin_id: search_api
  87. relationship: none
  88. group_type: group
  89. admin_label: ''
  90. label: ''
  91. exclude: false
  92. alter:
  93. alter_text: false
  94. text: ''
  95. make_link: false
  96. path: ''
  97. absolute: false
  98. external: false
  99. replace_spaces: false
  100. path_case: none
  101. trim_whitespace: false
  102. alt: ''
  103. rel: ''
  104. link_class: ''
  105. prefix: ''
  106. suffix: ''
  107. target: ''
  108. nl2br: false
  109. max_length: 0
  110. word_boundary: true
  111. ellipsis: true
  112. more_link: false
  113. more_link_text: ''
  114. more_link_path: ''
  115. strip_tags: false
  116. trim: false
  117. preserve_tags: ''
  118. html: false
  119. element_type: ''
  120. element_class: ''
  121. element_label_type: ''
  122. element_label_class: ''
  123. element_label_colon: true
  124. element_wrapper_type: ''
  125. element_wrapper_class: ''
  126. element_default_classes: true
  127. empty: ''
  128. hide_empty: false
  129. empty_zero: false
  130. hide_alter_empty: true
  131. link_to_item: false
  132. multi_type: separator
  133. multi_separator: ', '
  134. filters:
  135. type:
  136. id: type
  137. table: search_api_index_social_content
  138. field: type
  139. relationship: none
  140. group_type: group
  141. admin_label: ''
  142. operator: or
  143. value: { }
  144. group: 1
  145. exposed: true
  146. expose:
  147. operator_id: type_op
  148. label: 'Content type'
  149. description: ''
  150. use_operator: false
  151. operator: type_op
  152. identifier: type
  153. required: false
  154. remember: false
  155. multiple: false
  156. remember_roles:
  157. authenticated: authenticated
  158. anonymous: '0'
  159. administrator: '0'
  160. reduce: false
  161. is_grouped: false
  162. group_info:
  163. label: ''
  164. description: ''
  165. identifier: ''
  166. optional: true
  167. widget: select
  168. multiple: false
  169. remember: false
  170. default_group: All
  171. default_group_multiple: { }
  172. group_items: { }
  173. reduce_duplicates: false
  174. plugin_id: search_api_options
  175. sorts:
  176. search_api_relevance:
  177. id: search_api_relevance
  178. table: search_api_index_social_content
  179. field: search_api_relevance
  180. relationship: none
  181. group_type: group
  182. admin_label: ''
  183. order: DESC
  184. exposed: false
  185. expose:
  186. label: ''
  187. plugin_id: search_api
  188. title: 'Search content'
  189. header:
  190. area:
  191. id: area
  192. table: views
  193. field: area
  194. relationship: none
  195. group_type: group
  196. admin_label: ''
  197. empty: true
  198. tokenize: false
  199. content:
  200. value: '<h4>Content results</h4>'
  201. format: basic_html
  202. plugin_id: text
  203. footer: { }
  204. empty:
  205. area:
  206. id: area
  207. table: views
  208. field: area
  209. relationship: none
  210. group_type: group
  211. admin_label: ''
  212. empty: true
  213. tokenize: false
  214. content:
  215. value: 'No results found.'
  216. format: basic_html
  217. plugin_id: text
  218. relationships: { }
  219. arguments:
  220. search_api_fulltext:
  221. id: search_api_fulltext
  222. table: search_api_index_social_content
  223. field: search_api_fulltext
  224. relationship: none
  225. group_type: group
  226. admin_label: ''
  227. default_action: ignore
  228. exception:
  229. value: all
  230. title_enable: false
  231. title: All
  232. title_enable: false
  233. title: ''
  234. default_argument_type: fixed
  235. default_argument_options:
  236. argument: all
  237. default_argument_skip_url: false
  238. summary_options: null
  239. summary:
  240. sort_order: asc
  241. number_of_records: 0
  242. format: default_summary
  243. specify_validation: false
  244. validate:
  245. type: none
  246. fail: 'not found'
  247. validate_options: { }
  248. break_phrase: false
  249. not: false
  250. fields: { }
  251. conjunction: AND
  252. plugin_id: search_api_fulltext
  253. display_extenders: { }
  254. use_ajax: false
  255. filter_groups:
  256. operator: AND
  257. groups: { }
  258. cache_metadata:
  259. max-age: -1
  260. contexts:
  261. - 'languages:language_interface'
  262. - url
  263. - url.query_args
  264. - user.permissions
  265. tags: { }
  266. page:
  267. display_plugin: page
  268. id: page
  269. display_title: Page
  270. position: 1
  271. display_options:
  272. display_extenders: { }
  273. path: search/content/%keys
  274. exposed_block: true
  275. header:
  276. area:
  277. id: area
  278. table: views
  279. field: area
  280. relationship: none
  281. group_type: group
  282. admin_label: ''
  283. empty: true
  284. tokenize: true
  285. content:
  286. value: '<h4>Content results</h4>'
  287. format: full_html
  288. plugin_id: text
  289. defaults:
  290. header: false
  291. cache_metadata:
  292. max-age: -1
  293. contexts:
  294. - 'languages:language_interface'
  295. - url
  296. - url.query_args
  297. - user.permissions
  298. tags: { }
  299. page_no_value:
  300. display_plugin: page
  301. id: page_no_value
  302. display_title: 'Page (no value)'
  303. position: 1
  304. display_options:
  305. display_extenders: { }
  306. path: search/content
  307. exposed_block: true
  308. menu:
  309. type: tab
  310. title: Content
  311. description: ''
  312. expanded: false
  313. parent: ''
  314. weight: 0
  315. context: '0'
  316. menu_name: main
  317. tab_options:
  318. type: none
  319. title: ''
  320. description: ''
  321. weight: 0
  322. cache_metadata:
  323. max-age: -1
  324. contexts:
  325. - 'languages:language_interface'
  326. - url
  327. - url.query_args
  328. - user.permissions
  329. tags: { }