You are here

views.view.group_events.yml in Open Social 8.8

modules/social_features/social_group/config/install/views.view.group_events.yml

File

modules/social_features/social_group/config/install/views.view.group_events.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.group_content.teaser
  6. - group.content_type.closed_group-group_node-event
  7. - group.content_type.open_group-group_node-event
  8. - group.content_type.public_group-group_node-event
  9. - group.type.closed_group
  10. - group.type.open_group
  11. - group.type.public_group
  12. module:
  13. - datetime
  14. - group
  15. - node
  16. - social_event
  17. _core:
  18. default_config_hash: U1m7im0n_LIf-xAersIh9IgiJ-tRm2iZ9odxkEOxeBU
  19. id: group_events
  20. label: 'Group Events'
  21. module: views
  22. description: ''
  23. tag: ''
  24. base_table: group_content_field_data
  25. base_field: id
  26. display:
  27. default:
  28. display_plugin: default
  29. id: default
  30. display_title: Master
  31. position: 0
  32. display_options:
  33. access:
  34. type: group_permission
  35. options:
  36. group_permission: 'view group_node:event content'
  37. cache:
  38. type: tag
  39. options: { }
  40. query:
  41. type: views_query
  42. options:
  43. disable_sql_rewrite: false
  44. distinct: true
  45. replica: false
  46. query_comment: ''
  47. query_tags: { }
  48. exposed_form:
  49. type: basic
  50. options:
  51. submit_button: Apply
  52. reset_button: true
  53. reset_button_label: Reset
  54. exposed_sorts_label: 'Sort by'
  55. expose_sort_order: false
  56. sort_asc_label: Asc
  57. sort_desc_label: Desc
  58. pager:
  59. type: mini
  60. options:
  61. items_per_page: 10
  62. offset: 0
  63. id: 0
  64. total_pages: null
  65. expose:
  66. items_per_page: false
  67. items_per_page_label: 'Items per page'
  68. items_per_page_options: '5, 10, 25, 50'
  69. items_per_page_options_all: false
  70. items_per_page_options_all_label: '- All -'
  71. offset: false
  72. offset_label: Offset
  73. tags:
  74. previous: ‹‹
  75. next: ››
  76. style:
  77. type: default
  78. row:
  79. type: 'entity:group_content'
  80. options:
  81. relationship: none
  82. view_mode: teaser
  83. fields:
  84. label:
  85. table: group_content_field_data
  86. field: label
  87. id: label
  88. entity_type: null
  89. entity_field: label
  90. plugin_id: field
  91. relationship: none
  92. group_type: group
  93. admin_label: ''
  94. label: ''
  95. exclude: false
  96. alter:
  97. alter_text: false
  98. text: ''
  99. make_link: false
  100. path: ''
  101. absolute: false
  102. external: false
  103. replace_spaces: false
  104. path_case: none
  105. trim_whitespace: false
  106. alt: ''
  107. rel: ''
  108. link_class: ''
  109. prefix: ''
  110. suffix: ''
  111. target: ''
  112. nl2br: false
  113. max_length: 0
  114. word_boundary: true
  115. ellipsis: true
  116. more_link: false
  117. more_link_text: ''
  118. more_link_path: ''
  119. strip_tags: false
  120. trim: false
  121. preserve_tags: ''
  122. html: false
  123. element_type: ''
  124. element_class: ''
  125. element_label_type: ''
  126. element_label_class: ''
  127. element_label_colon: true
  128. element_wrapper_type: ''
  129. element_wrapper_class: ''
  130. element_default_classes: true
  131. empty: ''
  132. hide_empty: false
  133. empty_zero: false
  134. hide_alter_empty: true
  135. click_sort_column: value
  136. type: string
  137. settings: { }
  138. group_column: value
  139. group_columns: { }
  140. group_rows: true
  141. delta_limit: 0
  142. delta_offset: 0
  143. delta_reversed: false
  144. delta_first_last: false
  145. multi_type: separator
  146. separator: ', '
  147. field_api_classes: false
  148. filters:
  149. type:
  150. id: type
  151. table: group_content_field_data
  152. field: type
  153. value:
  154. open_group-group_node-event: open_group-group_node-event
  155. closed_group-group_node-event: closed_group-group_node-event
  156. public_group-group_node-event: public_group-group_node-event
  157. entity_type: group_content
  158. entity_field: type
  159. plugin_id: bundle
  160. expose:
  161. operator_limit_selection: false
  162. operator_list: { }
  163. field_event_date_value:
  164. id: field_event_date_value
  165. table: node__field_event_date
  166. field: field_event_date_value
  167. relationship: gc__node
  168. group_type: group
  169. admin_label: ''
  170. operator: '='
  171. value:
  172. min: ''
  173. max: ''
  174. value: ''
  175. type: date
  176. group: 1
  177. exposed: true
  178. expose:
  179. operator_id: field_event_date_value_op
  180. label: 'Start date (field_event_date)'
  181. description: null
  182. use_operator: false
  183. operator: field_event_date_value_op
  184. identifier: field_event_date_value
  185. required: false
  186. remember: false
  187. multiple: false
  188. remember_roles:
  189. authenticated: authenticated
  190. operator_limit_selection: false
  191. operator_list: { }
  192. is_grouped: true
  193. group_info:
  194. label: 'Event status'
  195. description: ''
  196. identifier: field_event_date_value
  197. optional: false
  198. widget: radios
  199. multiple: false
  200. remember: false
  201. default_group: '1'
  202. default_group_multiple: { }
  203. group_items:
  204. 1:
  205. title: 'Upcoming events'
  206. operator: '>='
  207. value:
  208. type: offset
  209. value: now
  210. min: ''
  211. max: ''
  212. 2:
  213. title: 'Events that have started or are finished'
  214. operator: '<'
  215. value:
  216. type: offset
  217. value: now
  218. min: ''
  219. max: ''
  220. plugin_id: datetime
  221. nid:
  222. id: nid
  223. table: node_access
  224. field: nid
  225. relationship: gc__node
  226. group_type: group
  227. admin_label: ''
  228. operator: '='
  229. value: ''
  230. group: 1
  231. exposed: false
  232. expose:
  233. operator_id: ''
  234. label: ''
  235. description: ''
  236. use_operator: false
  237. operator: ''
  238. identifier: ''
  239. required: false
  240. remember: false
  241. multiple: false
  242. remember_roles:
  243. authenticated: authenticated
  244. operator_limit_selection: false
  245. operator_list: { }
  246. is_grouped: false
  247. group_info:
  248. label: ''
  249. description: ''
  250. identifier: ''
  251. optional: true
  252. widget: select
  253. multiple: false
  254. remember: false
  255. default_group: All
  256. default_group_multiple: { }
  257. group_items: { }
  258. plugin_id: node_access
  259. sorts:
  260. event_passed_upcoming_sort:
  261. id: event_passed_upcoming_sort
  262. table: node
  263. field: event_passed_upcoming_sort
  264. relationship: gc__node
  265. group_type: group
  266. admin_label: ''
  267. order: ASC
  268. exposed: false
  269. expose:
  270. label: ''
  271. granularity: minute
  272. entity_type: node
  273. plugin_id: event_passed_upcoming_sort
  274. title: 'Group Events'
  275. header: { }
  276. footer: { }
  277. empty:
  278. area_text_custom:
  279. id: area_text_custom
  280. table: views
  281. field: area_text_custom
  282. relationship: none
  283. group_type: group
  284. admin_label: ''
  285. empty: true
  286. tokenize: false
  287. content: 'No events in this group'
  288. plugin_id: text_custom
  289. relationships:
  290. gc__node:
  291. id: gc__node
  292. table: group_content_field_data
  293. field: gc__node
  294. relationship: none
  295. group_type: group
  296. admin_label: 'Group content Content'
  297. required: false
  298. group_content_plugins:
  299. 'group_node:event': 'group_node:event'
  300. 'group_node:page': '0'
  301. 'group_node:topic': '0'
  302. entity_type: group_content
  303. plugin_id: group_content_to_entity
  304. arguments:
  305. gid:
  306. id: gid
  307. table: group_content_field_data
  308. field: gid
  309. relationship: none
  310. group_type: group
  311. admin_label: ''
  312. default_action: 'not found'
  313. exception:
  314. value: all
  315. title_enable: false
  316. title: All
  317. title_enable: false
  318. title: ''
  319. default_argument_type: fixed
  320. default_argument_options:
  321. argument: ''
  322. default_argument_skip_url: false
  323. summary_options:
  324. base_path: ''
  325. count: true
  326. items_per_page: 25
  327. override: false
  328. summary:
  329. sort_order: asc
  330. number_of_records: 0
  331. format: default_summary
  332. specify_validation: true
  333. validate:
  334. type: 'entity:group'
  335. fail: 'not found'
  336. validate_options:
  337. access: false
  338. bundles:
  339. closed_group: closed_group
  340. open_group: open_group
  341. public_group: public_group
  342. multiple: 0
  343. operation: view
  344. break_phrase: false
  345. not: false
  346. entity_type: group_content
  347. entity_field: gid
  348. plugin_id: numeric
  349. display_extenders: { }
  350. cache_metadata:
  351. max-age: -1
  352. contexts:
  353. - 'languages:language_content'
  354. - 'languages:language_interface'
  355. - route.group
  356. - url
  357. - url.query_args
  358. - user.group_permissions
  359. - 'user.node_grants:view'
  360. tags: { }
  361. page_group_events:
  362. display_plugin: page
  363. id: page_group_events
  364. display_title: Page
  365. position: 1
  366. display_options:
  367. display_extenders: { }
  368. path: group/%group/events
  369. exposed_block: true
  370. cache_metadata:
  371. max-age: -1
  372. contexts:
  373. - 'languages:language_content'
  374. - 'languages:language_interface'
  375. - route.group
  376. - url
  377. - url.query_args
  378. - user.group_permissions
  379. - 'user.node_grants:view'
  380. tags: { }