forked from esmero/ami
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ami.routing.yml
117 lines (105 loc) · 3.19 KB
/
ami.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
ami.multistep_import:
path: '/admin/ami-batch'
defaults:
_title: 'Import Archipelago Objects'
_form: '\Drupal\ami\Form\AmiMultiStepIngest'
options:
_admin_route: TRUE
requirements:
_permission: 'Multi Import Digital Objects'
ami.multistep_import_parent:
path: '/ami/{entity_type}/{entity}'
defaults:
_form: '\Drupal\ami\Form\AmiMultiStepIngest'
_title: 'Import Archipelago Objects'
requirements:
_permission: 'Multi Import Digital Objects'
_entity_access: 'entity.update'
options:
parameters:
entity:
type: entity:{entity_type}
# All Routes for the AMI Set Entity that will Batch Sets
ami.amisetentity_settings:
path: 'admin/structure/amiset_entity_settings'
defaults:
_form: '\Drupal\ami\Form\amiSetSettingsForm'
_title: 'AMI Set Entity Settings'
requirements:
_permission: 'administer amiset entity'
entity.ami_set_entity.collection:
path: '/amiset/list'
defaults:
_entity_list: 'ami_set_entity'
_title: 'AMI Set Display List'
requirements:
_permission: 'administer amiset entity'
entity.ami_set_entity.canonical:
path: '/amiset/{ami_set_entity}'
defaults:
_entity_view: 'ami_set_entity'
_title: 'Ami Set'
requirements:
_entity_access: 'ami_set_entity.view'
entity.ami_set_entity.add:
path: '/amiset/add'
defaults:
_entity_form: ami_set_entity.add
_title: 'Add Ami Set'
requirements:
_entity_create_access: 'ami_set_entity'
entity.ami_set_entity.edit_form:
path: '/amiset/{ami_set_entity}/edit'
defaults:
_entity_form: ami_set_entity.edit
_title: 'Edit Ami Set'
requirements:
_entity_access: 'ami_set_entity.edit'
entity.ami_set_entity.delete_form:
path: '/amiset/{ami_set_entity}/delete'
defaults:
_entity_form: ami_set_entity.delete
_title: 'Delete Ami Set'
requirements:
_entity_access: 'ami_set_entity.delete'
entity.ami_set_entity.process_form:
path: '/amiset/{ami_set_entity}/process'
defaults:
_entity_form: ami_set_entity.process
_title: 'Process Ami Set'
requirements:
_entity_access: 'ami_set_entity.process'
entity.ami_set_entity.delete_process_form:
path: '/amiset/{ami_set_entity}/deleteprocessed'
defaults:
_entity_form: ami_set_entity.deleteprocessed
_title: 'Process Ami Set'
requirements:
_entity_access: 'ami_set_entity.deleteados'
entity.ami_set_entity.reconcile_form:
path: '/amiset/{ami_set_entity}/reconcile'
defaults:
_entity_form: ami_set_entity.reconcile
_title: 'Reconcile LoD'
requirements:
_entity_access: 'ami_set_entity.process'
entity.ami_set_entity.reconcileedit_form:
path: '/amiset/{ami_set_entity}/editreconcile'
defaults:
_entity_form: ami_set_entity.editreconcile
_title: 'Clean Reconciled LoD'
requirements:
_entity_access: 'ami_set_entity.process'
ami.rowsbylabel.autocomplete:
path: '/admin/amiset/autocomplete/{ami_set_entity}/rowsbylabel'
options:
parameters:
ami_set_entity:
type: 'entity:ami_set_entity'
defaults:
_controller: '\Drupal\ami\Controller\AmiRowAutocompleteHandler::handleAutocomplete'
_format: json
requirements:
_entity_access: 'ami_set_entity.view'
_permission: 'access content'
_csrf_token: 'TRUE'