views.view.rest_service.yml

Same filename in other branches
  1. 3.x modules/rest_example/config/install/views.view.rest_service.yml
modules/rest_example/config/install/views.view.rest_service.yml

File

modules/rest_example/config/install/views.view.rest_service.yml

View source
  1. # This View is used to collect the all the relevant nodes from the system, of
  2. # the type 'rest_example_test', and print them as json, so that we can use it
  3. # in our REST module.
  4. langcode: en
  5. status: true
  6. dependencies:
  7. config:
  8. - node.type.rest_example_test
  9. module:
  10. - node
  11. - rest
  12. - serialization
  13. - user
  14. id: rest_service
  15. label: 'REST Service'
  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: tag
  35. options: { }
  36. query:
  37. type: views_query
  38. options:
  39. disable_sql_rewrite: false
  40. distinct: false
  41. replica: false
  42. query_comment: ''
  43. query_tags: { }
  44. exposed_form:
  45. type: basic
  46. options:
  47. submit_button: Apply
  48. reset_button: false
  49. reset_button_label: Reset
  50. exposed_sorts_label: 'Sort by'
  51. expose_sort_order: true
  52. sort_asc_label: Asc
  53. sort_desc_label: Desc
  54. pager:
  55. type: mini
  56. options:
  57. items_per_page: 10
  58. offset: 0
  59. id: 0
  60. total_pages: null
  61. expose:
  62. items_per_page: false
  63. items_per_page_label: 'Items per page'
  64. items_per_page_options: '5, 10, 25, 50'
  65. items_per_page_options_all: false
  66. items_per_page_options_all_label: '- All -'
  67. offset: false
  68. offset_label: Offset
  69. tags:
  70. previous: ‹‹
  71. next: ››
  72. style:
  73. type: serializer
  74. row:
  75. type: fields
  76. options:
  77. inline: { }
  78. separator: ''
  79. hide_empty: false
  80. default_field_elements: true
  81. fields:
  82. title:
  83. id: title
  84. table: node_field_data
  85. field: title
  86. entity_type: node
  87. entity_field: title
  88. label: ''
  89. alter:
  90. alter_text: false
  91. make_link: false
  92. absolute: false
  93. trim: false
  94. word_boundary: false
  95. ellipsis: false
  96. strip_tags: false
  97. html: false
  98. hide_empty: false
  99. empty_zero: false
  100. settings:
  101. link_to_entity: true
  102. plugin_id: field
  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. click_sort_column: value
  118. type: string
  119. group_column: value
  120. group_columns: { }
  121. group_rows: true
  122. delta_limit: 0
  123. delta_offset: 0
  124. delta_reversed: false
  125. delta_first_last: false
  126. multi_type: separator
  127. separator: ', '
  128. field_api_classes: false
  129. filters:
  130. status:
  131. value: '1'
  132. table: node_field_data
  133. field: status
  134. plugin_id: boolean
  135. entity_type: node
  136. entity_field: status
  137. id: status
  138. expose:
  139. operator: ''
  140. group: 1
  141. type:
  142. id: type
  143. table: node_field_data
  144. field: type
  145. value:
  146. rest_example_test: rest_example_test
  147. entity_type: node
  148. entity_field: type
  149. plugin_id: bundle
  150. sorts:
  151. created:
  152. id: created
  153. table: node_field_data
  154. field: created
  155. order: DESC
  156. entity_type: node
  157. entity_field: created
  158. plugin_id: date
  159. relationship: none
  160. group_type: group
  161. admin_label: ''
  162. exposed: false
  163. expose:
  164. label: ''
  165. granularity: second
  166. header: { }
  167. footer: { }
  168. empty: { }
  169. relationships: { }
  170. arguments: { }
  171. cache_metadata:
  172. max-age: -1
  173. contexts:
  174. - 'languages:language_content'
  175. - 'languages:language_interface'
  176. - request_format
  177. - url.query_args
  178. - 'user.node_grants:view'
  179. - user.permissions
  180. tags: { }
  181. rest_export_1:
  182. display_plugin: rest_export
  183. id: rest_export_1
  184. display_title: 'REST export'
  185. position: 1
  186. display_options:
  187. display_extenders: { }
  188. path: rest/node
  189. pager:
  190. type: some
  191. options:
  192. items_per_page: 10
  193. offset: 0
  194. style:
  195. type: serializer
  196. options:
  197. grouping: { }
  198. uses_fields: false
  199. formats: { }
  200. row:
  201. type: data_entity
  202. options: { }
  203. cache_metadata:
  204. max-age: -1
  205. contexts:
  206. - 'languages:language_content'
  207. - 'languages:language_interface'
  208. - request_format
  209. - 'user.node_grants:view'
  210. - user.permissions
  211. tags: { }