You are here

views.view.comments_recent.yml in Zircon Profile 8

core/modules/comment/config/optional/views.view.comments_recent.yml

File

core/modules/comment/config/optional/views.view.comments_recent.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - comment
  6. - node
  7. - user
  8. id: comments_recent
  9. label: 'Recent comments'
  10. module: views
  11. description: 'Recent comments.'
  12. tag: default
  13. base_table: comment_field_data
  14. base_field: cid
  15. core: 8.x
  16. display:
  17. default:
  18. display_plugin: default
  19. id: default
  20. display_title: Master
  21. position: 0
  22. display_options:
  23. access:
  24. type: perm
  25. options:
  26. perm: 'access comments'
  27. cache:
  28. type: tag
  29. query:
  30. type: views_query
  31. exposed_form:
  32. type: basic
  33. pager:
  34. type: some
  35. options:
  36. items_per_page: 10
  37. offset: 0
  38. style:
  39. type: html_list
  40. options:
  41. grouping: { }
  42. row_class: ''
  43. default_row_class: true
  44. type: ul
  45. wrapper_class: item-list
  46. class: ''
  47. row:
  48. type: fields
  49. options:
  50. default_field_elements: true
  51. inline:
  52. subject: subject
  53. changed: changed
  54. separator: ' '
  55. hide_empty: false
  56. relationships:
  57. node:
  58. field: node
  59. id: node
  60. table: comment_field_data
  61. required: true
  62. plugin_id: standard
  63. fields:
  64. subject:
  65. id: subject
  66. table: comment_field_data
  67. field: subject
  68. relationship: none
  69. type: string
  70. settings:
  71. link_to_entity: true
  72. plugin_id: field
  73. group_type: group
  74. admin_label: ''
  75. label: ''
  76. exclude: false
  77. alter:
  78. alter_text: false
  79. text: ''
  80. make_link: false
  81. path: ''
  82. absolute: false
  83. external: false
  84. replace_spaces: false
  85. path_case: none
  86. trim_whitespace: false
  87. alt: ''
  88. rel: ''
  89. link_class: ''
  90. prefix: ''
  91. suffix: ''
  92. target: ''
  93. nl2br: false
  94. max_length: 0
  95. word_boundary: false
  96. ellipsis: false
  97. more_link: false
  98. more_link_text: ''
  99. more_link_path: ''
  100. strip_tags: false
  101. trim: false
  102. preserve_tags: ''
  103. html: false
  104. element_type: ''
  105. element_class: ''
  106. element_label_type: ''
  107. element_label_class: ''
  108. element_label_colon: false
  109. element_wrapper_type: ''
  110. element_wrapper_class: ''
  111. element_default_classes: true
  112. empty: ''
  113. hide_empty: false
  114. empty_zero: false
  115. hide_alter_empty: true
  116. entity_type: comment
  117. entity_field: subject
  118. changed:
  119. id: changed
  120. table: comment_field_data
  121. field: changed
  122. relationship: none
  123. plugin_id: field
  124. group_type: group
  125. admin_label: ''
  126. label: ''
  127. exclude: false
  128. alter:
  129. alter_text: false
  130. text: ''
  131. make_link: false
  132. path: ''
  133. absolute: false
  134. external: false
  135. replace_spaces: false
  136. path_case: none
  137. trim_whitespace: false
  138. alt: ''
  139. rel: ''
  140. link_class: ''
  141. prefix: ''
  142. suffix: ''
  143. target: ''
  144. nl2br: false
  145. max_length: 0
  146. word_boundary: true
  147. ellipsis: true
  148. more_link: false
  149. more_link_text: ''
  150. more_link_path: ''
  151. strip_tags: false
  152. trim: false
  153. preserve_tags: ''
  154. html: false
  155. element_type: ''
  156. element_class: ''
  157. element_label_type: ''
  158. element_label_class: ''
  159. element_label_colon: false
  160. element_wrapper_type: ''
  161. element_wrapper_class: ''
  162. element_default_classes: true
  163. empty: ''
  164. hide_empty: false
  165. empty_zero: false
  166. hide_alter_empty: true
  167. type: timestamp_ago
  168. settings:
  169. future_format: '@interval hence'
  170. past_format: '@interval ago'
  171. granularity: 2
  172. entity_type: comment
  173. entity_field: changed
  174. filters:
  175. status:
  176. value: true
  177. table: comment_field_data
  178. field: status
  179. id: status
  180. plugin_id: boolean
  181. expose:
  182. operator: ''
  183. group: 1
  184. entity_type: comment
  185. entity_field: status
  186. status_node:
  187. value: true
  188. table: node_field_data
  189. field: status
  190. relationship: node
  191. id: status_node
  192. plugin_id: boolean
  193. expose:
  194. operator: ''
  195. group: 1
  196. entity_type: node
  197. entity_field: status
  198. sorts:
  199. created:
  200. id: created
  201. table: comment_field_data
  202. field: created
  203. relationship: none
  204. group_type: group
  205. admin_label: ''
  206. order: DESC
  207. exposed: false
  208. expose:
  209. label: ''
  210. plugin_id: date
  211. entity_type: comment
  212. entity_field: created
  213. cid:
  214. id: cid
  215. table: comment_field_data
  216. field: cid
  217. relationship: none
  218. group_type: group
  219. admin_label: ''
  220. order: DESC
  221. exposed: false
  222. plugin_id: field
  223. entity_type: comment
  224. entity_field: cid
  225. title: 'Recent comments'
  226. empty:
  227. area_text_custom:
  228. id: area_text_custom
  229. table: views
  230. field: area_text_custom
  231. relationship: none
  232. group_type: group
  233. admin_label: ''
  234. label: ''
  235. empty: true
  236. content: 'No comments available.'
  237. tokenize: false
  238. plugin_id: text_custom
  239. display_extenders: { }
  240. cache_metadata:
  241. contexts:
  242. - 'languages:language_content'
  243. - 'languages:language_interface'
  244. - user.permissions
  245. max-age: -1
  246. tags: { }
  247. block_1:
  248. display_plugin: block
  249. id: block_1
  250. display_title: Block
  251. position: 1
  252. display_options:
  253. block_description: 'Recent comments'
  254. block_category: 'Lists (Views)'
  255. allow:
  256. items_per_page: true
  257. display_extenders: { }
  258. cache_metadata:
  259. contexts:
  260. - 'languages:language_content'
  261. - 'languages:language_interface'
  262. - user.permissions
  263. max-age: -1
  264. tags: { }