Version 1
[yaffs-website] / web / core / modules / comment / tests / modules / comment_test_views / test_views / views.view.test_comment_rest.yml
1 langcode: en
2 status: true
3 dependencies:
4   config:
5     - field.storage.comment.comment_body
6   module:
7     - comment
8     - node
9     - rest
10     - text
11     - user
12 id: test_comment_rest
13 label: 'Comments by node'
14 module: views
15 description: ''
16 tag: ''
17 base_table: comment_field_data
18 base_field: cid
19 core: 8.x
20 display:
21   default:
22     display_plugin: default
23     id: default
24     display_title: Master
25     position: 0
26     display_options:
27       access:
28         type: perm
29         options:
30           perm: 'access content'
31       cache:
32         type: tag
33         options: {  }
34       query:
35         type: views_query
36         options:
37           disable_sql_rewrite: false
38           distinct: false
39           replica: false
40           query_comment: ''
41           query_tags: {  }
42       exposed_form:
43         type: basic
44         options:
45           submit_button: Apply
46           reset_button: false
47           reset_button_label: Reset
48           exposed_sorts_label: 'Sort by'
49           expose_sort_order: true
50           sort_asc_label: Asc
51           sort_desc_label: Desc
52       pager:
53         type: full
54         options:
55           items_per_page: 10
56           offset: 0
57           id: 0
58           total_pages: null
59           expose:
60             items_per_page: false
61             items_per_page_label: 'Items per page'
62             items_per_page_options: '5, 10, 25, 50'
63             items_per_page_options_all: false
64             items_per_page_options_all_label: '- All -'
65             offset: false
66             offset_label: Offset
67           tags:
68             previous: '‹ Previous'
69             next: 'Next ›'
70             first: '« First'
71             last: 'Last »'
72           quantity: 9
73       style:
74         type: serializer
75       row:
76         type: fields
77         options:
78           inline: {  }
79           separator: ''
80           hide_empty: false
81           default_field_elements: true
82       relationships:
83         node:
84           id: node
85           table: comment_field_data
86           field: node
87           required: true
88           plugin_id: standard
89           relationship: none
90           group_type: group
91           admin_label: Content
92       fields:
93         subject:
94           id: subject
95           table: comment_field_data
96           field: subject
97           relationship: none
98           group_type: group
99           entity_type: comment
100           entity_field: subject
101           admin_label: ''
102           label: ''
103           exclude: false
104           alter:
105             alter_text: false
106             text: ''
107             make_link: false
108             path: ''
109             absolute: false
110             external: false
111             replace_spaces: false
112             path_case: none
113             trim_whitespace: false
114             alt: ''
115             rel: ''
116             link_class: ''
117             prefix: ''
118             suffix: ''
119             target: ''
120             nl2br: false
121             max_length: 0
122             word_boundary: true
123             ellipsis: true
124             more_link: false
125             more_link_text: ''
126             more_link_path: ''
127             strip_tags: false
128             trim: false
129             preserve_tags: ''
130             html: false
131           element_type: ''
132           element_class: ''
133           element_label_type: ''
134           element_label_class: ''
135           element_label_colon: false
136           element_wrapper_type: ''
137           element_wrapper_class: ''
138           element_default_classes: true
139           empty: ''
140           hide_empty: false
141           empty_zero: false
142           hide_alter_empty: true
143           type: string
144           settings:
145             link_to_entity: false
146           plugin_id: field
147         name:
148           id: name
149           table: comment_field_data
150           field: name
151           entity_type: comment
152           entity_field: name
153           relationship: none
154           group_type: group
155           admin_label: ''
156           label: ''
157           exclude: false
158           alter:
159             alter_text: false
160             text: ''
161             make_link: false
162             path: ''
163             absolute: false
164             external: false
165             replace_spaces: false
166             path_case: none
167             trim_whitespace: false
168             alt: ''
169             rel: ''
170             link_class: ''
171             prefix: ''
172             suffix: ''
173             target: ''
174             nl2br: false
175             max_length: 0
176             word_boundary: true
177             ellipsis: true
178             more_link: false
179             more_link_text: ''
180             more_link_path: ''
181             strip_tags: false
182             trim: false
183             preserve_tags: ''
184             html: false
185           element_type: ''
186           element_class: ''
187           element_label_type: ''
188           element_label_class: ''
189           element_label_colon: false
190           element_wrapper_type: ''
191           element_wrapper_class: ''
192           element_default_classes: true
193           empty: ''
194           hide_empty: false
195           empty_zero: false
196           hide_alter_empty: true
197           plugin_id: field
198           type: comment_username
199         created:
200           id: created
201           table: comment_field_data
202           field: created
203           entity_type: comment
204           entity_field: created
205           relationship: none
206           group_type: group
207           admin_label: ''
208           label: ''
209           exclude: false
210           alter:
211             alter_text: false
212             text: ''
213             make_link: false
214             path: ''
215             absolute: false
216             external: false
217             replace_spaces: false
218             path_case: none
219             trim_whitespace: false
220             alt: ''
221             rel: ''
222             link_class: ''
223             prefix: ''
224             suffix: ''
225             target: ''
226             nl2br: false
227             max_length: 0
228             word_boundary: true
229             ellipsis: true
230             more_link: false
231             more_link_text: ''
232             more_link_path: ''
233             strip_tags: false
234             trim: false
235             preserve_tags: ''
236             html: false
237           element_type: ''
238           element_class: ''
239           element_label_type: ''
240           element_label_class: ''
241           element_label_colon: false
242           element_wrapper_type: ''
243           element_wrapper_class: ''
244           element_default_classes: true
245           empty: ''
246           hide_empty: false
247           empty_zero: false
248           hide_alter_empty: true
249           type: timestamp
250           settings:
251             date_format: long
252             custom_date_format: ''
253             timezone: ''
254           plugin_id: field
255         comment_body:
256           id: comment_body
257           table: comment__comment_body
258           field: comment_body
259           relationship: none
260           entity_type: comment
261           entity_field: comment_body
262           group_type: group
263           admin_label: ''
264           label: ''
265           exclude: false
266           alter:
267             alter_text: false
268             text: ''
269             make_link: false
270             path: ''
271             absolute: false
272             external: false
273             replace_spaces: false
274             path_case: none
275             trim_whitespace: false
276             alt: ''
277             rel: ''
278             link_class: ''
279             prefix: ''
280             suffix: ''
281             target: ''
282             nl2br: false
283             max_length: 0
284             word_boundary: true
285             ellipsis: true
286             more_link: false
287             more_link_text: ''
288             more_link_path: ''
289             strip_tags: false
290             trim: false
291             preserve_tags: ''
292             html: false
293           element_type: ''
294           element_class: ''
295           element_label_type: ''
296           element_label_class: ''
297           element_label_colon: false
298           element_wrapper_type: ''
299           element_wrapper_class: ''
300           element_default_classes: true
301           empty: ''
302           hide_empty: false
303           empty_zero: false
304           hide_alter_empty: true
305           click_sort_column: value
306           type: text_default
307           settings: {  }
308           group_column: value
309           group_columns: {  }
310           group_rows: true
311           delta_limit: 0
312           delta_offset: 0
313           delta_reversed: false
314           delta_first_last: false
315           multi_type: separator
316           separator: ', '
317           field_api_classes: false
318           plugin_id: field
319       filters: {  }
320       sorts:
321         cid:
322           id: cid
323           table: comment_field_data
324           field: cid
325           relationship: none
326           group_type: group
327           admin_label: ''
328           order: ASC
329           exposed: false
330           expose:
331             label: ''
332           entity_type: comment
333           entity_field: cid
334           plugin_id: standard
335       header: {  }
336       footer: {  }
337       empty: {  }
338       arguments:
339         nid:
340           id: nid
341           table: node_field_data
342           field: nid
343           relationship: node
344           group_type: group
345           admin_label: ''
346           default_action: default
347           exception:
348             value: all
349             title_enable: false
350             title: All
351           title_enable: false
352           title: ''
353           default_argument_type: node
354           default_argument_skip_url: false
355           summary_options:
356             base_path: ''
357             count: true
358             items_per_page: 25
359             override: false
360           summary:
361             sort_order: asc
362             number_of_records: 0
363             format: default_summary
364           specify_validation: false
365           validate:
366             type: none
367             fail: 'not found'
368           validate_options: {  }
369           break_phrase: false
370           not: false
371           plugin_id: numeric
372       display_extenders: {  }
373   rest_export_1:
374     display_plugin: rest_export
375     id: rest_export_1
376     display_title: 'REST export'
377     position: 1
378     display_options:
379       path: node/%node/comments
380       pager:
381         type: some
382         options:
383           items_per_page: 10
384           offset: 0
385       style:
386         type: serializer
387         options:
388           uses_fields: false
389           formats:
390             json: json
391             hal_json: hal_json
392       row:
393         type: data_field
394         options:
395           field_options:
396             subject:
397               alias: ''
398               raw_output: true
399             name:
400               alias: ''
401               raw_output: true
402       display_extenders: {  }