views.view.test_search.yml

Same filename in other branches
  1. 9 core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml
  2. 8.9.x core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml
  3. 11.x core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml

File

core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - node
  6. - search
  7. - user
  8. id: test_search
  9. label: 'Search Test'
  10. module: views
  11. description: 'Test view for Search integration'
  12. tag: ''
  13. base_table: node_field_data
  14. base_field: nid
  15. display:
  16. default:
  17. display_plugin: default
  18. id: default
  19. display_title: Default
  20. position: 1
  21. display_options:
  22. access:
  23. type: perm
  24. options:
  25. perm: 'access content'
  26. cache:
  27. type: tag
  28. options: { }
  29. query:
  30. type: views_query
  31. options:
  32. disable_sql_rewrite: false
  33. distinct: false
  34. replica: false
  35. query_comment: ''
  36. query_tags: { }
  37. exposed_form:
  38. type: basic
  39. options:
  40. submit_button: Apply
  41. reset_button: false
  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: none
  49. options:
  50. items_per_page: 0
  51. offset: 0
  52. style:
  53. type: default
  54. options:
  55. grouping: { }
  56. row_class: ''
  57. default_row_class: true
  58. row:
  59. type: fields
  60. fields:
  61. title:
  62. id: title
  63. table: node_field_data
  64. field: title
  65. alter:
  66. alter_text: false
  67. make_link: false
  68. absolute: false
  69. trim: false
  70. word_boundary: false
  71. ellipsis: false
  72. strip_tags: false
  73. html: false
  74. hide_empty: false
  75. empty_zero: false
  76. relationship: none
  77. group_type: group
  78. admin_label: ''
  79. label: Title
  80. exclude: false
  81. element_type: ''
  82. element_class: ''
  83. element_label_type: ''
  84. element_label_class: ''
  85. element_label_colon: true
  86. element_wrapper_type: ''
  87. element_wrapper_class: ''
  88. element_default_classes: true
  89. empty: ''
  90. hide_alter_empty: true
  91. entity_type: node
  92. entity_field: title
  93. plugin_id: field
  94. type: string
  95. settings:
  96. link_to_entity: true
  97. filters:
  98. status:
  99. value: '1'
  100. table: node_field_data
  101. field: status
  102. id: status
  103. expose:
  104. operator: ''
  105. group: 1
  106. plugin_id: boolean
  107. entity_type: node
  108. entity_field: status
  109. sorts:
  110. score:
  111. id: score
  112. table: node_search_index
  113. field: score
  114. relationship: none
  115. group_type: group
  116. admin_label: ''
  117. order: DESC
  118. exposed: false
  119. expose:
  120. label: ''
  121. plugin_id: search_score
  122. title: ''
  123. header: { }
  124. footer: { }
  125. empty: { }
  126. relationships: { }
  127. arguments: { }
  128. page_1:
  129. display_plugin: page
  130. id: page_1
  131. display_title: 'Filter Page'
  132. position: 1
  133. display_options:
  134. display_description: ''
  135. filters:
  136. status:
  137. value: '1'
  138. table: node_field_data
  139. field: status
  140. id: status
  141. expose:
  142. operator: ''
  143. group: 1
  144. plugin_id: boolean
  145. entity_type: node
  146. entity_field: status
  147. keys:
  148. id: keys
  149. table: node_search_index
  150. field: keys
  151. relationship: none
  152. group_type: group
  153. admin_label: ''
  154. operator: optional
  155. value: pizza
  156. group: 1
  157. exposed: false
  158. expose:
  159. operator_id: ''
  160. label: ''
  161. description: ''
  162. use_operator: false
  163. operator: ''
  164. identifier: ''
  165. required: false
  166. remember: false
  167. multiple: false
  168. remember_roles:
  169. authenticated: authenticated
  170. is_grouped: false
  171. group_info:
  172. label: ''
  173. description: ''
  174. identifier: ''
  175. optional: true
  176. widget: select
  177. multiple: false
  178. remember: false
  179. default_group: All
  180. default_group_multiple: { }
  181. group_items: { }
  182. plugin_id: search_keywords
  183. defaults:
  184. filters: false
  185. filter_groups: false
  186. title: false
  187. filter_groups:
  188. operator: AND
  189. groups:
  190. 1: AND
  191. path: test-filter
  192. title: 'Filter Page'
  193. page_2:
  194. display_plugin: page
  195. id: page_2
  196. display_title: 'Arg Page'
  197. position: 1
  198. display_options:
  199. display_description: ''
  200. filters:
  201. status:
  202. value: '1'
  203. table: node_field_data
  204. field: status
  205. id: status
  206. expose:
  207. operator: ''
  208. group: 1
  209. plugin_id: boolean
  210. entity_type: node
  211. entity_field: status
  212. defaults:
  213. filters: false
  214. filter_groups: false
  215. arguments: false
  216. title: false
  217. filter_groups:
  218. operator: AND
  219. groups:
  220. 1: AND
  221. path: test-arg/%
  222. arguments:
  223. keys:
  224. id: keys
  225. table: node_search_index
  226. field: keys
  227. relationship: none
  228. group_type: group
  229. admin_label: ''
  230. default_action: 'not found'
  231. exception:
  232. value: all
  233. title_enable: false
  234. title: All
  235. title_enable: false
  236. title: ''
  237. default_argument_type: fixed
  238. default_argument_options:
  239. argument: ''
  240. summary_options:
  241. base_path: ''
  242. count: true
  243. items_per_page: 25
  244. separator: ''
  245. override: false
  246. inline: false
  247. summary:
  248. sort_order: asc
  249. number_of_records: 0
  250. format: unformatted_summary
  251. specify_validation: false
  252. validate:
  253. type: none
  254. fail: 'not found'
  255. validate_options: { }
  256. plugin_id: search
  257. title: 'Arg Page'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.