You are here

views.view.comments_recent.yml in Drupal 8

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