You are here

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

modules/social_features/social_private_message/config/install/views.view.inbox.yml

File

modules/social_features/social_private_message/config/install/views.view.inbox.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.private_message_thread.inbox
  6. module:
  7. - private_message
  8. - user
  9. id: inbox
  10. label: Inbox
  11. module: views
  12. description: ''
  13. tag: ''
  14. base_table: private_message_threads
  15. base_field: id
  16. core: 8.x
  17. display:
  18. default:
  19. display_plugin: default
  20. id: default
  21. display_title: Master
  22. position: 0
  23. display_options:
  24. access:
  25. type: perm
  26. options:
  27. perm: 'use private messaging system'
  28. cache:
  29. type: tag
  30. options: { }
  31. query:
  32. type: views_query
  33. options:
  34. disable_sql_rewrite: false
  35. distinct: false
  36. replica: false
  37. query_comment: ''
  38. query_tags: { }
  39. exposed_form:
  40. type: basic
  41. options:
  42. submit_button: Apply
  43. reset_button: false
  44. reset_button_label: Reset
  45. exposed_sorts_label: 'Sort by'
  46. expose_sort_order: true
  47. sort_asc_label: Asc
  48. sort_desc_label: Desc
  49. pager:
  50. type: full
  51. options:
  52. items_per_page: 10
  53. offset: 0
  54. id: 0
  55. total_pages: null
  56. tags:
  57. previous: ‹‹
  58. next: ››
  59. first: '« First'
  60. last: 'Last »'
  61. expose:
  62. items_per_page: false
  63. items_per_page_label: 'Items per page'
  64. items_per_page_options: '5, 10, 25, 50'
  65. items_per_page_options_all: false
  66. items_per_page_options_all_label: '- All -'
  67. offset: false
  68. offset_label: Offset
  69. quantity: 9
  70. style:
  71. type: default
  72. row:
  73. type: 'entity:private_message_thread'
  74. options:
  75. relationship: none
  76. view_mode: inbox
  77. fields:
  78. rendered_entity:
  79. table: private_message_threads
  80. field: rendered_entity
  81. id: rendered_entity
  82. entity_type: null
  83. entity_field: null
  84. plugin_id: rendered_entity
  85. relationship: none
  86. group_type: group
  87. admin_label: ''
  88. label: ''
  89. exclude: false
  90. alter:
  91. alter_text: false
  92. text: ''
  93. make_link: false
  94. path: ''
  95. absolute: false
  96. external: false
  97. replace_spaces: false
  98. path_case: none
  99. trim_whitespace: false
  100. alt: ''
  101. rel: ''
  102. link_class: ''
  103. prefix: ''
  104. suffix: ''
  105. target: ''
  106. nl2br: false
  107. max_length: 0
  108. word_boundary: true
  109. ellipsis: true
  110. more_link: false
  111. more_link_text: ''
  112. more_link_path: ''
  113. strip_tags: false
  114. trim: false
  115. preserve_tags: ''
  116. html: false
  117. element_type: ''
  118. element_class: ''
  119. element_label_type: ''
  120. element_label_class: ''
  121. element_label_colon: true
  122. element_wrapper_type: ''
  123. element_wrapper_class: ''
  124. element_default_classes: true
  125. empty: ''
  126. hide_empty: false
  127. empty_zero: false
  128. hide_alter_empty: true
  129. view_mode: default
  130. filters: { }
  131. sorts:
  132. updated:
  133. id: updated
  134. table: private_message_threads
  135. field: updated
  136. relationship: none
  137. group_type: max
  138. admin_label: sort_updated
  139. order: DESC
  140. exposed: false
  141. expose:
  142. label: ''
  143. granularity: second
  144. entity_type: private_message_thread
  145. entity_field: updated
  146. plugin_id: date
  147. title: Inbox
  148. header: { }
  149. footer: { }
  150. empty:
  151. area:
  152. id: area
  153. table: views
  154. field: area
  155. relationship: none
  156. group_type: group
  157. admin_label: ''
  158. empty: true
  159. tokenize: false
  160. content:
  161. value: 'You do not have any private messages yet. Click on the button on the right to start a new message.'
  162. format: basic_html
  163. plugin_id: text
  164. relationships:
  165. private_messages_target_id:
  166. id: private_messages_target_id
  167. table: private_message_thread__private_messages
  168. field: private_messages_target_id
  169. relationship: none
  170. group_type: group
  171. admin_label: 'Private Message'
  172. required: false
  173. entity_type: private_message_thread
  174. entity_field: private_messages
  175. plugin_id: standard
  176. last_delete_time_target_id:
  177. id: last_delete_time_target_id
  178. table: private_message_thread__last_delete_time
  179. field: last_delete_time_target_id
  180. relationship: none
  181. group_type: group
  182. admin_label: 'Private Message Thread Delete Time'
  183. required: false
  184. entity_type: private_message_thread
  185. entity_field: last_delete_time
  186. plugin_id: standard
  187. arguments:
  188. members_target_id:
  189. id: members_target_id
  190. table: private_message_thread__members
  191. field: members_target_id
  192. relationship: none
  193. group_type: group
  194. admin_label: ''
  195. default_action: default
  196. exception:
  197. value: all
  198. title_enable: false
  199. title: All
  200. title_enable: false
  201. title: ''
  202. default_argument_type: current_user
  203. default_argument_options: { }
  204. default_argument_skip_url: false
  205. summary_options:
  206. base_path: ''
  207. count: true
  208. items_per_page: 25
  209. override: false
  210. summary:
  211. sort_order: asc
  212. number_of_records: 0
  213. format: default_summary
  214. specify_validation: false
  215. validate:
  216. type: none
  217. fail: 'not found'
  218. validate_options: { }
  219. break_phrase: false
  220. not: false
  221. entity_type: private_message_thread
  222. entity_field: members
  223. plugin_id: numeric
  224. display_extenders: { }
  225. group_by: true
  226. filter_groups:
  227. operator: AND
  228. groups: { }
  229. cache_metadata:
  230. max-age: -1
  231. contexts:
  232. - 'languages:language_interface'
  233. - url
  234. - url.query_args
  235. - user
  236. - user.permissions
  237. tags:
  238. - 'config:core.entity_view_display.private_message_thread.private_message_thread.default'
  239. - 'config:core.entity_view_display.private_message_thread.private_message_thread.inbox'
  240. inbox:
  241. display_plugin: page
  242. id: inbox
  243. display_title: Page
  244. position: 1
  245. display_options:
  246. display_extenders: { }
  247. path: user/inbox
  248. cache_metadata:
  249. max-age: -1
  250. contexts:
  251. - 'languages:language_interface'
  252. - url
  253. - url.query_args
  254. - user
  255. - user.permissions
  256. tags:
  257. - 'config:core.entity_view_display.private_message_thread.private_message_thread.default'
  258. - 'config:core.entity_view_display.private_message_thread.private_message_thread.inbox'