-
Notifications
You must be signed in to change notification settings - Fork 29
/
redirect.routing.yml
59 lines (52 loc) · 1.5 KB
/
redirect.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
redirect.list:
path: '/admin/config/search/redirect'
defaults:
_entity_list: 'redirect'
_title: 'URL redirects'
requirements:
_permission: 'administer redirects'
entity.redirect.canonical:
path: '/admin/config/search/redirect/edit/{redirect}'
defaults:
_entity_form: 'redirect.edit'
_title: 'Edit URL redirect'
requirements:
_entity_access: 'redirect.update'
redirect.add:
path: '/admin/config/search/redirect/add'
defaults:
_entity_form: 'redirect.default'
_title: 'Add URL redirect'
requirements:
_entity_create_access: 'redirect'
entity.redirect.edit_form:
path: '/admin/config/search/redirect/edit/{redirect}'
defaults:
_entity_form: 'redirect.edit'
_title: 'Edit URL redirect'
requirements:
_entity_access: 'redirect.update'
entity.redirect.delete_form:
path: '/admin/config/search/redirect/delete/{redirect}'
defaults:
_entity_form: 'redirect.delete'
_title: 'Delete URL redirect'
requirements:
_entity_access: 'redirect.delete'
redirect.settings:
path: '/admin/config/search/redirect/settings'
defaults:
_form: '\Drupal\redirect\Form\RedirectSettingsForm'
_title: 'Settings'
requirements:
_permission: 'administer redirects'
redirect.fix_404:
path: '/admin/config/search/redirect/404'
defaults:
_title: 'Fix 404 pages'
_form: '\Drupal\redirect\Form\RedirectFix404Form'
requirements:
_permission: 'administer redirects'
#redirect.devel_generate:
# requirements:
# _module_dependencies: 'devel'