You are here

views.view.upcoming_events.yml in Open Social 10.3.x

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

File

modules/social_features/social_event/config/install/views.view.upcoming_events.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.small_teaser
  6. - core.entity_view_mode.node.teaser
  7. - node.type.event
  8. module:
  9. - datetime
  10. - group
  11. - node
  12. - options
  13. - social_event
  14. - user
  15. id: upcoming_events
  16. label: '(Upcoming) Community events'
  17. module: views
  18. description: 'Show upcoming events (my, community and overview)'
  19. tag: ''
  20. base_table: node_field_data
  21. base_field: nid
  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 content'
  33. cache:
  34. type: tag
  35. options: { }
  36. query:
  37. type: views_query
  38. options:
  39. disable_sql_rewrite: false
  40. distinct: true
  41. replica: false
  42. query_comment: ''
  43. query_tags: { }
  44. exposed_form:
  45. type: basic
  46. options:
  47. submit_button: Filter
  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: full
  56. options:
  57. items_per_page: 10
  58. offset: 0
  59. id: 0
  60. total_pages: null
  61. tags:
  62. previous: '‹ Previous'
  63. next: 'Next ›'
  64. first: '« First'
  65. last: 'Last »'
  66. expose:
  67. items_per_page: false
  68. items_per_page_label: 'Items per page'
  69. items_per_page_options: '5, 10, 25, 50'
  70. items_per_page_options_all: false
  71. items_per_page_options_all_label: '- All -'
  72. offset: false
  73. offset_label: Offset
  74. quantity: 9
  75. style:
  76. type: default
  77. row:
  78. type: 'entity:node'
  79. options:
  80. relationship: none
  81. view_mode: teaser
  82. fields:
  83. title:
  84. id: title
  85. table: node_field_data
  86. field: title
  87. entity_type: node
  88. entity_field: title
  89. label: ''
  90. alter:
  91. alter_text: false
  92. make_link: false
  93. absolute: false
  94. trim: false
  95. word_boundary: false
  96. ellipsis: false
  97. strip_tags: false
  98. html: false
  99. hide_empty: false
  100. empty_zero: false
  101. settings:
  102. link_to_entity: true
  103. plugin_id: field
  104. relationship: none
  105. group_type: group
  106. admin_label: ''
  107. exclude: false
  108. element_type: ''
  109. element_class: ''
  110. element_label_type: ''
  111. element_label_class: ''
  112. element_label_colon: true
  113. element_wrapper_type: ''
  114. element_wrapper_class: ''
  115. element_default_classes: true
  116. empty: ''
  117. hide_alter_empty: true
  118. click_sort_column: value
  119. type: string
  120. group_column: value
  121. group_columns: { }
  122. group_rows: true
  123. delta_limit: 0
  124. delta_offset: 0
  125. delta_reversed: false
  126. delta_first_last: false
  127. multi_type: separator
  128. separator: ', '
  129. field_api_classes: false
  130. filters:
  131. status:
  132. value: '1'
  133. table: node_field_data
  134. field: status
  135. plugin_id: boolean
  136. entity_type: node
  137. entity_field: status
  138. id: status
  139. expose:
  140. operator: ''
  141. operator_limit_selection: false
  142. operator_list: { }
  143. group: 1
  144. type:
  145. id: type
  146. table: node_field_data
  147. field: type
  148. value:
  149. event: event
  150. entity_type: node
  151. entity_field: type
  152. plugin_id: bundle
  153. expose:
  154. operator_limit_selection: false
  155. operator_list: { }
  156. field_event_date_value:
  157. id: field_event_date_value
  158. table: node__field_event_date
  159. field: field_event_date_value
  160. relationship: none
  161. group_type: group
  162. admin_label: ''
  163. operator: '>='
  164. value:
  165. min: ''
  166. max: ''
  167. value: now
  168. type: offset
  169. group: 1
  170. exposed: false
  171. expose:
  172. operator_id: ''
  173. label: ''
  174. description: ''
  175. use_operator: false
  176. operator: ''
  177. identifier: ''
  178. required: false
  179. remember: false
  180. multiple: false
  181. remember_roles:
  182. authenticated: authenticated
  183. operator_limit_selection: false
  184. operator_list: { }
  185. is_grouped: false
  186. group_info:
  187. label: ''
  188. description: ''
  189. identifier: ''
  190. optional: true
  191. widget: select
  192. multiple: false
  193. remember: false
  194. default_group: All
  195. default_group_multiple: { }
  196. group_items: { }
  197. plugin_id: datetime
  198. nid:
  199. id: nid
  200. table: node_access
  201. field: nid
  202. relationship: none
  203. group_type: group
  204. admin_label: ''
  205. operator: '='
  206. value: ''
  207. group: 1
  208. exposed: false
  209. expose:
  210. operator_id: ''
  211. label: ''
  212. description: ''
  213. use_operator: false
  214. operator: ''
  215. identifier: ''
  216. required: false
  217. remember: false
  218. multiple: false
  219. remember_roles:
  220. authenticated: authenticated
  221. operator_limit_selection: false
  222. operator_list: { }
  223. is_grouped: false
  224. group_info:
  225. label: ''
  226. description: ''
  227. identifier: ''
  228. optional: true
  229. widget: select
  230. multiple: false
  231. remember: false
  232. default_group: All
  233. default_group_multiple: { }
  234. group_items: { }
  235. plugin_id: node_access
  236. sorts:
  237. field_event_date_value:
  238. id: field_event_date_value
  239. table: node__field_event_date
  240. field: field_event_date_value
  241. relationship: none
  242. group_type: group
  243. admin_label: ''
  244. order: ASC
  245. exposed: false
  246. expose:
  247. label: ''
  248. granularity: minute
  249. plugin_id: datetime
  250. title: 'Upcoming events'
  251. header: { }
  252. footer: { }
  253. empty:
  254. area_text_custom:
  255. id: area_text_custom
  256. table: views
  257. field: area_text_custom
  258. relationship: none
  259. group_type: group
  260. admin_label: ''
  261. empty: true
  262. tokenize: false
  263. content: 'No events found'
  264. plugin_id: text_custom
  265. relationships: { }
  266. arguments: { }
  267. display_extenders: { }
  268. cache_metadata:
  269. max-age: -1
  270. contexts:
  271. - 'languages:language_content'
  272. - 'languages:language_interface'
  273. - url.query_args
  274. - 'user.node_grants:view'
  275. - user.permissions
  276. tags: { }
  277. block_community_events:
  278. display_plugin: block
  279. id: block_community_events
  280. display_title: 'Community events block'
  281. position: 1
  282. display_options:
  283. display_extenders: { }
  284. display_description: ''
  285. block_description: 'Community events block'
  286. pager:
  287. type: some
  288. options:
  289. items_per_page: 2
  290. offset: 0
  291. defaults:
  292. pager: false
  293. style: false
  294. row: false
  295. style:
  296. type: default
  297. options: { }
  298. row:
  299. type: 'entity:node'
  300. options:
  301. relationship: none
  302. view_mode: small_teaser
  303. rendering_language: '***LANGUAGE_language_interface***'
  304. cache_metadata:
  305. max-age: -1
  306. contexts:
  307. - 'languages:language_content'
  308. - 'languages:language_interface'
  309. - 'user.node_grants:view'
  310. - user.permissions
  311. tags: { }
  312. block_my_upcoming_events:
  313. display_plugin: block
  314. id: block_my_upcoming_events
  315. display_title: 'My upcoming events block'
  316. position: 3
  317. display_options:
  318. display_extenders: { }
  319. display_description: ''
  320. block_description: 'My upcoming events block'
  321. pager:
  322. type: some
  323. options:
  324. items_per_page: 2
  325. offset: 0
  326. defaults:
  327. pager: false
  328. relationships: false
  329. arguments: false
  330. filters: false
  331. filter_groups: false
  332. style: false
  333. row: false
  334. empty: false
  335. title: false
  336. use_more: false
  337. use_more_always: false
  338. use_more_text: false
  339. relationships:
  340. reverse__event_enrollment__field_event:
  341. id: reverse__event_enrollment__field_event
  342. table: node_field_data
  343. field: reverse__event_enrollment__field_event
  344. relationship: none
  345. group_type: group
  346. admin_label: field_event
  347. required: true
  348. entity_type: node
  349. plugin_id: entity_reverse
  350. arguments:
  351. field_account_target_id:
  352. id: field_account_target_id
  353. table: event_enrollment__field_account
  354. field: field_account_target_id
  355. relationship: reverse__event_enrollment__field_event
  356. group_type: group
  357. admin_label: ''
  358. default_action: default
  359. exception:
  360. value: all
  361. title_enable: false
  362. title: All
  363. title_enable: false
  364. title: ''
  365. default_argument_type: current_user
  366. default_argument_options: { }
  367. default_argument_skip_url: false
  368. summary_options:
  369. base_path: ''
  370. count: true
  371. items_per_page: 25
  372. override: false
  373. summary:
  374. sort_order: asc
  375. number_of_records: 0
  376. format: default_summary
  377. specify_validation: false
  378. validate:
  379. type: none
  380. fail: 'not found'
  381. validate_options: { }
  382. break_phrase: false
  383. not: false
  384. plugin_id: numeric
  385. filters:
  386. status:
  387. value: '1'
  388. table: node_field_data
  389. field: status
  390. plugin_id: boolean
  391. entity_type: node
  392. entity_field: status
  393. id: status
  394. expose:
  395. operator: ''
  396. operator_limit_selection: false
  397. operator_list: { }
  398. group: 1
  399. type:
  400. id: type
  401. table: node_field_data
  402. field: type
  403. value:
  404. event: event
  405. entity_type: node
  406. entity_field: type
  407. plugin_id: bundle
  408. expose:
  409. operator_limit_selection: false
  410. operator_list: { }
  411. field_enrollment_status_value:
  412. id: field_enrollment_status_value
  413. table: event_enrollment__field_enrollment_status
  414. field: field_enrollment_status_value
  415. relationship: reverse__event_enrollment__field_event
  416. group_type: group
  417. admin_label: ''
  418. operator: or
  419. value:
  420. 1: '1'
  421. group: 1
  422. exposed: false
  423. expose:
  424. operator_id: ''
  425. label: ''
  426. description: ''
  427. use_operator: false
  428. operator: ''
  429. identifier: ''
  430. required: false
  431. remember: false
  432. multiple: false
  433. remember_roles:
  434. authenticated: authenticated
  435. reduce: false
  436. operator_limit_selection: false
  437. operator_list: { }
  438. is_grouped: false
  439. group_info:
  440. label: ''
  441. description: ''
  442. identifier: ''
  443. optional: true
  444. widget: select
  445. multiple: false
  446. remember: false
  447. default_group: All
  448. default_group_multiple: { }
  449. group_items: { }
  450. reduce_duplicates: false
  451. plugin_id: list_field
  452. field_event_date_value:
  453. id: field_event_date_value
  454. table: node__field_event_date
  455. field: field_event_date_value
  456. relationship: none
  457. group_type: group
  458. admin_label: ''
  459. operator: '>='
  460. value:
  461. min: ''
  462. max: ''
  463. value: now
  464. type: offset
  465. group: 1
  466. exposed: false
  467. expose:
  468. operator_id: ''
  469. label: ''
  470. description: ''
  471. use_operator: false
  472. operator: ''
  473. identifier: ''
  474. required: false
  475. remember: false
  476. multiple: false
  477. remember_roles:
  478. authenticated: authenticated
  479. operator_limit_selection: false
  480. operator_list: { }
  481. is_grouped: false
  482. group_info:
  483. label: ''
  484. description: ''
  485. identifier: ''
  486. optional: true
  487. widget: select
  488. multiple: false
  489. remember: false
  490. default_group: All
  491. default_group_multiple: { }
  492. group_items: { }
  493. plugin_id: datetime
  494. nid:
  495. id: nid
  496. table: node_access
  497. field: nid
  498. relationship: none
  499. group_type: group
  500. admin_label: ''
  501. operator: '='
  502. value: ''
  503. group: 1
  504. exposed: false
  505. expose:
  506. operator_id: ''
  507. label: ''
  508. description: ''
  509. use_operator: false
  510. operator: ''
  511. identifier: ''
  512. required: false
  513. remember: false
  514. multiple: false
  515. remember_roles:
  516. authenticated: authenticated
  517. operator_limit_selection: false
  518. operator_list: { }
  519. is_grouped: false
  520. group_info:
  521. label: ''
  522. description: ''
  523. identifier: ''
  524. optional: true
  525. widget: select
  526. multiple: false
  527. remember: false
  528. default_group: All
  529. default_group_multiple: { }
  530. group_items: { }
  531. plugin_id: node_access
  532. filter_groups:
  533. operator: AND
  534. groups:
  535. 1: AND
  536. access:
  537. type: perm
  538. options:
  539. perm: 'create event content'
  540. style:
  541. type: default
  542. options: { }
  543. row:
  544. type: 'entity:node'
  545. options:
  546. relationship: none
  547. view_mode: small_teaser
  548. empty:
  549. area_text_custom:
  550. id: area_text_custom
  551. table: views
  552. field: area_text_custom
  553. relationship: none
  554. group_type: group
  555. admin_label: ''
  556. empty: true
  557. tokenize: false
  558. content: 'No upcoming events you have enrolled for'
  559. plugin_id: text_custom
  560. title: 'My upcoming events'
  561. use_more: false
  562. use_more_always: true
  563. use_more_text: 'All my upcoming events'
  564. rendering_language: '***LANGUAGE_language_interface***'
  565. cache_metadata:
  566. max-age: -1
  567. contexts:
  568. - 'languages:language_content'
  569. - 'languages:language_interface'
  570. - url
  571. - user
  572. - 'user.node_grants:view'
  573. - user.permissions
  574. tags: { }
  575. page_community_events:
  576. display_plugin: page
  577. id: page_community_events
  578. display_title: 'Community events page'
  579. position: 2
  580. display_options:
  581. display_extenders: { }
  582. display_description: ''
  583. path: community-events
  584. filters:
  585. type:
  586. id: type
  587. table: node_field_data
  588. field: type
  589. value:
  590. event: event
  591. entity_type: node
  592. entity_field: type
  593. plugin_id: bundle
  594. expose:
  595. operator_limit_selection: false
  596. operator_list: { }
  597. event_date:
  598. id: event_date
  599. table: node__field_event_date
  600. field: event_date
  601. relationship: none
  602. group_type: group
  603. admin_label: ''
  604. operator: in
  605. value: null
  606. group: 1
  607. exposed: true
  608. expose:
  609. operator_id: event_date_op
  610. label: 'Event date'
  611. description: null
  612. use_operator: false
  613. operator: event_date_op
  614. operator_limit_selection: false
  615. operator_list: { }
  616. identifier: event_date
  617. required: false
  618. remember: false
  619. multiple: false
  620. remember_roles:
  621. authenticated: authenticated
  622. reduce: false
  623. is_grouped: true
  624. group_info:
  625. label: ''
  626. description: ''
  627. identifier: field_event_date_value
  628. optional: false
  629. widget: radios
  630. multiple: false
  631. remember: false
  632. default_group: '1'
  633. default_group_multiple: { }
  634. group_items:
  635. 1:
  636. title: 'Ongoing and upcoming events'
  637. operator: in
  638. value: '1'
  639. 2:
  640. title: 'Past events'
  641. operator: in
  642. value: '2'
  643. 3:
  644. title: ''
  645. operator: in
  646. value: null
  647. plugin_id: social_event_date_filter
  648. nid:
  649. id: nid
  650. table: node_access
  651. field: nid
  652. relationship: none
  653. group_type: group
  654. admin_label: ''
  655. operator: '='
  656. value: ''
  657. group: 1
  658. exposed: false
  659. expose:
  660. operator_id: ''
  661. label: ''
  662. description: ''
  663. use_operator: false
  664. operator: ''
  665. identifier: ''
  666. required: false
  667. remember: false
  668. multiple: false
  669. remember_roles:
  670. authenticated: authenticated
  671. operator_limit_selection: false
  672. operator_list: { }
  673. is_grouped: false
  674. group_info:
  675. label: ''
  676. description: ''
  677. identifier: ''
  678. optional: true
  679. widget: select
  680. multiple: false
  681. remember: false
  682. default_group: All
  683. default_group_multiple: { }
  684. group_items: { }
  685. plugin_id: node_access
  686. field_enroll_method_value:
  687. id: field_enroll_method_value
  688. table: node__field_enroll_method
  689. field: field_enroll_method_value
  690. relationship: none
  691. group_type: group
  692. admin_label: ''
  693. operator: or
  694. value: { }
  695. group: 1
  696. exposed: true
  697. expose:
  698. operator_id: field_enroll_method_value_op
  699. label: 'Enroll Method'
  700. description: ''
  701. use_operator: false
  702. operator: field_enroll_method_value_op
  703. operator_limit_selection: false
  704. operator_list: { }
  705. identifier: field_enroll_method_value
  706. required: false
  707. remember: false
  708. multiple: false
  709. remember_roles:
  710. authenticated: authenticated
  711. anonymous: '0'
  712. administrator: '0'
  713. contentmanager: '0'
  714. sitemanager: '0'
  715. reduce: false
  716. is_grouped: false
  717. group_info:
  718. label: ''
  719. description: ''
  720. identifier: ''
  721. optional: true
  722. widget: select
  723. multiple: false
  724. remember: false
  725. default_group: All
  726. default_group_multiple: { }
  727. group_items: { }
  728. reduce_duplicates: false
  729. plugin_id: list_field
  730. defaults:
  731. filters: false
  732. filter_groups: false
  733. title: false
  734. sorts: false
  735. filter_groups:
  736. operator: AND
  737. groups:
  738. 1: AND
  739. exposed_block: true
  740. title: 'All events'
  741. sorts:
  742. event_date:
  743. id: event_date
  744. table: node__field_event_date
  745. field: event_date
  746. relationship: none
  747. group_type: group
  748. admin_label: ''
  749. order: ASC
  750. exposed: false
  751. expose:
  752. label: ''
  753. granularity: minute
  754. plugin_id: social_event_date_sort
  755. rendering_language: '***LANGUAGE_language_interface***'
  756. cache_metadata:
  757. max-age: -1
  758. contexts:
  759. - 'languages:language_content'
  760. - 'languages:language_interface'
  761. - url
  762. - url.query_args
  763. - 'user.node_grants:view'
  764. - user.permissions
  765. tags: { }
  766. upcoming_events_group:
  767. display_plugin: block
  768. id: upcoming_events_group
  769. display_title: 'Upcoming events group block'
  770. position: 3
  771. display_options:
  772. display_extenders: { }
  773. display_description: ''
  774. block_description: 'Upcoming events group block'
  775. pager:
  776. type: some
  777. options:
  778. items_per_page: 2
  779. offset: 0
  780. defaults:
  781. pager: false
  782. relationships: false
  783. arguments: false
  784. filters: false
  785. filter_groups: false
  786. style: false
  787. row: false
  788. empty: false
  789. title: false
  790. relationships:
  791. group_content:
  792. id: group_content
  793. table: node_field_data
  794. field: group_content
  795. relationship: none
  796. group_type: group
  797. admin_label: group_events
  798. required: true
  799. group_content_plugins:
  800. 'group_node:event': 'group_node:event'
  801. 'group_node:topic': '0'
  802. entity_type: node
  803. plugin_id: group_content_to_entity_reverse
  804. arguments:
  805. gid:
  806. id: gid
  807. table: group_content_field_data
  808. field: gid
  809. relationship: group_content
  810. group_type: group
  811. admin_label: group_contextual
  812. default_action: default
  813. exception:
  814. value: all
  815. title_enable: false
  816. title: All
  817. title_enable: false
  818. title: ''
  819. default_argument_type: group_id_from_url
  820. default_argument_options: { }
  821. default_argument_skip_url: false
  822. summary_options:
  823. base_path: ''
  824. count: true
  825. items_per_page: 25
  826. override: false
  827. summary:
  828. sort_order: asc
  829. number_of_records: 0
  830. format: default_summary
  831. specify_validation: false
  832. validate:
  833. type: none
  834. fail: 'not found'
  835. validate_options: { }
  836. break_phrase: false
  837. not: false
  838. entity_type: group_content
  839. entity_field: gid
  840. plugin_id: numeric
  841. filters:
  842. status:
  843. value: '1'
  844. table: node_field_data
  845. field: status
  846. plugin_id: boolean
  847. entity_type: node
  848. entity_field: status
  849. id: status
  850. expose:
  851. operator: ''
  852. operator_limit_selection: false
  853. operator_list: { }
  854. group: 1
  855. type:
  856. id: type
  857. table: node_field_data
  858. field: type
  859. value:
  860. event: event
  861. entity_type: node
  862. entity_field: type
  863. plugin_id: bundle
  864. expose:
  865. operator_limit_selection: false
  866. operator_list: { }
  867. field_event_date_value:
  868. id: field_event_date_value
  869. table: node__field_event_date
  870. field: field_event_date_value
  871. relationship: none
  872. group_type: group
  873. admin_label: ''
  874. operator: '>='
  875. value:
  876. min: ''
  877. max: ''
  878. value: now
  879. type: offset
  880. group: 1
  881. exposed: false
  882. expose:
  883. operator_id: ''
  884. label: ''
  885. description: ''
  886. use_operator: false
  887. operator: ''
  888. identifier: ''
  889. required: false
  890. remember: false
  891. multiple: false
  892. remember_roles:
  893. authenticated: authenticated
  894. operator_limit_selection: false
  895. operator_list: { }
  896. is_grouped: false
  897. group_info:
  898. label: ''
  899. description: ''
  900. identifier: ''
  901. optional: true
  902. widget: select
  903. multiple: false
  904. remember: false
  905. default_group: All
  906. default_group_multiple: { }
  907. group_items: { }
  908. plugin_id: datetime
  909. nid:
  910. id: nid
  911. table: node_access
  912. field: nid
  913. relationship: none
  914. group_type: group
  915. admin_label: ''
  916. operator: '='
  917. value: ''
  918. group: 1
  919. exposed: false
  920. expose:
  921. operator_id: ''
  922. label: ''
  923. description: ''
  924. use_operator: false
  925. operator: ''
  926. identifier: ''
  927. required: false
  928. remember: false
  929. multiple: false
  930. remember_roles:
  931. authenticated: authenticated
  932. operator_limit_selection: false
  933. operator_list: { }
  934. is_grouped: false
  935. group_info:
  936. label: ''
  937. description: ''
  938. identifier: ''
  939. optional: true
  940. widget: select
  941. multiple: false
  942. remember: false
  943. default_group: All
  944. default_group_multiple: { }
  945. group_items: { }
  946. plugin_id: node_access
  947. filter_groups:
  948. operator: AND
  949. groups:
  950. 1: AND
  951. access:
  952. type: perm
  953. options:
  954. perm: 'create event content'
  955. style:
  956. type: default
  957. options: { }
  958. row:
  959. type: 'entity:node'
  960. options:
  961. relationship: none
  962. view_mode: small_teaser
  963. empty:
  964. area_text_custom:
  965. id: area_text_custom
  966. table: views
  967. field: area_text_custom
  968. relationship: none
  969. group_type: group
  970. admin_label: ''
  971. empty: true
  972. tokenize: false
  973. content: 'No upcoming events in this group'
  974. plugin_id: text_custom
  975. title: 'Upcoming events'
  976. rendering_language: '***LANGUAGE_language_interface***'
  977. cache_metadata:
  978. max-age: -1
  979. contexts:
  980. - 'languages:language_content'
  981. - 'languages:language_interface'
  982. - route
  983. - url
  984. - 'user.node_grants:view'
  985. - user.permissions
  986. tags: { }