Version 1
[yaffs-website] / web / core / modules / views / config / schema / views.display.schema.yml
1 # Schema for the views display plugins.
2
3 views.display.default:
4   type: views_display
5   label: 'Default display options'
6
7 views_display_path:
8   type: views_display
9   mapping:
10     path:
11       type: string
12       label: 'Page path'
13     route_name:
14       type: string
15       label: 'Route name'
16
17 views.display.page:
18   type: views_display_path
19   label: 'Page display options'
20   mapping:
21     menu:
22       type: mapping
23       label: 'Menu'
24       mapping:
25         type:
26           type: string
27           label: 'Type'
28         title:
29           type: text
30           label: 'Title'
31         description:
32           type: text
33           label: 'Description'
34         weight:
35           type: integer
36           label: 'Weight'
37         enabled:
38           type: boolean
39           label: 'Enabled'
40         expanded:
41           type: boolean
42           label: 'Expanded'
43         menu_name:
44           type: string
45           label: 'Menu name'
46         parent:
47           type: string
48           label: 'Parent'
49         context:
50           type: string
51           label: 'Context'
52         expanded:
53           type: boolean
54           label: 'Expanded'
55     tab_options:
56       type: mapping
57       label: 'Tab options'
58       mapping:
59         type:
60           type: string
61           label: 'Type'
62         title:
63           type: text
64           label: 'Title'
65         description:
66           type: text
67           label: 'Description'
68         weight:
69           type: integer
70           label: 'Weight'
71         menu_name:
72           type: string
73           label: 'Menu name'
74
75 views.display.block:
76   type: views_display
77   label: 'Block display options'
78   mapping:
79     block_description:
80       type: label
81       label: 'Block name'
82     block_category:
83       type: text
84       label: 'Block category'
85     block_hide_empty:
86       type: boolean
87       label: 'Hide block if no result/empty text'
88     allow:
89       type: mapping
90       label: 'Allow'
91       mapping:
92         items_per_page:
93          type: boolean
94          label: 'Items per page'
95
96 views.display.feed:
97   type: views_display_path
98   label: 'Feed display options'
99   mapping:
100     sitename_title:
101       type: boolean
102       label: 'Use the site name for the title'
103     displays:
104       type: sequence
105       label: 'The feed icon will be available only to the selected displays.'
106       sequence:
107         type: string
108         label: 'Display'
109
110 views.display.embed:
111   type: views_display
112   label: 'Embed display options'
113
114 views.display.attachment:
115   type: views_display
116   label: 'Attachment display options'
117   mapping:
118     displays:
119       type: sequence
120       label: 'Attach to'
121       sequence:
122         type: string
123         label: 'Display'
124     attachment_position:
125       type: string
126       label: 'Attachment position'
127     inherit_arguments:
128       type: boolean
129       label: 'Inherit contextual filters'
130     inherit_exposed_filters:
131       type: boolean
132       label: 'Inherit exposed filters'
133     inherit_pager:
134       type: boolean
135       label: 'Inherit pager'
136     render_pager:
137       type: boolean
138       label: 'Render pager'
139
140 views.display.entity_reference:
141   type: views_display
142   label: 'Entity Reference'