You are here

simple_view.yml in Views Templates 8

tests/modules/views_templates_builder_test/views_templates/simple_view.yml

File

tests/modules/views_templates_builder_test/views_templates/simple_view.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - node
  6. - user
  7. id: simplest_view
  8. label: '__TITLE'
  9. module: views
  10. description: 'This is a simple View'
  11. tag: ''
  12. base_table: node_field_data
  13. base_field: nid
  14. core: 8.x
  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 content'
  26. cache:
  27. type: tag
  28. options: { }
  29. query:
  30. type: views_query
  31. options:
  32. disable_sql_rewrite: false
  33. distinct: false
  34. replica: false
  35. query_comment: ''
  36. query_tags: { }
  37. exposed_form:
  38. type: basic
  39. options:
  40. submit_button: Apply
  41. reset_button: false
  42. reset_button_label: Reset
  43. exposed_sorts_label: 'Sort by'
  44. expose_sort_order: true
  45. sort_asc_label: Asc
  46. sort_desc_label: Desc
  47. pager:
  48. type: full
  49. options:
  50. items_per_page: 10
  51. offset: 0
  52. id: 0
  53. total_pages: null
  54. expose:
  55. items_per_page: false
  56. items_per_page_label: 'Items per page'
  57. items_per_page_options: '5, 10, 25, 50'
  58. items_per_page_options_all: false
  59. items_per_page_options_all_label: '- All -'
  60. offset: false
  61. offset_label: Offset
  62. tags:
  63. previous: '‹ Previous'
  64. next: 'Next ›'
  65. first: '« First'
  66. last: 'Last »'
  67. quantity: 9
  68. style:
  69. type: default
  70. options:
  71. grouping: { }
  72. row_class: ''
  73. default_row_class: true
  74. uses_fields: false
  75. row:
  76. type: fields
  77. options:
  78. inline: { }
  79. separator: ''
  80. hide_empty: false
  81. default_field_elements: true
  82. fields:
  83. __FIELD_ID:
  84. id: __FIELD_ID
  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. settings:
  102. link_to_entity: true
  103. plugin_id: field
  104. relationship: none
  105. group_type: group
  106. admin_label: ''
  107. exclude: false
  108. element_type: ''
  109. element_class: ''
  110. element_label_type: ''
  111. element_label_class: ''
  112. element_label_colon: true
  113. element_wrapper_type: ''
  114. element_wrapper_class: ''
  115. element_default_classes: true
  116. empty: ''
  117. hide_alter_empty: true
  118. click_sort_column: value
  119. type: string
  120. group_column: value
  121. group_columns: { }
  122. group_rows: true
  123. delta_limit: 0
  124. delta_offset: 0
  125. delta_reversed: false
  126. delta_first_last: false
  127. multi_type: separator
  128. separator: ', '
  129. field_api_classes: false
  130. filters:
  131. status:
  132. value: true
  133. table: node_field_data
  134. field: status
  135. plugin_id: boolean
  136. entity_type: node
  137. entity_field: status
  138. id: status
  139. expose:
  140. operator: ''
  141. group: 1
  142. sorts:
  143. created:
  144. id: created
  145. table: node_field_data
  146. field: created
  147. order: DESC
  148. entity_type: node
  149. entity_field: created
  150. plugin_id: date
  151. relationship: none
  152. group_type: group
  153. admin_label: ''
  154. exposed: false
  155. expose:
  156. label: ''
  157. granularity: second
  158. header: { }
  159. footer: { }
  160. empty: { }
  161. relationships: { }
  162. arguments: { }
  163. cache_metadata:
  164. max-age: -1
  165. contexts:
  166. - 'languages:language_content'
  167. - 'languages:language_interface'
  168. - url.query_args
  169. - 'user.node_grants:view'
  170. - user.permissions
  171. tags: { }