You are here

views.view.events.yml in Open Social 8.4

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

File

modules/social_features/social_event/config/install/views.view.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. - node
  11. - social_event
  12. - user
  13. id: events
  14. label: 'Events Profile'
  15. module: views
  16. description: ''
  17. tag: ''
  18. base_table: node_field_data
  19. base_field: nid
  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: true
  40. replica: false
  41. query_comment: ''
  42. query_tags: { }
  43. exposed_form:
  44. type: basic
  45. options:
  46. submit_button: Filter
  47. reset_button: true
  48. reset_button_label: Reset
  49. exposed_sorts_label: 'Sort by'
  50. expose_sort_order: true
  51. sort_asc_label: ascending
  52. sort_desc_label: descending
  53. pager:
  54. type: full
  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: '‹ Previous'
  70. next: 'Next ›'
  71. first: '« First'
  72. last: 'Last »'
  73. quantity: 9
  74. style:
  75. type: default
  76. row:
  77. type: 'entity:node'
  78. options:
  79. view_mode: teaser
  80. fields:
  81. title:
  82. id: title
  83. table: node_field_data
  84. field: title
  85. entity_type: node
  86. entity_field: title
  87. label: ''
  88. alter:
  89. alter_text: false
  90. make_link: false
  91. absolute: false
  92. trim: false
  93. word_boundary: false
  94. ellipsis: false
  95. strip_tags: false
  96. html: false
  97. hide_empty: false
  98. empty_zero: false
  99. settings:
  100. link_to_entity: true
  101. plugin_id: field
  102. relationship: none
  103. group_type: group
  104. admin_label: ''
  105. exclude: false
  106. element_type: ''
  107. element_class: ''
  108. element_label_type: ''
  109. element_label_class: ''
  110. element_label_colon: true
  111. element_wrapper_type: ''
  112. element_wrapper_class: ''
  113. element_default_classes: true
  114. empty: ''
  115. hide_alter_empty: true
  116. click_sort_column: value
  117. type: string
  118. group_column: value
  119. group_columns: { }
  120. group_rows: true
  121. delta_limit: 0
  122. delta_offset: 0
  123. delta_reversed: false
  124. delta_first_last: false
  125. multi_type: separator
  126. separator: ', '
  127. field_api_classes: false
  128. filters:
  129. type:
  130. id: type
  131. table: node_field_data
  132. field: type
  133. relationship: none
  134. group_type: group
  135. admin_label: ''
  136. operator: in
  137. value:
  138. event: event
  139. group: 1
  140. exposed: false
  141. expose:
  142. operator_id: ''
  143. label: ''
  144. description: ''
  145. use_operator: false
  146. operator: ''
  147. identifier: ''
  148. required: false
  149. remember: false
  150. multiple: false
  151. remember_roles:
  152. authenticated: authenticated
  153. reduce: false
  154. is_grouped: false
  155. group_info:
  156. label: ''
  157. description: ''
  158. identifier: ''
  159. optional: true
  160. widget: select
  161. multiple: false
  162. remember: false
  163. default_group: All
  164. default_group_multiple: { }
  165. group_items: { }
  166. entity_type: node
  167. entity_field: type
  168. plugin_id: bundle
  169. status:
  170. id: status
  171. table: node_field_data
  172. field: status
  173. relationship: none
  174. group_type: group
  175. admin_label: ''
  176. operator: '='
  177. value: '1'
  178. group: 1
  179. exposed: true
  180. expose:
  181. operator_id: ''
  182. label: 'Publish status'
  183. description: ''
  184. use_operator: false
  185. operator: status_op
  186. identifier: status
  187. required: false
  188. remember: false
  189. multiple: false
  190. remember_roles:
  191. authenticated: authenticated
  192. anonymous: '0'
  193. administrator: '0'
  194. is_grouped: false
  195. group_info:
  196. label: ''
  197. description: ''
  198. identifier: ''
  199. optional: true
  200. widget: select
  201. multiple: false
  202. remember: false
  203. default_group: All
  204. default_group_multiple: { }
  205. group_items: { }
  206. plugin_id: boolean
  207. entity_type: node
  208. entity_field: status
  209. event_enrolled_or_created_filter:
  210. id: event_enrolled_or_created_filter
  211. table: node
  212. field: event_enrolled_or_created_filter
  213. relationship: none
  214. group_type: group
  215. admin_label: ''
  216. operator: '='
  217. value: ''
  218. group: 1
  219. exposed: false
  220. expose:
  221. operator_id: ''
  222. label: ''
  223. description: ''
  224. use_operator: false
  225. operator: ''
  226. identifier: ''
  227. required: false
  228. remember: false
  229. multiple: false
  230. remember_roles:
  231. authenticated: authenticated
  232. is_grouped: false
  233. group_info:
  234. label: ''
  235. description: ''
  236. identifier: ''
  237. optional: true
  238. widget: select
  239. multiple: false
  240. remember: false
  241. default_group: All
  242. default_group_multiple: { }
  243. group_items: { }
  244. entity_type: node
  245. plugin_id: event_enrolled_or_created
  246. sorts:
  247. field_event_date_value:
  248. id: field_event_date_value
  249. table: node__field_event_date
  250. field: field_event_date_value
  251. relationship: none
  252. group_type: group
  253. admin_label: ''
  254. order: ASC
  255. exposed: false
  256. expose:
  257. label: ''
  258. granularity: second
  259. plugin_id: datetime
  260. title: 'Events for this user'
  261. header: { }
  262. footer: { }
  263. empty:
  264. area_text_custom:
  265. id: area_text_custom
  266. table: views
  267. field: area_text_custom
  268. relationship: none
  269. group_type: group
  270. admin_label: ''
  271. empty: true
  272. tokenize: false
  273. content: 'No events found for this user'
  274. plugin_id: text_custom
  275. relationships: { }
  276. arguments: { }
  277. display_extenders: { }
  278. use_ajax: false
  279. filter_groups:
  280. operator: AND
  281. groups:
  282. 1: AND
  283. cache_metadata:
  284. max-age: -1
  285. contexts:
  286. - 'languages:language_content'
  287. - 'languages:language_interface'
  288. - url
  289. - url.query_args
  290. - 'user.node_grants:view'
  291. - user.permissions
  292. tags: { }
  293. block_events_on_profile:
  294. display_plugin: block
  295. id: block_events_on_profile
  296. display_title: 'Events on profile block'
  297. position: 2
  298. display_options:
  299. display_extenders: { }
  300. display_description: ''
  301. pager:
  302. type: some
  303. options:
  304. items_per_page: 2
  305. offset: 0
  306. defaults:
  307. pager: false
  308. footer: false
  309. style: false
  310. row: false
  311. filters: false
  312. filter_groups: false
  313. title: false
  314. footer: { }
  315. style:
  316. type: default
  317. options: { }
  318. row:
  319. type: 'entity:node'
  320. options:
  321. relationship: none
  322. view_mode: small_teaser
  323. filters:
  324. type:
  325. id: type
  326. table: node_field_data
  327. field: type
  328. relationship: none
  329. group_type: group
  330. admin_label: ''
  331. operator: in
  332. value:
  333. event: event
  334. group: 1
  335. exposed: false
  336. expose:
  337. operator_id: ''
  338. label: ''
  339. description: ''
  340. use_operator: false
  341. operator: ''
  342. identifier: ''
  343. required: false
  344. remember: false
  345. multiple: false
  346. remember_roles:
  347. authenticated: authenticated
  348. reduce: false
  349. is_grouped: false
  350. group_info:
  351. label: ''
  352. description: ''
  353. identifier: ''
  354. optional: true
  355. widget: select
  356. multiple: false
  357. remember: false
  358. default_group: All
  359. default_group_multiple: { }
  360. group_items: { }
  361. entity_type: node
  362. entity_field: type
  363. plugin_id: bundle
  364. status:
  365. id: status
  366. table: node_field_data
  367. field: status
  368. relationship: none
  369. group_type: group
  370. admin_label: ''
  371. operator: '='
  372. value: '1'
  373. group: 1
  374. exposed: false
  375. expose:
  376. operator_id: ''
  377. label: 'Publish status'
  378. description: ''
  379. use_operator: false
  380. operator: status_op
  381. identifier: status
  382. required: false
  383. remember: false
  384. multiple: false
  385. remember_roles:
  386. authenticated: authenticated
  387. anonymous: '0'
  388. administrator: '0'
  389. is_grouped: false
  390. group_info:
  391. label: ''
  392. description: ''
  393. identifier: ''
  394. optional: true
  395. widget: select
  396. multiple: false
  397. remember: false
  398. default_group: All
  399. default_group_multiple: { }
  400. group_items: { }
  401. plugin_id: boolean
  402. entity_type: node
  403. entity_field: status
  404. field_event_date_value:
  405. id: field_event_date_value
  406. table: node__field_event_date
  407. field: field_event_date_value
  408. relationship: none
  409. group_type: group
  410. admin_label: ''
  411. operator: '>='
  412. value:
  413. min: ''
  414. max: ''
  415. value: now
  416. type: offset
  417. group: 1
  418. exposed: false
  419. expose:
  420. operator_id: field_event_date_value_op
  421. label: 'Event time'
  422. description: ''
  423. use_operator: false
  424. operator: field_event_date_value_op
  425. identifier: field_event_date_value
  426. required: false
  427. remember: false
  428. multiple: false
  429. remember_roles:
  430. authenticated: authenticated
  431. anonymous: '0'
  432. administrator: '0'
  433. is_grouped: false
  434. group_info:
  435. label: ''
  436. description: ''
  437. identifier: ''
  438. optional: true
  439. widget: select
  440. multiple: false
  441. remember: false
  442. default_group: All
  443. default_group_multiple: { }
  444. group_items: { }
  445. plugin_id: datetime
  446. event_enrolled_or_created_filter:
  447. id: event_enrolled_or_created_filter
  448. table: node
  449. field: event_enrolled_or_created_filter
  450. relationship: none
  451. group_type: group
  452. admin_label: ''
  453. operator: '='
  454. value: ''
  455. group: 1
  456. exposed: false
  457. expose:
  458. operator_id: ''
  459. label: ''
  460. description: ''
  461. use_operator: false
  462. operator: ''
  463. identifier: ''
  464. required: false
  465. remember: false
  466. multiple: false
  467. remember_roles:
  468. authenticated: authenticated
  469. is_grouped: false
  470. group_info:
  471. label: ''
  472. description: ''
  473. identifier: ''
  474. optional: true
  475. widget: select
  476. multiple: false
  477. remember: false
  478. default_group: All
  479. default_group_multiple: { }
  480. group_items: { }
  481. entity_type: node
  482. plugin_id: event_enrolled_or_created
  483. entity_field: uid
  484. nid:
  485. id: nid
  486. table: node_access
  487. field: nid
  488. relationship: none
  489. group_type: group
  490. admin_label: ''
  491. operator: '='
  492. value: ''
  493. group: 1
  494. exposed: false
  495. expose:
  496. operator_id: ''
  497. label: ''
  498. description: ''
  499. use_operator: false
  500. operator: ''
  501. identifier: ''
  502. required: false
  503. remember: false
  504. multiple: false
  505. remember_roles:
  506. authenticated: authenticated
  507. is_grouped: false
  508. group_info:
  509. label: ''
  510. description: ''
  511. identifier: ''
  512. optional: true
  513. widget: select
  514. multiple: false
  515. remember: false
  516. default_group: All
  517. default_group_multiple: { }
  518. group_items: { }
  519. plugin_id: node_access
  520. use_ajax: false
  521. filter_groups:
  522. operator: AND
  523. groups:
  524. 1: AND
  525. title: 'Upcoming events'
  526. cache_metadata:
  527. max-age: -1
  528. contexts:
  529. - 'languages:language_content'
  530. - 'languages:language_interface'
  531. - url
  532. - 'user.node_grants:view'
  533. - user.permissions
  534. tags: { }
  535. events_overview:
  536. display_plugin: page
  537. id: events_overview
  538. display_title: 'Events profile overview'
  539. position: 1
  540. display_options:
  541. display_extenders: { }
  542. path: user/%user/events
  543. menu:
  544. type: none
  545. title: Events
  546. description: ''
  547. expanded: false
  548. parent: ''
  549. weight: 0
  550. context: '0'
  551. menu_name: main
  552. tab_options:
  553. type: none
  554. title: Topics
  555. description: ''
  556. weight: 0
  557. exposed_block: true
  558. display_description: ''
  559. filters:
  560. type:
  561. id: type
  562. table: node_field_data
  563. field: type
  564. relationship: none
  565. group_type: group
  566. admin_label: ''
  567. operator: in
  568. value:
  569. event: event
  570. group: 1
  571. exposed: false
  572. expose:
  573. operator_id: ''
  574. label: ''
  575. description: ''
  576. use_operator: false
  577. operator: ''
  578. identifier: ''
  579. required: false
  580. remember: false
  581. multiple: false
  582. remember_roles:
  583. authenticated: authenticated
  584. reduce: false
  585. is_grouped: false
  586. group_info:
  587. label: ''
  588. description: ''
  589. identifier: ''
  590. optional: true
  591. widget: select
  592. multiple: false
  593. remember: false
  594. default_group: All
  595. default_group_multiple: { }
  596. group_items: { }
  597. entity_type: node
  598. entity_field: type
  599. plugin_id: bundle
  600. status:
  601. id: status
  602. table: node_field_data
  603. field: status
  604. relationship: none
  605. group_type: group
  606. admin_label: ''
  607. operator: '='
  608. value: '1'
  609. group: 1
  610. exposed: true
  611. expose:
  612. operator_id: ''
  613. label: 'Publish status'
  614. description: ''
  615. use_operator: false
  616. operator: status_op
  617. identifier: status
  618. required: false
  619. remember: false
  620. multiple: false
  621. remember_roles:
  622. authenticated: authenticated
  623. anonymous: '0'
  624. administrator: '0'
  625. is_grouped: false
  626. group_info:
  627. label: ''
  628. description: ''
  629. identifier: ''
  630. optional: true
  631. widget: select
  632. multiple: false
  633. remember: false
  634. default_group: All
  635. default_group_multiple: { }
  636. group_items: { }
  637. plugin_id: boolean
  638. entity_type: node
  639. entity_field: status
  640. field_event_date_value:
  641. id: field_event_date_value
  642. table: node__field_event_date
  643. field: field_event_date_value
  644. relationship: none
  645. group_type: group
  646. admin_label: ''
  647. operator: '='
  648. value:
  649. min: ''
  650. max: ''
  651. value: ''
  652. type: date
  653. group: 1
  654. exposed: true
  655. expose:
  656. operator_id: field_event_date_value_op
  657. label: 'Start date'
  658. description: null
  659. use_operator: false
  660. operator: field_event_date_value_op
  661. identifier: field_event_date_value
  662. required: false
  663. remember: false
  664. multiple: false
  665. remember_roles:
  666. authenticated: authenticated
  667. is_grouped: true
  668. group_info:
  669. label: 'Event status'
  670. description: ''
  671. identifier: field_event_date_value
  672. optional: false
  673. widget: radios
  674. multiple: false
  675. remember: false
  676. default_group: '1'
  677. default_group_multiple: { }
  678. group_items:
  679. 1:
  680. title: 'Upcoming events'
  681. operator: '>='
  682. value:
  683. type: offset
  684. value: now
  685. min: ''
  686. max: ''
  687. 2:
  688. title: 'Events that have started or are finished'
  689. operator: '<'
  690. value:
  691. type: offset
  692. value: now
  693. min: ''
  694. max: ''
  695. plugin_id: datetime
  696. event_enrolled_or_created_filter:
  697. id: event_enrolled_or_created_filter
  698. table: node
  699. field: event_enrolled_or_created_filter
  700. relationship: none
  701. group_type: group
  702. admin_label: ''
  703. operator: '='
  704. value: ''
  705. group: 1
  706. exposed: false
  707. expose:
  708. operator_id: ''
  709. label: ''
  710. description: ''
  711. use_operator: false
  712. operator: ''
  713. identifier: ''
  714. required: false
  715. remember: false
  716. multiple: false
  717. remember_roles:
  718. authenticated: authenticated
  719. is_grouped: false
  720. group_info:
  721. label: ''
  722. description: ''
  723. identifier: ''
  724. optional: true
  725. widget: select
  726. multiple: false
  727. remember: false
  728. default_group: All
  729. default_group_multiple: { }
  730. group_items: { }
  731. entity_type: node
  732. plugin_id: event_enrolled_or_created
  733. nid:
  734. id: nid
  735. table: node_access
  736. field: nid
  737. relationship: none
  738. group_type: group
  739. admin_label: ''
  740. operator: '='
  741. value: ''
  742. group: 1
  743. exposed: false
  744. expose:
  745. operator_id: ''
  746. label: ''
  747. description: ''
  748. use_operator: false
  749. operator: ''
  750. identifier: ''
  751. required: false
  752. remember: false
  753. multiple: false
  754. remember_roles:
  755. authenticated: authenticated
  756. is_grouped: false
  757. group_info:
  758. label: ''
  759. description: ''
  760. identifier: ''
  761. optional: true
  762. widget: select
  763. multiple: false
  764. remember: false
  765. default_group: All
  766. default_group_multiple: { }
  767. group_items: { }
  768. plugin_id: node_access
  769. defaults:
  770. filters: false
  771. filter_groups: false
  772. sorts: false
  773. filter_groups:
  774. operator: AND
  775. groups:
  776. 1: AND
  777. sorts:
  778. event_passed_upcoming_sort:
  779. id: event_passed_upcoming_sort
  780. table: node
  781. field: event_passed_upcoming_sort
  782. relationship: none
  783. group_type: group
  784. admin_label: ''
  785. order: ASC
  786. exposed: false
  787. expose:
  788. label: ''
  789. granularity: minute
  790. entity_type: node
  791. plugin_id: event_passed_upcoming_sort
  792. cache_metadata:
  793. max-age: -1
  794. contexts:
  795. - 'languages:language_content'
  796. - 'languages:language_interface'
  797. - url
  798. - url.query_args
  799. - 'user.node_grants:view'
  800. - user.permissions
  801. tags: { }