You are here

views.view.archive.yml in Drupal 8

core/modules/node/config/optional/views.view.archive.yml

File

core/modules/node/config/optional/views.view.archive.yml
View source
  1. langcode: en
  2. status: false
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.teaser
  6. module:
  7. - node
  8. - user
  9. id: archive
  10. label: Archive
  11. module: node
  12. description: 'All content, by month.'
  13. tag: default
  14. base_table: node_field_data
  15. base_field: nid
  16. display:
  17. default:
  18. id: default
  19. display_title: Master
  20. display_plugin: default
  21. position: 0
  22. display_options:
  23. query:
  24. type: views_query
  25. options:
  26. query_comment: ''
  27. disable_sql_rewrite: false
  28. distinct: false
  29. replica: false
  30. query_tags: { }
  31. title: 'Monthly archive'
  32. access:
  33. type: perm
  34. options:
  35. perm: 'access content'
  36. cache:
  37. type: tag
  38. options: { }
  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: mini
  51. options:
  52. items_per_page: 10
  53. offset: 0
  54. id: 0
  55. total_pages: 0
  56. expose:
  57. items_per_page: false
  58. items_per_page_label: 'Items per page'
  59. items_per_page_options: '5, 10, 25, 50'
  60. items_per_page_options_all: false
  61. items_per_page_options_all_label: '- All -'
  62. offset: false
  63. offset_label: Offset
  64. tags:
  65. previous: ‹‹
  66. next: ››
  67. sorts:
  68. created:
  69. id: created
  70. table: node_field_data
  71. field: created
  72. order: DESC
  73. plugin_id: date
  74. relationship: none
  75. group_type: group
  76. admin_label: ''
  77. exposed: false
  78. expose:
  79. label: ''
  80. granularity: second
  81. entity_type: node
  82. entity_field: created
  83. arguments:
  84. created_year_month:
  85. id: created_year_month
  86. table: node_field_data
  87. field: created_year_month
  88. default_action: summary
  89. exception:
  90. title_enable: true
  91. title_enable: true
  92. title: '{{ arguments.created_year_month }}'
  93. default_argument_type: fixed
  94. summary:
  95. sort_order: desc
  96. format: default_summary
  97. summary_options:
  98. override: true
  99. items_per_page: 30
  100. specify_validation: true
  101. plugin_id: date_year_month
  102. entity_type: node
  103. filters:
  104. status:
  105. id: status
  106. table: node_field_data
  107. field: status
  108. value: '1'
  109. group: 0
  110. expose:
  111. operator: '0'
  112. operator_limit_selection: false
  113. operator_list: { }
  114. plugin_id: boolean
  115. entity_type: node
  116. entity_field: status
  117. langcode:
  118. id: langcode
  119. table: node_field_data
  120. field: langcode
  121. relationship: none
  122. group_type: group
  123. admin_label: ''
  124. operator: in
  125. value:
  126. '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
  127. group: 1
  128. exposed: false
  129. expose:
  130. operator_id: ''
  131. label: ''
  132. description: ''
  133. use_operator: false
  134. operator: ''
  135. identifier: ''
  136. required: false
  137. remember: false
  138. multiple: false
  139. remember_roles:
  140. authenticated: authenticated
  141. reduce: false
  142. operator_limit_selection: false
  143. operator_list: { }
  144. is_grouped: false
  145. group_info:
  146. label: ''
  147. description: ''
  148. identifier: ''
  149. optional: true
  150. widget: select
  151. multiple: false
  152. remember: false
  153. default_group: All
  154. default_group_multiple: { }
  155. group_items: { }
  156. plugin_id: language
  157. entity_type: node
  158. entity_field: langcode
  159. style:
  160. type: default
  161. options:
  162. grouping: { }
  163. row_class: ''
  164. default_row_class: true
  165. uses_fields: false
  166. row:
  167. type: 'entity:node'
  168. options:
  169. view_mode: teaser
  170. header: { }
  171. footer: { }
  172. empty: { }
  173. relationships: { }
  174. fields: { }
  175. display_extenders: { }
  176. cache_metadata:
  177. contexts:
  178. - 'languages:language_interface'
  179. - url
  180. - url.query_args
  181. - 'user.node_grants:view'
  182. - user.permissions
  183. max-age: -1
  184. tags: { }
  185. block_1:
  186. id: block_1
  187. display_title: Block
  188. display_plugin: block
  189. position: 1
  190. display_options:
  191. query:
  192. type: views_query
  193. options: { }
  194. defaults:
  195. arguments: false
  196. arguments:
  197. created_year_month:
  198. id: created_year_month
  199. table: node_field_data
  200. field: created_year_month
  201. default_action: summary
  202. exception:
  203. title_enable: true
  204. title_enable: true
  205. title: '{{ arguments.created_year_month }}'
  206. default_argument_type: fixed
  207. summary:
  208. format: default_summary
  209. summary_options:
  210. items_per_page: 30
  211. specify_validation: true
  212. plugin_id: date_year_month
  213. entity_type: node
  214. display_extenders: { }
  215. cache_metadata:
  216. contexts:
  217. - 'languages:language_interface'
  218. - url
  219. - url.query_args
  220. - 'user.node_grants:view'
  221. - user.permissions
  222. max-age: -1
  223. tags: { }
  224. page_1:
  225. id: page_1
  226. display_title: Page
  227. display_plugin: page
  228. position: 2
  229. display_options:
  230. query:
  231. type: views_query
  232. options: { }
  233. path: archive
  234. display_extenders: { }
  235. cache_metadata:
  236. contexts:
  237. - 'languages:language_interface'
  238. - url
  239. - url.query_args
  240. - 'user.node_grants:view'
  241. - user.permissions
  242. max-age: -1
  243. tags: { }