You are here

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