Chris@0
|
1 # Schema for the configuration files of the Language module.
|
Chris@0
|
2
|
Chris@0
|
3 language_type_negotiation:
|
Chris@0
|
4 type: mapping
|
Chris@0
|
5 label: 'Language negotiation per type setting'
|
Chris@0
|
6 mapping:
|
Chris@0
|
7 enabled:
|
Chris@0
|
8 type: sequence
|
Chris@0
|
9 label: 'Enabled negotiators'
|
Chris@0
|
10 sequence:
|
Chris@0
|
11 type: integer
|
Chris@0
|
12 label: Weight
|
Chris@0
|
13 method_weights:
|
Chris@0
|
14 type: sequence
|
Chris@0
|
15 label: 'Negotiator weights'
|
Chris@0
|
16 sequence:
|
Chris@0
|
17 type: integer
|
Chris@0
|
18 label: Weight
|
Chris@0
|
19
|
Chris@0
|
20 language.types:
|
Chris@0
|
21 type: config_object
|
Chris@0
|
22 label: 'Language types'
|
Chris@0
|
23 mapping:
|
Chris@0
|
24 all:
|
Chris@0
|
25 type: sequence
|
Chris@0
|
26 label: 'All language types'
|
Chris@0
|
27 sequence:
|
Chris@0
|
28 type: string
|
Chris@0
|
29 label: 'Language type'
|
Chris@0
|
30 configurable:
|
Chris@0
|
31 type: sequence
|
Chris@0
|
32 label: 'Configurable language types'
|
Chris@0
|
33 sequence:
|
Chris@0
|
34 type: string
|
Chris@0
|
35 label: 'Language type'
|
Chris@0
|
36 negotiation:
|
Chris@0
|
37 type: sequence
|
Chris@0
|
38 label: 'Language negotiation per type settings'
|
Chris@0
|
39 sequence:
|
Chris@0
|
40 type: language_type_negotiation
|
Chris@0
|
41 label: 'Language negotiation per type setting'
|
Chris@0
|
42
|
Chris@0
|
43 language.negotiation:
|
Chris@0
|
44 type: config_object
|
Chris@0
|
45 label: 'Language detection methods'
|
Chris@0
|
46 mapping:
|
Chris@0
|
47 session:
|
Chris@0
|
48 type: mapping
|
Chris@0
|
49 label: 'Session'
|
Chris@0
|
50 mapping:
|
Chris@0
|
51 parameter:
|
Chris@0
|
52 type: string
|
Chris@0
|
53 label: 'Request/session parameter'
|
Chris@0
|
54 url:
|
Chris@0
|
55 type: mapping
|
Chris@0
|
56 label: 'Language from the URL (Path prefix or domain).'
|
Chris@0
|
57 mapping:
|
Chris@0
|
58 source:
|
Chris@0
|
59 type: string
|
Chris@0
|
60 label: 'Part of the URL that determines language'
|
Chris@0
|
61 prefixes:
|
Chris@0
|
62 type: sequence
|
Chris@0
|
63 label: 'Path prefix configuration'
|
Chris@0
|
64 sequence:
|
Chris@0
|
65 type: string
|
Chris@0
|
66 label: 'Path prefix'
|
Chris@0
|
67 domains:
|
Chris@0
|
68 type: sequence
|
Chris@0
|
69 label: 'Domain configuration'
|
Chris@0
|
70 sequence:
|
Chris@0
|
71 type: string
|
Chris@0
|
72 label: 'Domain'
|
Chris@0
|
73 selected_langcode:
|
Chris@0
|
74 type: string
|
Chris@0
|
75 label: 'Selected language'
|
Chris@0
|
76
|
Chris@0
|
77 language.mappings:
|
Chris@0
|
78 type: config_object
|
Chris@0
|
79 label: 'Language mapping'
|
Chris@0
|
80 mapping:
|
Chris@0
|
81 map:
|
Chris@0
|
82 type: sequence
|
Chris@0
|
83 sequence:
|
Chris@0
|
84 type: string
|
Chris@0
|
85 label: 'Language'
|
Chris@0
|
86
|
Chris@0
|
87 language.entity.*:
|
Chris@0
|
88 type: config_entity
|
Chris@0
|
89 label: 'Language'
|
Chris@0
|
90 mapping:
|
Chris@0
|
91 id:
|
Chris@0
|
92 type: string
|
Chris@0
|
93 label: 'ID'
|
Chris@0
|
94 label:
|
Chris@0
|
95 type: label
|
Chris@0
|
96 label: 'Label'
|
Chris@0
|
97 direction:
|
Chris@0
|
98 type: string
|
Chris@0
|
99 label: 'Direction'
|
Chris@0
|
100 weight:
|
Chris@0
|
101 type: integer
|
Chris@0
|
102 label: 'Weight'
|
Chris@0
|
103 locked:
|
Chris@0
|
104 type: boolean
|
Chris@0
|
105 label: 'Locked'
|
Chris@0
|
106
|
Chris@0
|
107 language.content_settings.*.*:
|
Chris@0
|
108 type: config_entity
|
Chris@0
|
109 label: 'Content Language Settings'
|
Chris@0
|
110 mapping:
|
Chris@0
|
111 id:
|
Chris@0
|
112 type: string
|
Chris@0
|
113 label: 'ID'
|
Chris@0
|
114 target_entity_type_id:
|
Chris@0
|
115 type: string
|
Chris@0
|
116 label: 'Entity Type ID'
|
Chris@0
|
117 target_bundle:
|
Chris@0
|
118 type: string
|
Chris@0
|
119 label: 'Bundle'
|
Chris@0
|
120 default_langcode:
|
Chris@0
|
121 type: string
|
Chris@0
|
122 label: 'Default language'
|
Chris@0
|
123 language_alterable:
|
Chris@0
|
124 type: boolean
|
Chris@0
|
125 label: 'Allow to alter the language'
|
Chris@0
|
126
|
Chris@0
|
127 condition.plugin.language:
|
Chris@0
|
128 type: condition.plugin
|
Chris@0
|
129 mapping:
|
Chris@0
|
130 langcodes:
|
Chris@0
|
131 type: sequence
|
Chris@0
|
132 sequence:
|
Chris@0
|
133 type: string
|
Chris@0
|
134
|
Chris@0
|
135 field.widget.settings.language_select:
|
Chris@0
|
136 type: mapping
|
Chris@0
|
137 label: 'Language format settings'
|
Chris@0
|
138 mapping:
|
Chris@0
|
139 include_locked:
|
Chris@0
|
140 type: boolean
|
Chris@0
|
141 label: 'Include locked languages'
|