You are here

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

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. display:
  21. default:
  22. display_plugin: default
  23. id: default
  24. display_title: Master
  25. position: 0
  26. display_options:
  27. access:
  28. type: role
  29. options:
  30. role:
  31. authenticated: authenticated
  32. cache:
  33. type: tag
  34. options: { }
  35. query:
  36. type: views_query
  37. options:
  38. disable_sql_rewrite: false
  39. distinct: false
  40. replica: false
  41. query_comment: ''
  42. query_tags: { }
  43. exposed_form:
  44. type: basic
  45. options:
  46. submit_button: Apply
  47. reset_button: false
  48. reset_button_label: Reset
  49. exposed_sorts_label: 'Sort by'
  50. expose_sort_order: true
  51. sort_asc_label: Asc
  52. sort_desc_label: Desc
  53. pager:
  54. type: some
  55. options:
  56. items_per_page: 10
  57. offset: 0
  58. style:
  59. type: default
  60. options:
  61. row_class: ''
  62. default_row_class: false
  63. uses_fields: false
  64. row:
  65. type: 'entity:activity'
  66. options:
  67. relationship: none
  68. view_mode: notification_archive
  69. fields:
  70. rendered_entity:
  71. table: activity
  72. field: rendered_entity
  73. id: rendered_entity
  74. entity_type: null
  75. entity_field: null
  76. plugin_id: rendered_entity
  77. relationship: none
  78. group_type: group
  79. admin_label: ''
  80. label: ''
  81. exclude: false
  82. alter:
  83. alter_text: false
  84. text: ''
  85. make_link: false
  86. path: ''
  87. absolute: false
  88. external: false
  89. replace_spaces: false
  90. path_case: none
  91. trim_whitespace: false
  92. alt: ''
  93. rel: ''
  94. link_class: ''
  95. prefix: ''
  96. suffix: ''
  97. target: ''
  98. nl2br: false
  99. max_length: 0
  100. word_boundary: true
  101. ellipsis: true
  102. more_link: false
  103. more_link_text: ''
  104. more_link_path: ''
  105. strip_tags: false
  106. trim: false
  107. preserve_tags: ''
  108. html: false
  109. element_type: ''
  110. element_class: ''
  111. element_label_type: ''
  112. element_label_class: ''
  113. element_label_colon: true
  114. element_wrapper_type: ''
  115. element_wrapper_class: ''
  116. element_default_classes: true
  117. empty: ''
  118. hide_empty: false
  119. empty_zero: false
  120. hide_alter_empty: true
  121. view_mode: default
  122. filters:
  123. activity_visibility_access_filter:
  124. id: activity_visibility_access_filter
  125. table: activity
  126. field: activity_visibility_access_filter
  127. relationship: none
  128. group_type: group
  129. admin_label: ''
  130. operator: '='
  131. value: ''
  132. group: 1
  133. exposed: false
  134. expose:
  135. operator_id: ''
  136. label: ''
  137. description: ''
  138. use_operator: false
  139. operator: ''
  140. identifier: ''
  141. required: false
  142. remember: false
  143. multiple: false
  144. remember_roles:
  145. authenticated: authenticated
  146. operator_limit_selection: false
  147. operator_list: { }
  148. is_grouped: false
  149. group_info:
  150. label: ''
  151. description: ''
  152. identifier: ''
  153. optional: true
  154. widget: select
  155. multiple: false
  156. remember: false
  157. default_group: All
  158. default_group_multiple: { }
  159. group_items: { }
  160. entity_type: activity
  161. plugin_id: activity_visibility_access
  162. field_activity_destinations_value:
  163. id: field_activity_destinations_value
  164. table: activity__field_activity_destinations
  165. field: field_activity_destinations_value
  166. relationship: none
  167. group_type: group
  168. admin_label: ''
  169. operator: or
  170. value:
  171. notifications: notifications
  172. group: 1
  173. exposed: false
  174. expose:
  175. operator_id: ''
  176. label: ''
  177. description: ''
  178. use_operator: false
  179. operator: ''
  180. identifier: ''
  181. required: false
  182. remember: false
  183. multiple: false
  184. remember_roles:
  185. authenticated: authenticated
  186. reduce: false
  187. operator_limit_selection: false
  188. operator_list: { }
  189. is_grouped: false
  190. group_info:
  191. label: ''
  192. description: ''
  193. identifier: ''
  194. optional: true
  195. widget: select
  196. multiple: false
  197. remember: false
  198. default_group: All
  199. default_group_multiple: { }
  200. group_items: { }
  201. reduce_duplicates: false
  202. plugin_id: list_field
  203. status:
  204. id: status
  205. table: activity_field_data
  206. field: status
  207. relationship: none
  208. group_type: group
  209. admin_label: ''
  210. operator: '='
  211. value: '1'
  212. group: 1
  213. exposed: false
  214. expose:
  215. operator_id: ''
  216. label: ''
  217. description: ''
  218. use_operator: false
  219. operator: ''
  220. identifier: ''
  221. required: false
  222. remember: false
  223. multiple: false
  224. remember_roles:
  225. authenticated: authenticated
  226. operator_limit_selection: false
  227. operator_list: { }
  228. is_grouped: false
  229. group_info:
  230. label: ''
  231. description: ''
  232. identifier: ''
  233. optional: true
  234. widget: select
  235. multiple: false
  236. remember: false
  237. default_group: All
  238. default_group_multiple: { }
  239. group_items: { }
  240. entity_type: activity
  241. entity_field: status
  242. plugin_id: boolean
  243. activity_notification_visibility_access_filter:
  244. id: activity_notification_visibility_access_filter
  245. table: activity
  246. field: activity_notification_visibility_access_filter
  247. relationship: none
  248. group_type: group
  249. admin_label: ''
  250. operator: '='
  251. value: ''
  252. group: 1
  253. exposed: false
  254. expose:
  255. operator_id: ''
  256. label: ''
  257. description: ''
  258. use_operator: false
  259. operator: ''
  260. operator_limit_selection: false
  261. operator_list: { }
  262. identifier: ''
  263. required: false
  264. remember: false
  265. multiple: false
  266. remember_roles:
  267. authenticated: authenticated
  268. is_grouped: false
  269. group_info:
  270. label: ''
  271. description: ''
  272. identifier: ''
  273. optional: true
  274. widget: select
  275. multiple: false
  276. remember: false
  277. default_group: All
  278. default_group_multiple: { }
  279. group_items: { }
  280. entity_type: activity
  281. plugin_id: activity_notification_visibility_access
  282. sorts:
  283. created:
  284. id: created
  285. table: activity_field_data
  286. field: created
  287. relationship: none
  288. group_type: group
  289. admin_label: ''
  290. order: DESC
  291. exposed: false
  292. expose:
  293. label: ''
  294. granularity: second
  295. entity_type: activity
  296. entity_field: created
  297. plugin_id: date
  298. title: Notifications
  299. header: { }
  300. footer: { }
  301. empty:
  302. area:
  303. id: area
  304. table: views
  305. field: area
  306. relationship: none
  307. group_type: group
  308. admin_label: ''
  309. empty: true
  310. tokenize: false
  311. content:
  312. value: 'You do not have any notifications.'
  313. format: basic_html
  314. plugin_id: text
  315. relationships: { }
  316. arguments:
  317. field_activity_recipient_user_target_id:
  318. id: field_activity_recipient_user_target_id
  319. table: activity__field_activity_recipient_user
  320. field: field_activity_recipient_user_target_id
  321. relationship: none
  322. group_type: group
  323. admin_label: ''
  324. default_action: default
  325. exception:
  326. value: ''
  327. title_enable: false
  328. title: All
  329. title_enable: false
  330. title: ''
  331. default_argument_type: current_user
  332. default_argument_options: { }
  333. default_argument_skip_url: false
  334. summary_options:
  335. base_path: ''
  336. count: true
  337. items_per_page: 25
  338. override: false
  339. summary:
  340. sort_order: asc
  341. number_of_records: 0
  342. format: default_summary
  343. specify_validation: false
  344. validate:
  345. type: none
  346. fail: 'not found'
  347. validate_options: { }
  348. break_phrase: false
  349. not: false
  350. plugin_id: numeric
  351. display_extenders: { }
  352. use_more: false
  353. use_more_always: true
  354. use_more_text: 'All notifications'
  355. cache_metadata:
  356. max-age: -1
  357. contexts:
  358. - 'languages:language_interface'
  359. - url
  360. - user
  361. - user.roles
  362. tags:
  363. - 'config:core.entity_view_display.activity.activity.default'
  364. - 'config:core.entity_view_display.activity.activity.notification'
  365. - 'config:core.entity_view_display.activity.activity.notification_archive'
  366. block_1:
  367. display_plugin: block
  368. id: block_1
  369. display_title: Block
  370. position: 2
  371. display_options:
  372. display_extenders: { }
  373. style:
  374. type: html_list
  375. options:
  376. row_class: ''
  377. default_row_class: false
  378. uses_fields: false
  379. type: ul
  380. wrapper_class: item-list
  381. class: scrollable-menu
  382. defaults:
  383. style: false
  384. row: false
  385. row:
  386. type: 'entity:activity'
  387. options:
  388. relationship: none
  389. view_mode: notification
  390. cache_metadata:
  391. max-age: -1
  392. contexts:
  393. - 'languages:language_interface'
  394. - url
  395. - user
  396. - user.roles
  397. tags:
  398. - 'config:core.entity_view_display.activity.activity.default'
  399. - 'config:core.entity_view_display.activity.activity.notification'
  400. - 'config:core.entity_view_display.activity.activity.notification_archive'
  401. page_1:
  402. display_plugin: page
  403. id: page_1
  404. display_title: Page
  405. position: 1
  406. display_options:
  407. display_extenders: { }
  408. path: notifications
  409. pager:
  410. type: mini
  411. options:
  412. items_per_page: 20
  413. offset: 0
  414. id: 0
  415. total_pages: null
  416. tags:
  417. previous: ‹‹
  418. next: ››
  419. expose:
  420. items_per_page: false
  421. items_per_page_label: 'Items per page'
  422. items_per_page_options: '5, 10, 25, 50'
  423. items_per_page_options_all: false
  424. items_per_page_options_all_label: '- All -'
  425. offset: false
  426. offset_label: Offset
  427. defaults:
  428. pager: false
  429. css_class: false
  430. css_class: ''
  431. cache_metadata:
  432. max-age: -1
  433. contexts:
  434. - 'languages:language_interface'
  435. - url
  436. - url.query_args
  437. - user
  438. - user.roles
  439. tags:
  440. - 'config:core.entity_view_display.activity.activity.default'
  441. - 'config:core.entity_view_display.activity.activity.notification'
  442. - 'config:core.entity_view_display.activity.activity.notification_archive'