You are here

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