You are here

views.view.event_enrollments.yml in Open Social 10.2.x

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