forked from activelamp/purl-d8
-
Notifications
You must be signed in to change notification settings - Fork 4
/
purl.routing.yml
67 lines (58 loc) · 1.88 KB
/
purl.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
60
61
62
63
64
65
66
67
# # Admin screens
# purl.admin:
# path: admin/config/search/purl
# defaults:
# _controller: Drupal\purl\Controller\ProvidersController::providers
# _title: Persistent URLs
# requirements:
# _permission: 'administer'
# #purl.admin.methods:
# #path: admin/config/search/purl/methods
# #defaults:
# #_controller: Drupal\purl\Controller\ManageMethodsController::methods
# #_title: PURL Methods
# #requirements:
# #_permission: 'administer'
purl.modifiers:
path: admin/config/search/purl/modifiers
defaults:
_controller: Drupal\purl\Controller\ModifiersController::modifiers
_title: PURL Modifiers
requirements:
_permission: 'administer'
# POST actions
# purl.admin.save_providers_config:
# path: admin/config/search/purl/save-settings
# defaults:
# _controller: Drupal\purl\Controller\ProvidersController::saveProviderSettings
# _title: Persistent URLs
# requirements:
# _permission: 'administer'
entity.purl_provider.collection:
path: '/admin/config/search/purl'
defaults:
_entity_list: 'purl_provider'
_title: 'PURL Provider Configuration'
requirements:
_permission: 'administer site configuration'
entity.purl_provider.add_form:
path: '/admin/config/search/purl/provider/add'
defaults:
_entity_form: 'purl_provider.add'
_title: 'Add PURL Provider'
requirements:
_permission: 'administer site configuration'
entity.purl_provider.edit_form:
path: '/admin/config/search/purl/provider/{purl_provider}'
defaults:
_entity_form: 'purl_provider.edit'
_title: 'Edit PURL Provider'
requirements:
_permission: 'administer site configuration'
entity.purl_provider.delete_form:
path: '/admin/config/search/purl/provider/{purl_provider}/delete'
defaults:
_entity_form: 'purl_provider.delete'
_title: 'Delete PURL Provider'
requirements:
_permission: 'administer site configuration'