Version 1
[yaffs-website] / web / core / modules / block / tests / modules / block_test_views / test_views / views.view.test_view_block_with_context.yml
1 langcode: en
2 status: true
3 dependencies:
4   module:
5     - node
6     - user
7 id: test_view_block_with_context
8 label: test_view_block_with_context
9 module: views
10 description: ''
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: some
49         options:
50           items_per_page: 5
51           offset: 0
52       style:
53         type: default
54       row:
55         type: fields
56       fields:
57         title:
58           id: title
59           table: node_field_data
60           field: title
61           relationship: none
62           group_type: group
63           admin_label: ''
64           label: ''
65           exclude: false
66           alter:
67             alter_text: true
68             text: 'Test view row: {{ title }}'
69             make_link: false
70             path: ''
71             absolute: false
72             external: false
73             replace_spaces: false
74             path_case: none
75             trim_whitespace: false
76             alt: ''
77             rel: ''
78             link_class: ''
79             prefix: ''
80             suffix: ''
81             target: ''
82             nl2br: false
83             max_length: 0
84             word_boundary: true
85             ellipsis: true
86             more_link: false
87             more_link_text: ''
88             more_link_path: ''
89             strip_tags: false
90             trim: false
91             preserve_tags: ''
92             html: false
93           element_type: ''
94           element_class: ''
95           element_label_type: ''
96           element_label_class: ''
97           element_label_colon: false
98           element_wrapper_type: ''
99           element_wrapper_class: ''
100           element_default_classes: true
101           empty: ''
102           hide_empty: false
103           empty_zero: false
104           hide_alter_empty: true
105           click_sort_column: value
106           type: string
107           settings:
108             link_to_entity: true
109           group_column: value
110           group_columns: {  }
111           group_rows: true
112           delta_limit: 0
113           delta_offset: 0
114           delta_reversed: false
115           delta_first_last: false
116           multi_type: separator
117           separator: ', '
118           field_api_classes: false
119           plugin_id: field
120       filters:
121         status:
122           value: '1'
123           table: node_field_data
124           field: status
125           plugin_id: boolean
126           entity_type: node
127           entity_field: status
128           id: status
129           expose:
130             operator: ''
131           group: 1
132       sorts:
133         created:
134           id: created
135           table: node_field_data
136           field: created
137           order: DESC
138           entity_type: node
139           entity_field: created
140           plugin_id: date
141           relationship: none
142           group_type: group
143           admin_label: ''
144           exposed: false
145           expose:
146             label: ''
147           granularity: second
148       title: test_view_block_with_context
149       header: {  }
150       footer: {  }
151       empty:
152         area_text_custom:
153           id: area_text_custom
154           table: views
155           field: area_text_custom
156           relationship: none
157           group_type: group
158           admin_label: ''
159           empty: true
160           tokenize: false
161           content: 'Test view: No results found.'
162           plugin_id: text_custom
163       relationships: {  }
164       arguments:
165         'null':
166           id: 'null'
167           table: views
168           field: 'null'
169           relationship: none
170           group_type: group
171           admin_label: ''
172           default_action: default
173           exception:
174             value: all
175             title_enable: false
176             title: All
177           title_enable: false
178           title: ''
179           default_argument_type: fixed
180           default_argument_options:
181             argument: foo
182           default_argument_skip_url: false
183           summary_options:
184             base_path: ''
185             count: true
186             items_per_page: 25
187             override: false
188           summary:
189             sort_order: asc
190             number_of_records: 0
191             format: default_summary
192           specify_validation: false
193           validate:
194             type: none
195             fail: 'not found'
196           validate_options: {  }
197           must_not_be: false
198           plugin_id: 'null'
199         null_1:
200           id: null_1
201           table: views
202           field: 'null'
203           relationship: none
204           group_type: group
205           admin_label: ''
206           default_action: ignore
207           exception:
208             value: all
209             title_enable: false
210             title: All
211           title_enable: false
212           title: ''
213           default_argument_type: fixed
214           default_argument_options:
215             argument: ''
216           default_argument_skip_url: false
217           summary_options:
218             base_path: ''
219             count: true
220             items_per_page: 25
221             override: false
222           summary:
223             sort_order: asc
224             number_of_records: 0
225             format: default_summary
226           specify_validation: false
227           validate:
228             type: none
229             fail: 'not found'
230           validate_options: {  }
231           must_not_be: false
232           plugin_id: 'null'
233         nid:
234           id: nid
235           table: node_field_data
236           field: nid
237           relationship: none
238           group_type: group
239           admin_label: ''
240           default_action: empty
241           exception:
242             value: all
243             title_enable: false
244             title: All
245           title_enable: false
246           title: ''
247           default_argument_type: fixed
248           default_argument_options:
249             argument: ''
250           default_argument_skip_url: false
251           summary_options:
252             base_path: ''
253             count: true
254             items_per_page: 25
255             override: false
256           summary:
257             sort_order: asc
258             number_of_records: 0
259             format: default_summary
260           specify_validation: true
261           validate:
262             type: 'entity:node'
263             fail: 'not found'
264           validate_options:
265             operation: view
266             multiple: 0
267             bundles: {  }
268             access: false
269           break_phrase: false
270           not: false
271           entity_type: node
272           entity_field: nid
273           plugin_id: node_nid
274       display_extenders: {  }
275     cache_metadata:
276       contexts:
277         - 'languages:language_content'
278         - 'languages:language_interface'
279         - url
280         - 'user.node_grants:view'
281         - user.permissions
282       cacheable: false
283       max-age: -1
284       tags: {  }
285   block_1:
286     display_plugin: block
287     id: block_1
288     display_title: Block
289     position: 1
290     display_options:
291       display_extenders: {  }
292     cache_metadata:
293       contexts:
294         - 'languages:language_content'
295         - 'languages:language_interface'
296         - url
297         - 'user.node_grants:view'
298         - user.permissions
299       cacheable: false
300       max-age: -1
301       tags: {  }
302   block_2:
303     display_plugin: block
304     id: block_2
305     display_title: 'Block 2'
306     position: 2
307     display_options:
308       display_extenders: {  }
309       arguments:
310         created:
311           id: created
312           table: node_field_data
313           field: created
314           relationship: none
315           group_type: group
316           admin_label: ''
317           default_action: ignore
318           exception:
319             value: all
320             title_enable: false
321             title: All
322           title_enable: false
323           title: ''
324           default_argument_type: fixed
325           default_argument_options:
326             argument: ''
327           default_argument_skip_url: false
328           summary_options:
329             base_path: ''
330             count: true
331             items_per_page: 25
332             override: false
333           summary:
334             sort_order: asc
335             number_of_records: 0
336             format: default_summary
337           specify_validation: true
338           validate:
339             type: numeric
340             fail: 'not found'
341           validate_options: {  }
342           entity_type: node
343           entity_field: created
344           plugin_id: date
345         vid:
346           id: vid
347           table: node_field_data
348           field: vid
349           relationship: none
350           group_type: group
351           admin_label: ''
352           default_action: ignore
353           exception:
354             value: all
355             title_enable: false
356             title: All
357           title_enable: false
358           title: ''
359           default_argument_type: fixed
360           default_argument_options:
361             argument: ''
362           default_argument_skip_url: false
363           summary_options:
364             base_path: ''
365             count: true
366             items_per_page: 25
367             override: false
368           summary:
369             sort_order: asc
370             number_of_records: 0
371             format: default_summary
372           specify_validation: false
373           validate:
374             type: none
375             fail: 'not found'
376           validate_options: {  }
377           break_phrase: false
378           not: false
379           entity_type: node
380           entity_field: vid
381           plugin_id: numeric
382         title:
383           id: title
384           table: node_field_data
385           field: title
386           relationship: none
387           group_type: group
388           admin_label: ''
389           default_action: ignore
390           exception:
391             value: all
392             title_enable: false
393             title: All
394           title_enable: false
395           title: ''
396           default_argument_type: fixed
397           default_argument_options:
398             argument: ''
399           default_argument_skip_url: false
400           summary_options:
401             base_path: ''
402             count: true
403             items_per_page: 25
404             override: false
405           summary:
406             sort_order: asc
407             number_of_records: 0
408             format: default_summary
409           specify_validation: false
410           validate:
411             type: none
412             fail: 'not found'
413           validate_options: {  }
414           glossary: false
415           limit: 0
416           case: none
417           path_case: none
418           transform_dash: false
419           break_phrase: false
420           entity_type: node
421           entity_field: title
422           plugin_id: string
423       defaults:
424         arguments: false
425     cache_metadata:
426       max-age: -1
427       contexts:
428         - 'languages:language_content'
429         - 'languages:language_interface'
430         - url
431         - 'user.node_grants:view'
432         - user.permissions
433       tags: {  }