You are here

views.view.event_enrollments.yml in Open Social 8.7

modules/social_features/social_event/config/install/views.view.event_enrollments.yml

File

modules/social_features/social_event/config/install/views.view.event_enrollments.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.profile.compact
  6. - core.entity_view_mode.profile.teaser
  7. module:
  8. - node
  9. - options
  10. - profile
  11. - social_event
  12. - user
  13. id: event_enrollments
  14. label: Enrollments
  15. module: views
  16. description: ''
  17. tag: ''
  18. base_table: profile
  19. base_field: profile_id
  20. core: 8.x
  21. display:
  22. default:
  23. display_plugin: default
  24. id: default
  25. display_title: Master
  26. position: 0
  27. display_options:
  28. access:
  29. type: perm
  30. options:
  31. perm: 'access user profiles'
  32. cache:
  33. type: tag
  34. options: { }
  35. query:
  36. type: views_query
  37. options:
  38. disable_sql_rewrite: false
  39. distinct: false
  40. replica: false
  41. query_comment: ''
  42. query_tags: { }
  43. exposed_form:
  44. type: basic
  45. options:
  46. submit_button: Apply
  47. reset_button: false
  48. reset_button_label: Reset
  49. exposed_sorts_label: 'Sort by'
  50. expose_sort_order: true
  51. sort_asc_label: Asc
  52. sort_desc_label: Desc
  53. pager:
  54. type: mini
  55. options:
  56. items_per_page: 10
  57. offset: 0
  58. id: 0
  59. total_pages: null
  60. expose:
  61. items_per_page: false
  62. items_per_page_label: 'Items per page'
  63. items_per_page_options: '5, 10, 25, 50'
  64. items_per_page_options_all: false
  65. items_per_page_options_all_label: '- All -'
  66. offset: false
  67. offset_label: Offset
  68. tags:
  69. previous: ‹‹
  70. next: ››
  71. style:
  72. type: default
  73. row:
  74. type: 'entity:profile'
  75. options:
  76. relationship: none
  77. view_mode: compact
  78. fields:
  79. rendered_entity:
  80. table: profile
  81. field: rendered_entity
  82. id: rendered_entity
  83. entity_type: null
  84. entity_field: null
  85. plugin_id: rendered_entity
  86. relationship: none
  87. group_type: group
  88. admin_label: ''
  89. label: ''
  90. exclude: false
  91. alter:
  92. alter_text: false
  93. text: ''
  94. make_link: false
  95. path: ''
  96. absolute: false
  97. external: false
  98. replace_spaces: false
  99. path_case: none
  100. trim_whitespace: false
  101. alt: ''
  102. rel: ''
  103. link_class: ''
  104. prefix: ''
  105. suffix: ''
  106. target: ''
  107. nl2br: false
  108. max_length: 0
  109. word_boundary: true
  110. ellipsis: true
  111. more_link: false
  112. more_link_text: ''
  113. more_link_path: ''
  114. strip_tags: false
  115. trim: false
  116. preserve_tags: ''
  117. html: false
  118. element_type: ''
  119. element_class: ''
  120. element_label_type: ''
  121. element_label_class: ''
  122. element_label_colon: true
  123. element_wrapper_type: ''
  124. element_wrapper_class: ''
  125. element_default_classes: true
  126. empty: ''
  127. hide_empty: false
  128. empty_zero: false
  129. hide_alter_empty: true
  130. view_mode: default
  131. filters:
  132. field_enrollment_status_value:
  133. id: field_enrollment_status_value
  134. table: event_enrollment__field_enrollment_status
  135. field: field_enrollment_status_value
  136. relationship: reverse__event_enrollment__field_account
  137. group_type: group
  138. admin_label: ''
  139. operator: or
  140. value:
  141. 1: '1'
  142. group: 1
  143. exposed: false
  144. expose:
  145. operator_id: ''
  146. label: ''
  147. description: ''
  148. use_operator: false
  149. operator: ''
  150. identifier: ''
  151. required: false
  152. remember: false
  153. multiple: false
  154. remember_roles:
  155. authenticated: authenticated
  156. reduce: false
  157. is_grouped: false
  158. group_info:
  159. label: ''
  160. description: ''
  161. identifier: ''
  162. optional: true
  163. widget: select
  164. multiple: false
  165. remember: false
  166. default_group: All
  167. default_group_multiple: { }
  168. group_items: { }
  169. reduce_duplicates: false
  170. plugin_id: list_field
  171. sorts: { }
  172. title: Enrollments
  173. header:
  174. result:
  175. id: result
  176. table: views
  177. field: result
  178. relationship: none
  179. group_type: group
  180. admin_label: ''
  181. empty: true
  182. content: '@total people have enrolled'
  183. plugin_id: result
  184. footer:
  185. area:
  186. id: area
  187. table: views
  188. field: area
  189. plugin_id: text
  190. area_text_custom:
  191. id: area_text_custom
  192. table: views
  193. field: area_text_custom
  194. plugin_id: text_custom
  195. view:
  196. id: view
  197. table: views
  198. field: view
  199. plugin_id: view
  200. empty:
  201. area_text_custom:
  202. id: area_text_custom
  203. table: views
  204. field: area_text_custom
  205. relationship: none
  206. group_type: group
  207. admin_label: ''
  208. empty: true
  209. tokenize: false
  210. content: 'No one has enrolled for this event'
  211. plugin_id: text_custom
  212. relationships:
  213. uid:
  214. id: uid
  215. table: profile
  216. field: uid
  217. relationship: none
  218. group_type: group
  219. admin_label: User
  220. required: false
  221. entity_type: profile
  222. entity_field: uid
  223. plugin_id: standard
  224. reverse__event_enrollment__field_account:
  225. id: reverse__event_enrollment__field_account
  226. table: users_field_data
  227. field: reverse__event_enrollment__field_account
  228. relationship: uid
  229. group_type: group
  230. admin_label: field_account
  231. required: false
  232. entity_type: user
  233. plugin_id: entity_reverse
  234. field_event:
  235. id: field_event
  236. table: event_enrollment__field_event
  237. field: field_event
  238. relationship: reverse__event_enrollment__field_account
  239. group_type: group
  240. admin_label: 'field_event: Content'
  241. required: false
  242. plugin_id: standard
  243. arguments:
  244. nid:
  245. id: nid
  246. table: node_field_data
  247. field: nid
  248. relationship: field_event
  249. group_type: group
  250. admin_label: ''
  251. default_action: empty
  252. exception:
  253. value: all
  254. title_enable: false
  255. title: All
  256. title_enable: false
  257. title: ''
  258. default_argument_type: fixed
  259. default_argument_options:
  260. argument: ''
  261. default_argument_skip_url: false
  262. summary_options:
  263. base_path: ''
  264. count: true
  265. items_per_page: 25
  266. override: false
  267. summary:
  268. sort_order: asc
  269. number_of_records: 0
  270. format: default_summary
  271. specify_validation: false
  272. validate:
  273. type: none
  274. fail: 'not found'
  275. validate_options: { }
  276. break_phrase: false
  277. not: false
  278. entity_type: node
  279. entity_field: nid
  280. plugin_id: node_nid
  281. display_extenders: { }
  282. use_ajax: false
  283. cache_metadata:
  284. max-age: -1
  285. contexts:
  286. - 'languages:language_interface'
  287. - url
  288. - url.query_args
  289. - user.permissions
  290. tags:
  291. - 'config:core.entity_view_display.profile.profile.autocomplete_item'
  292. - 'config:core.entity_view_display.profile.profile.compact'
  293. - 'config:core.entity_view_display.profile.profile.compact_notification'
  294. - 'config:core.entity_view_display.profile.profile.compact_teaser'
  295. - 'config:core.entity_view_display.profile.profile.default'
  296. - 'config:core.entity_view_display.profile.profile.hero'
  297. - 'config:core.entity_view_display.profile.profile.search_index'
  298. - 'config:core.entity_view_display.profile.profile.small'
  299. - 'config:core.entity_view_display.profile.profile.small_teaser'
  300. - 'config:core.entity_view_display.profile.profile.table'
  301. - 'config:core.entity_view_display.profile.profile.teaser'
  302. event_enrollments:
  303. display_plugin: block
  304. id: event_enrollments
  305. display_title: Block
  306. position: 2
  307. display_options:
  308. display_extenders: { }
  309. block_description: 'Enrollments Block'
  310. footer:
  311. area:
  312. id: area
  313. table: views
  314. field: area
  315. relationship: none
  316. group_type: group
  317. admin_label: ''
  318. empty: false
  319. tokenize: true
  320. content:
  321. value: '<a href="/node/{{ raw_arguments.nid }}/enrollments">See all enrollments</a>'
  322. format: basic_html
  323. plugin_id: text
  324. defaults:
  325. footer: false
  326. style: false
  327. row: false
  328. pager: false
  329. arguments: false
  330. link_display: false
  331. link_url: false
  332. use_more: false
  333. use_more_always: false
  334. use_more_text: false
  335. style:
  336. type: default
  337. options: { }
  338. row:
  339. type: 'entity:profile'
  340. options:
  341. relationship: none
  342. view_mode: compact
  343. pager:
  344. type: some
  345. options:
  346. items_per_page: 12
  347. offset: 0
  348. arguments:
  349. nid:
  350. id: nid
  351. table: node_field_data
  352. field: nid
  353. relationship: field_event
  354. group_type: group
  355. admin_label: ''
  356. default_action: default
  357. exception:
  358. value: all
  359. title_enable: false
  360. title: All
  361. title_enable: false
  362. title: ''
  363. default_argument_type: node
  364. default_argument_options: { }
  365. default_argument_skip_url: false
  366. summary_options:
  367. base_path: ''
  368. count: true
  369. items_per_page: 25
  370. override: false
  371. summary:
  372. sort_order: asc
  373. number_of_records: 0
  374. format: default_summary
  375. specify_validation: false
  376. validate:
  377. type: none
  378. fail: 'not found'
  379. validate_options: { }
  380. break_phrase: false
  381. not: false
  382. entity_type: node
  383. entity_field: nid
  384. plugin_id: node_nid
  385. link_display: view_enrollments
  386. link_url: ''
  387. use_more: true
  388. use_more_always: true
  389. use_more_text: 'All enrollments'
  390. cache_metadata:
  391. max-age: -1
  392. contexts:
  393. - 'languages:language_interface'
  394. - url
  395. - user.permissions
  396. tags:
  397. - 'config:core.entity_view_display.profile.profile.autocomplete_item'
  398. - 'config:core.entity_view_display.profile.profile.compact'
  399. - 'config:core.entity_view_display.profile.profile.compact_notification'
  400. - 'config:core.entity_view_display.profile.profile.compact_teaser'
  401. - 'config:core.entity_view_display.profile.profile.default'
  402. - 'config:core.entity_view_display.profile.profile.hero'
  403. - 'config:core.entity_view_display.profile.profile.search_index'
  404. - 'config:core.entity_view_display.profile.profile.small'
  405. - 'config:core.entity_view_display.profile.profile.small_teaser'
  406. - 'config:core.entity_view_display.profile.profile.table'
  407. - 'config:core.entity_view_display.profile.profile.teaser'
  408. view_enrollments:
  409. display_plugin: page
  410. id: view_enrollments
  411. display_title: Page
  412. position: 1
  413. display_options:
  414. display_extenders: { }
  415. path: node/%node/enrollments
  416. menu:
  417. type: tab
  418. title: Enrollments
  419. description: ''
  420. expanded: false
  421. parent: ''
  422. weight: 0
  423. context: '0'
  424. menu_name: main
  425. style:
  426. type: default
  427. options: { }
  428. defaults:
  429. style: false
  430. row: false
  431. pager: false
  432. row:
  433. type: 'entity:profile'
  434. options:
  435. relationship: none
  436. view_mode: teaser
  437. pager:
  438. type: full
  439. options:
  440. items_per_page: 10
  441. offset: 0
  442. id: 0
  443. total_pages: null
  444. tags:
  445. previous: '‹ Previous'
  446. next: 'Next ›'
  447. first: '« First'
  448. last: 'Last »'
  449. expose:
  450. items_per_page: false
  451. items_per_page_label: 'Items per page'
  452. items_per_page_options: '5, 10, 25, 50'
  453. items_per_page_options_all: false
  454. items_per_page_options_all_label: '- All -'
  455. offset: false
  456. offset_label: Offset
  457. quantity: 5
  458. cache_metadata:
  459. max-age: -1
  460. contexts:
  461. - 'languages:language_interface'
  462. - url
  463. - url.query_args
  464. - user.permissions
  465. tags:
  466. - 'config:core.entity_view_display.profile.profile.autocomplete_item'
  467. - 'config:core.entity_view_display.profile.profile.compact'
  468. - 'config:core.entity_view_display.profile.profile.compact_notification'
  469. - 'config:core.entity_view_display.profile.profile.compact_teaser'
  470. - 'config:core.entity_view_display.profile.profile.default'
  471. - 'config:core.entity_view_display.profile.profile.hero'
  472. - 'config:core.entity_view_display.profile.profile.search_index'
  473. - 'config:core.entity_view_display.profile.profile.small'
  474. - 'config:core.entity_view_display.profile.profile.small_teaser'
  475. - 'config:core.entity_view_display.profile.profile.table'
  476. - 'config:core.entity_view_display.profile.profile.teaser'