You are here

views.view.top_viewed_nodes.yml in Node view count 8

config/optional/views.view.top_viewed_nodes.yml

File

config/optional/views.view.top_viewed_nodes.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - node
  6. id: top_viewed_nodes
  7. label: 'Top viewed nodes'
  8. module: views
  9. description: ''
  10. tag: ''
  11. base_table: node_field_data
  12. base_field: nid
  13. core: 8.x
  14. display:
  15. default:
  16. display_plugin: default
  17. id: default
  18. display_title: Master
  19. position: 0
  20. display_options:
  21. access:
  22. type: none
  23. options: { }
  24. cache:
  25. type: none
  26. options: { }
  27. query:
  28. type: views_query
  29. options:
  30. disable_sql_rewrite: false
  31. distinct: false
  32. replica: false
  33. query_comment: ''
  34. query_tags: { }
  35. exposed_form:
  36. type: basic
  37. options:
  38. submit_button: Apply
  39. reset_button: false
  40. reset_button_label: Reset
  41. exposed_sorts_label: 'Sort by'
  42. expose_sort_order: true
  43. sort_asc_label: Asc
  44. sort_desc_label: Desc
  45. pager:
  46. type: some
  47. options:
  48. items_per_page: 10
  49. offset: 0
  50. style:
  51. type: default
  52. options:
  53. grouping: { }
  54. row_class: ''
  55. default_row_class: true
  56. uses_fields: false
  57. row:
  58. type: fields
  59. options:
  60. inline: { }
  61. separator: ''
  62. hide_empty: false
  63. default_field_elements: true
  64. fields:
  65. title:
  66. id: title
  67. table: node_field_data
  68. field: title
  69. relationship: none
  70. group_type: group
  71. admin_label: ''
  72. label: ''
  73. exclude: false
  74. alter:
  75. alter_text: false
  76. text: ''
  77. make_link: false
  78. path: ''
  79. absolute: false
  80. external: false
  81. replace_spaces: false
  82. path_case: none
  83. trim_whitespace: false
  84. alt: ''
  85. rel: ''
  86. link_class: ''
  87. prefix: ''
  88. suffix: ''
  89. target: ''
  90. nl2br: false
  91. max_length: 0
  92. word_boundary: false
  93. ellipsis: false
  94. more_link: false
  95. more_link_text: ''
  96. more_link_path: ''
  97. strip_tags: false
  98. trim: false
  99. preserve_tags: ''
  100. html: false
  101. element_type: ''
  102. element_class: ''
  103. element_label_type: ''
  104. element_label_class: ''
  105. element_label_colon: false
  106. element_wrapper_type: ''
  107. element_wrapper_class: ''
  108. element_default_classes: true
  109. empty: ''
  110. hide_empty: false
  111. empty_zero: false
  112. hide_alter_empty: true
  113. click_sort_column: value
  114. type: string
  115. settings:
  116. link_to_entity: true
  117. group_column: value
  118. group_columns: { }
  119. group_rows: true
  120. delta_limit: 0
  121. delta_offset: 0
  122. delta_reversed: false
  123. delta_first_last: false
  124. multi_type: separator
  125. separator: ', '
  126. field_api_classes: false
  127. entity_type: node
  128. entity_field: title
  129. plugin_id: field
  130. nid:
  131. id: nid
  132. table: nodeviewcount
  133. field: nid
  134. relationship: none
  135. group_type: count
  136. admin_label: ''
  137. label: 'Count views'
  138. exclude: false
  139. alter:
  140. alter_text: false
  141. text: ''
  142. make_link: false
  143. path: ''
  144. absolute: false
  145. external: false
  146. replace_spaces: false
  147. path_case: none
  148. trim_whitespace: false
  149. alt: ''
  150. rel: ''
  151. link_class: ''
  152. prefix: ''
  153. suffix: ''
  154. target: ''
  155. nl2br: false
  156. max_length: 0
  157. word_boundary: true
  158. ellipsis: true
  159. more_link: false
  160. more_link_text: ''
  161. more_link_path: ''
  162. strip_tags: false
  163. trim: false
  164. preserve_tags: ''
  165. html: false
  166. element_type: ''
  167. element_class: ''
  168. element_label_type: ''
  169. element_label_class: ''
  170. element_label_colon: true
  171. element_wrapper_type: ''
  172. element_wrapper_class: ''
  173. element_default_classes: true
  174. empty: ''
  175. hide_empty: false
  176. empty_zero: false
  177. hide_alter_empty: true
  178. set_precision: false
  179. precision: 0
  180. decimal: .
  181. separator: ','
  182. format_plural: false
  183. format_plural_string: "1\x03@count"
  184. prefix: ''
  185. suffix: ''
  186. plugin_id: numeric
  187. filters:
  188. status:
  189. value: true
  190. table: node_field_data
  191. field: status
  192. plugin_id: boolean
  193. entity_type: node
  194. entity_field: status
  195. id: status
  196. expose:
  197. operator: ''
  198. group: 1
  199. sorts:
  200. nid:
  201. id: nid
  202. table: nodeviewcount
  203. field: nid
  204. relationship: none
  205. group_type: count
  206. admin_label: ''
  207. order: DESC
  208. exposed: false
  209. expose:
  210. label: ''
  211. plugin_id: standard
  212. header: { }
  213. footer: { }
  214. empty: { }
  215. relationships: { }
  216. arguments: { }
  217. display_extenders: { }
  218. title: 'Top viewed nodes'
  219. group_by: true
  220. cache_metadata:
  221. max-age: -1
  222. contexts:
  223. - 'languages:language_content'
  224. - 'languages:language_interface'
  225. - 'user.node_grants:view'
  226. tags: { }
  227. block:
  228. display_plugin: block
  229. id: block
  230. display_title: Block
  231. position: 1
  232. display_options:
  233. display_extenders: { }
  234. block_description: 'Top viewed nodes'
  235. cache_metadata:
  236. max-age: -1
  237. contexts:
  238. - 'languages:language_content'
  239. - 'languages:language_interface'
  240. - 'user.node_grants:view'
  241. tags: { }