You are here

views.view.group_events.yml in Open Social 8.3

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