You are here

views.view.view_node_type_ab_rest.yml in Views Custom Cache Tags 8

modules/demo/config/install/views.view.view_node_type_ab_rest.yml

File

modules/demo/config/install/views.view.view_node_type_ab_rest.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.teaser
  6. module:
  7. - node
  8. - rest
  9. - serialization
  10. - user
  11. - views_custom_cache_tag
  12. _core:
  13. default_config_hash: UP6Mfn5ZmnDBrTJRHjT0bFszPG_SofJqAKk78INdqcs
  14. id: view_node_type_ab_rest
  15. label: 'View node type AB REST'
  16. module: views
  17. description: ''
  18. tag: ''
  19. base_table: node_field_data
  20. base_field: nid
  21. core: 8.x
  22. display:
  23. default:
  24. display_plugin: default
  25. id: default
  26. display_title: Master
  27. position: 0
  28. display_options:
  29. access:
  30. type: perm
  31. options:
  32. perm: 'access content'
  33. cache:
  34. type: custom_tag
  35. options:
  36. custom_tag: 'node:type:{{ raw_arguments.type }}'
  37. query:
  38. type: views_query
  39. options:
  40. disable_sql_rewrite: false
  41. distinct: false
  42. replica: false
  43. query_comment: ''
  44. query_tags: { }
  45. exposed_form:
  46. type: basic
  47. options:
  48. submit_button: Apply
  49. reset_button: false
  50. reset_button_label: Reset
  51. exposed_sorts_label: 'Sort by'
  52. expose_sort_order: true
  53. sort_asc_label: Asc
  54. sort_desc_label: Desc
  55. pager:
  56. type: full
  57. options:
  58. items_per_page: 10
  59. offset: 0
  60. id: 0
  61. total_pages: null
  62. expose:
  63. items_per_page: false
  64. items_per_page_label: 'Items per page'
  65. items_per_page_options: '5, 10, 25, 50'
  66. items_per_page_options_all: false
  67. items_per_page_options_all_label: '- All -'
  68. offset: false
  69. offset_label: Offset
  70. tags:
  71. previous: '‹ previous'
  72. next: 'next ›'
  73. first: '« first'
  74. last: 'last »'
  75. quantity: 9
  76. style:
  77. type: default
  78. row:
  79. type: 'entity:node'
  80. options:
  81. view_mode: teaser
  82. fields:
  83. title:
  84. id: title
  85. table: node_field_data
  86. field: title
  87. entity_type: node
  88. entity_field: title
  89. label: ''
  90. alter:
  91. alter_text: false
  92. make_link: false
  93. absolute: false
  94. trim: false
  95. word_boundary: false
  96. ellipsis: false
  97. strip_tags: false
  98. html: false
  99. hide_empty: false
  100. empty_zero: false
  101. link_to_node: true
  102. plugin_id: node
  103. relationship: none
  104. group_type: group
  105. admin_label: ''
  106. exclude: false
  107. element_type: ''
  108. element_class: ''
  109. element_label_type: ''
  110. element_label_class: ''
  111. element_label_colon: true
  112. element_wrapper_type: ''
  113. element_wrapper_class: ''
  114. element_default_classes: true
  115. empty: ''
  116. hide_alter_empty: true
  117. filters:
  118. status:
  119. value: '1'
  120. table: node_field_data
  121. field: status
  122. plugin_id: boolean
  123. entity_type: node
  124. entity_field: status
  125. id: status
  126. expose:
  127. operator: ''
  128. group: 1
  129. sorts:
  130. created:
  131. id: created
  132. table: node_field_data
  133. field: created
  134. order: DESC
  135. entity_type: node
  136. entity_field: created
  137. plugin_id: date
  138. relationship: none
  139. group_type: group
  140. admin_label: ''
  141. exposed: false
  142. expose:
  143. label: ''
  144. granularity: second
  145. title: 'View node type AB'
  146. header: { }
  147. footer: { }
  148. empty: { }
  149. relationships: { }
  150. arguments:
  151. type:
  152. id: type
  153. table: node_field_data
  154. field: type
  155. relationship: none
  156. group_type: group
  157. admin_label: ''
  158. default_action: 'not found'
  159. exception:
  160. value: all
  161. title_enable: false
  162. title: All
  163. title_enable: false
  164. title: ''
  165. default_argument_type: fixed
  166. default_argument_options:
  167. argument: ''
  168. default_argument_skip_url: false
  169. summary_options:
  170. base_path: ''
  171. count: true
  172. items_per_page: 25
  173. override: false
  174. summary:
  175. sort_order: asc
  176. number_of_records: 0
  177. format: default_summary
  178. specify_validation: true
  179. validate:
  180. type: none
  181. fail: 'not found'
  182. validate_options: { }
  183. glossary: false
  184. limit: 0
  185. case: none
  186. path_case: none
  187. transform_dash: false
  188. break_phrase: false
  189. entity_type: node
  190. entity_field: type
  191. plugin_id: node_type
  192. display_extenders: { }
  193. cache_metadata:
  194. max-age: -1
  195. contexts:
  196. - 'languages:language_content'
  197. - 'languages:language_interface'
  198. - url
  199. - url.query_args
  200. - 'user.node_grants:view'
  201. - user.permissions
  202. tags: { }
  203. rest_export_1:
  204. display_plugin: rest_export
  205. id: rest_export_1
  206. display_title: 'REST export'
  207. position: 2
  208. display_options:
  209. display_extenders: { }
  210. path: rest/custom-cache-tags/%
  211. cache_metadata:
  212. max-age: -1
  213. contexts:
  214. - 'languages:language_content'
  215. - 'languages:language_interface'
  216. - request_format
  217. - url
  218. - 'user.node_grants:view'
  219. - user.permissions
  220. tags: { }