views.view.comments_recent.yml

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.