You are here

views.view.activity_stream_notifications.yml in Open Social 8.2

modules/social_features/social_activity/config/install/views.view.activity_stream_notifications.yml

File

modules/social_features/social_activity/config/install/views.view.activity_stream_notifications.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.activity.notification
  6. - core.entity_view_mode.activity.notification_archive
  7. - user.role.authenticated
  8. module:
  9. - activity_creator
  10. - activity_viewer
  11. - options
  12. - user
  13. id: activity_stream_notifications
  14. label: 'Activity stream notifications'
  15. module: views
  16. description: 'Activity stream notifications on a profile'
  17. tag: ''
  18. base_table: activity_field_data
  19. base_field: 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: role
  30. options:
  31. role:
  32. authenticated: authenticated
  33. cache:
  34. type: none
  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: some
  56. options:
  57. items_per_page: 10
  58. offset: 0
  59. style:
  60. type: default
  61. options:
  62. row_class: ''
  63. default_row_class: false
  64. uses_fields: false
  65. row:
  66. type: 'entity:activity'
  67. options:
  68. relationship: none
  69. view_mode: notification_archive
  70. fields:
  71. rendered_entity:
  72. table: activity
  73. field: rendered_entity
  74. id: rendered_entity
  75. entity_type: null
  76. entity_field: null
  77. plugin_id: rendered_entity
  78. relationship: none
  79. group_type: group
  80. admin_label: ''
  81. label: ''
  82. exclude: false
  83. alter:
  84. alter_text: false
  85. text: ''
  86. make_link: false
  87. path: ''
  88. absolute: false
  89. external: false
  90. replace_spaces: false
  91. path_case: none
  92. trim_whitespace: false
  93. alt: ''
  94. rel: ''
  95. link_class: ''
  96. prefix: ''
  97. suffix: ''
  98. target: ''
  99. nl2br: false
  100. max_length: 0
  101. word_boundary: true
  102. ellipsis: true
  103. more_link: false
  104. more_link_text: ''
  105. more_link_path: ''
  106. strip_tags: false
  107. trim: false
  108. preserve_tags: ''
  109. html: false
  110. element_type: ''
  111. element_class: ''
  112. element_label_type: ''
  113. element_label_class: ''
  114. element_label_colon: true
  115. element_wrapper_type: ''
  116. element_wrapper_class: ''
  117. element_default_classes: true
  118. empty: ''
  119. hide_empty: false
  120. empty_zero: false
  121. hide_alter_empty: true
  122. view_mode: default
  123. filters:
  124. activity_visibility_access_filter:
  125. id: activity_visibility_access_filter
  126. table: activity
  127. field: activity_visibility_access_filter
  128. relationship: none
  129. group_type: group
  130. admin_label: ''
  131. operator: '='
  132. value: ''
  133. group: 1
  134. exposed: false
  135. expose:
  136. operator_id: ''
  137. label: ''
  138. description: ''
  139. use_operator: false
  140. operator: ''
  141. identifier: ''
  142. required: false
  143. remember: false
  144. multiple: false
  145. remember_roles:
  146. authenticated: authenticated
  147. is_grouped: false
  148. group_info:
  149. label: ''
  150. description: ''
  151. identifier: ''
  152. optional: true
  153. widget: select
  154. multiple: false
  155. remember: false
  156. default_group: All
  157. default_group_multiple: { }
  158. group_items: { }
  159. entity_type: activity
  160. plugin_id: activity_visibility_access
  161. field_activity_destinations_value:
  162. id: field_activity_destinations_value
  163. table: activity__field_activity_destinations
  164. field: field_activity_destinations_value
  165. relationship: none
  166. group_type: group
  167. admin_label: ''
  168. operator: or
  169. value:
  170. notifications: notifications
  171. group: 1
  172. exposed: false
  173. expose:
  174. operator_id: ''
  175. label: ''
  176. description: ''
  177. use_operator: false
  178. operator: ''
  179. identifier: ''
  180. required: false
  181. remember: false
  182. multiple: false
  183. remember_roles:
  184. authenticated: authenticated
  185. reduce: false
  186. is_grouped: false
  187. group_info:
  188. label: ''
  189. description: ''
  190. identifier: ''
  191. optional: true
  192. widget: select
  193. multiple: false
  194. remember: false
  195. default_group: All
  196. default_group_multiple: { }
  197. group_items: { }
  198. reduce_duplicates: false
  199. plugin_id: list_field
  200. status:
  201. id: status
  202. table: activity_field_data
  203. field: status
  204. relationship: none
  205. group_type: group
  206. admin_label: ''
  207. operator: '='
  208. value: '1'
  209. group: 1
  210. exposed: false
  211. expose:
  212. operator_id: ''
  213. label: ''
  214. description: ''
  215. use_operator: false
  216. operator: ''
  217. identifier: ''
  218. required: false
  219. remember: false
  220. multiple: false
  221. remember_roles:
  222. authenticated: authenticated
  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. entity_type: activity
  236. entity_field: status
  237. plugin_id: boolean
  238. sorts:
  239. created:
  240. id: created
  241. table: activity_field_data
  242. field: created
  243. relationship: none
  244. group_type: group
  245. admin_label: ''
  246. order: DESC
  247. exposed: false
  248. expose:
  249. label: ''
  250. granularity: second
  251. entity_type: activity
  252. entity_field: created
  253. plugin_id: date
  254. title: Notifications
  255. header: { }
  256. footer: { }
  257. empty:
  258. area:
  259. id: area
  260. table: views
  261. field: area
  262. relationship: none
  263. group_type: group
  264. admin_label: ''
  265. empty: true
  266. tokenize: false
  267. content:
  268. value: 'You do not have any notifications.'
  269. format: basic_html
  270. plugin_id: text
  271. relationships: { }
  272. arguments:
  273. field_activity_recipient_user_target_id:
  274. id: field_activity_recipient_user_target_id
  275. table: activity__field_activity_recipient_user
  276. field: field_activity_recipient_user_target_id
  277. relationship: none
  278. group_type: group
  279. admin_label: ''
  280. default_action: default
  281. exception:
  282. value: ''
  283. title_enable: false
  284. title: All
  285. title_enable: false
  286. title: ''
  287. default_argument_type: current_user
  288. default_argument_options: { }
  289. default_argument_skip_url: false
  290. summary_options:
  291. base_path: ''
  292. count: true
  293. items_per_page: 25
  294. override: false
  295. summary:
  296. sort_order: asc
  297. number_of_records: 0
  298. format: default_summary
  299. specify_validation: false
  300. validate:
  301. type: none
  302. fail: 'not found'
  303. validate_options: { }
  304. break_phrase: false
  305. not: false
  306. plugin_id: numeric
  307. display_extenders: { }
  308. use_more: false
  309. use_more_always: true
  310. use_more_text: 'All notifications'
  311. cache_metadata:
  312. max-age: -1
  313. contexts:
  314. - 'languages:language_interface'
  315. - url
  316. - user
  317. - user.roles
  318. tags:
  319. - 'config:core.entity_view_display.activity.activity.default'
  320. - 'config:core.entity_view_display.activity.activity.notification'
  321. - 'config:core.entity_view_display.activity.activity.notification_archive'
  322. block_1:
  323. display_plugin: block
  324. id: block_1
  325. display_title: Block
  326. position: 2
  327. display_options:
  328. display_extenders: { }
  329. style:
  330. type: default
  331. options:
  332. row_class: ''
  333. default_row_class: false
  334. uses_fields: false
  335. defaults:
  336. style: false
  337. row: false
  338. row:
  339. type: 'entity:activity'
  340. options:
  341. relationship: none
  342. view_mode: notification
  343. cache_metadata:
  344. max-age: -1
  345. contexts:
  346. - 'languages:language_interface'
  347. - url
  348. - user
  349. - user.roles
  350. tags:
  351. - 'config:core.entity_view_display.activity.activity.default'
  352. - 'config:core.entity_view_display.activity.activity.notification'
  353. - 'config:core.entity_view_display.activity.activity.notification_archive'
  354. page_1:
  355. display_plugin: page
  356. id: page_1
  357. display_title: Page
  358. position: 1
  359. display_options:
  360. display_extenders: { }
  361. path: notifications
  362. pager:
  363. type: mini
  364. options:
  365. items_per_page: 30
  366. offset: 0
  367. id: 0
  368. total_pages: null
  369. tags:
  370. previous: ‹‹
  371. next: ››
  372. expose:
  373. items_per_page: false
  374. items_per_page_label: 'Items per page'
  375. items_per_page_options: '5, 10, 25, 50'
  376. items_per_page_options_all: false
  377. items_per_page_options_all_label: '- All -'
  378. offset: false
  379. offset_label: Offset
  380. defaults:
  381. pager: false
  382. css_class: false
  383. css_class: ''
  384. cache_metadata:
  385. max-age: -1
  386. contexts:
  387. - 'languages:language_interface'
  388. - url
  389. - url.query_args
  390. - user
  391. - user.roles
  392. tags:
  393. - 'config:core.entity_view_display.activity.activity.default'
  394. - 'config:core.entity_view_display.activity.activity.notification'
  395. - 'config:core.entity_view_display.activity.activity.notification_archive'