Security update to Drupal 8.4.6
[yaffs-website] / web / core / modules / views / config / schema / views.style.schema.yml
1 # Schema for the views style plugins.
2
3 views.style.*:
4   type: views_style
5   label: 'Default style'
6
7 views.style.default:
8   type: views_style
9   label: 'Unformatted list'
10
11 views.style.html_list:
12   type: views_style
13   label: 'HTML List'
14   mapping:
15     type:
16       type:  string
17       label: 'List type'
18     wrapper_class:
19       type: string
20       label: 'Wrapper class'
21     class:
22       type: string
23       label: 'List class'
24
25 views.style.grid:
26   type: views_style
27   label: 'Grid'
28   mapping:
29     columns:
30       type:  integer
31       label: 'Number of columns'
32     automatic_width:
33       type: boolean
34       label: 'Automatic width'
35     alignment:
36       type: string
37       label: 'Alignment'
38     row_class_custom:
39       type: string
40       label: 'Custom row classes'
41     row_class_default:
42       type: boolean
43       label: 'Default views row classes'
44     col_class_custom:
45       type: string
46       label: 'Custom column classes'
47     col_class_default:
48       type: boolean
49       label: 'Default views column classes'
50
51 views.style.table:
52   type: views_style
53   label: 'Table'
54   mapping:
55     columns:
56       type: sequence
57       label: 'Columns'
58       sequence:
59         type: string
60         label: 'Columns name'
61     default:
62       type: string
63       label: 'Default sort'
64     info:
65       type: sequence
66       label: 'Columns info'
67       sequence:
68         type: mapping
69         label:  'Column info'
70         mapping:
71           sortable:
72             type: boolean
73             label: 'Sortable'
74           default_sort_order:
75             type: string
76             label: 'Default order'
77           align:
78             type: string
79             label: 'Align'
80           separator:
81             type: string
82             label: 'Separator'
83           empty_column:
84             type: boolean
85             label: 'Hide empty columns'
86           responsive:
87             type: string
88             label: 'Responsive'
89     override:
90       type: boolean
91       label: 'Override normal sorting if click sorting is used'
92     sticky:
93       type: boolean
94       label: 'Enable Drupal style "sticky" table headers (Javascript)'
95     summary:
96       type: label
97       label: 'Summary title'
98     order:
99       type: string
100       label: 'Default order'
101     empty_table:
102       type: boolean
103       label: 'Show the empty text in the table'
104     caption:
105       type: label
106       label: 'Caption for the table'
107     description:
108       type: text
109       label: 'Table description'
110
111 views.style.default_summary:
112   type: views_style
113   label: 'Summary options'
114   mapping:
115     base_path:
116       type: string
117       label: 'Base path'
118     count:
119       type: boolean
120       label: 'Display record count with link'
121     override:
122       type: boolean
123       label: 'Override number of items to display'
124     items_per_page:
125       type: integer
126       label: 'Items to display'
127
128 views.style.rss:
129   type: views_style
130   label: 'RSS Feed'
131   mapping:
132     description:
133       type: label
134       label: 'RSS description'
135
136 views.style.unformatted_summary:
137   type: views.style.default_summary
138   label: 'Unformatted'
139   mapping:
140     inline:
141       type: boolean
142       label: 'Display items inline'
143     separator:
144       type: string
145       label: 'Separator'
146
147 views.style.entity_reference:
148   type: views_style
149   label: 'Entity Reference list'
150   mapping:
151     search_fields:
152       type: sequence
153       label: 'Search fields'
154       sequence:
155         type: string
156         label: 'Search field'