-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlanguage_suggestion.routing.yml
43 lines (39 loc) · 1.39 KB
/
language_suggestion.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language_suggestion.mapping:
path: '/admin/config/regional/language-suggestion'
defaults:
_form: '\Drupal\language_suggestion\Form\LanguageSuggestionMappingForm'
_title: 'Language Suggestion'
requirements:
_permission: 'access administration pages'
options:
_admin_route: TRUE
language_suggestion.settings:
path: '/admin/config/regional/language-suggestion/settings'
defaults:
_form: '\Drupal\language_suggestion\Form\LanguageSuggestionSettingsForm'
_title: 'Settings'
requirements:
_permission: 'access administration pages'
options:
_admin_route: TRUE
language_suggestion.get_country_code:
path: '/language-suggestion/get-county-code'
defaults:
_controller: '\Drupal\language_suggestion\Controller\LanguageSuggestionController::getCountryCode'
methods: [GET]
requirements:
_access: 'TRUE'
language_suggestion.header_value:
path: '/language-suggestion/get-header-parameter'
defaults:
_controller: '\Drupal\language_suggestion\Controller\LanguageSuggestionController::getHTTPHeaderValue'
methods: [GET]
requirements:
_access: 'TRUE'
language_suggestion.negotiation_http_header:
path: '/admin/config/regional/language/detection/http-header'
defaults:
_form: '\Drupal\language_suggestion\Form\NegotiationHTTPHeaderForm'
_title: 'HTTP header language detection configuration'
requirements:
_permission: 'administer languages'