9ec97581852b9adf8218f1e2f7800a3347ae5dcd
[yaffs-website] / web / core / modules / taxonomy / config / schema / taxonomy.views.schema.yml
1 # Schema for the views plugins of the Taxonomy module.
2
3 views.argument.taxonomy_index_tid:
4   type: views.argument.many_to_one
5   label: 'Taxonomy term ID'
6
7 views.argument.taxonomy_index_tid_depth:
8   type: views_argument
9   label: 'Taxonomy term ID'
10   mapping:
11     depth:
12       type: integer
13       label: 'Depth'
14     break_phrase:
15       type: boolean
16       label: 'Allow multiple values'
17     use_taxonomy_term_path:
18       type: boolean
19       label: 'Use taxonomy term path'
20
21 views.argument.taxonomy_index_tid_depth_modifier:
22   type: views_argument
23   label: 'Taxonomy depth modifier'
24
25 views.argument.taxonomy:
26   type: views_argument
27   label: 'Taxonomy'
28   mapping:
29     break_phrase:
30       type: boolean
31       label: 'Allow multiple values'
32     not:
33       type: boolean
34       label: 'Exclude'
35
36 views.argument.vocabulary_vid:
37   type: views_argument
38   label: 'Vocabulary'
39   mapping:
40     break_phrase:
41       type: boolean
42       label: 'Allow multiple values'
43     not:
44       type: boolean
45       label: 'Exclude'
46
47
48 views.argument_validator.entity:taxonomy_term:
49   type: views.argument_validator_entity
50   label: 'Taxonomy term'
51
52 views.argument_validator.taxonomy_term_name:
53   type: views.argument_validator_entity
54   label: 'Taxonomy term'
55   mapping:
56     vids:
57       type: sequence
58       label: 'Vocabularies'
59       sequence:
60         type: string
61         label: 'Vocabulary'
62     transform:
63       type: boolean
64       label: 'Transform dashes in URL to spaces in term name filter values'
65
66 views.argument_default.taxonomy_tid:
67   type: mapping
68   label: 'Taxonomy term ID from URL'
69   mapping:
70     term_page:
71       type: string
72       label: 'Load default filter from term page'
73     node:
74       type: boolean
75       label: 'Load default filter from node page, that''s good for related taxonomy blocks'
76     limit:
77       type: boolean
78       label: 'Limit terms by vocabulary'
79     vids:
80       type: sequence
81       label: 'Vocabularies'
82       sequence:
83         type: string
84         label: 'Vocabulary'
85     anyall:
86       type: string
87       label: 'Multiple-value handling'
88
89 views.field.term_name:
90   type: views.field.field
91   mapping:
92     convert_spaces:
93       type: boolean
94       label: 'Convert spaces in term names to hyphens'
95
96 views.field.taxonomy_index_tid:
97   type: views_field
98   label: 'Taxonomy language'
99   mapping:
100     type:
101       type: string
102       label: 'Display type'
103     separator:
104       type: string
105       label: 'Separator'
106     link_to_taxonomy:
107       type: boolean
108       label: 'Link this field to its term page'
109     limit:
110       type: boolean
111       label: 'Limit terms by vocabulary'
112     vids:
113       type: sequence
114       label: 'Vocabularies'
115       sequence:
116         type: string
117         label: 'Vocabulary'
118
119 views.filter.taxonomy_index_tid:
120   type: views.filter.many_to_one
121   label: 'Taxonomy term ID'
122   mapping:
123     vid:
124       type: string
125       label: 'Vocabulary'
126     type:
127       type: string
128       label: 'Selection type'
129     hierarchy:
130       type: boolean
131       label: 'Show hierarchy in dropdown'
132     limit:
133       type: boolean
134       label: 'Limit to vocabulary'
135     error_message:
136       type: boolean
137       label: 'Display error message'
138     value:
139       type: sequence
140       label: 'Values'
141       sequence:
142         type: integer
143         label: 'Value'
144
145 views.filter.taxonomy_index_tid_depth:
146   type: views.filter.taxonomy_index_tid
147   label: 'Taxonomy term ID with depth'
148   mapping:
149     depth:
150       type: integer
151       label: 'Depth'
152
153 views.relationship.node_term_data:
154   type: views_relationship
155   label: 'Taxonomy term'
156   mapping:
157     vids:
158       type: sequence
159       label: 'Vocabularies'
160       sequence:
161         type: string
162         label: 'Vocabulary'