-
Notifications
You must be signed in to change notification settings - Fork 5
/
dgi_fixity.routing.yml
57 lines (53 loc) · 1.77 KB
/
dgi_fixity.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
dgi_fixity.settings:
path: '/admin/config/fixity'
defaults:
_form: '\Drupal\dgi_fixity\Form\SettingsForm'
_title: 'Fixity'
requirements:
_permission: 'access administration pages,administer site configuration,administer fixity checks'
dgi_fixity.batch:
path: '/admin/config/fixity/check'
defaults:
_form: '\Drupal\dgi_fixity\Form\BatchForm'
_title: 'Check'
requirements:
_permission: 'access administration pages,administer fixity checks'
dgi_fixity.generate:
path: '/admin/config/fixity/generate'
defaults:
_form: '\Drupal\dgi_fixity\Form\GenerateForm'
_title: 'Generate'
requirements:
_permission: 'access administration pages,administer fixity checks'
entity.fixity_check.revision:
path: '/fixity/{fixity_check}/revisions/{fixity_check_revision}'
defaults:
_controller: '\Drupal\Core\Entity\Controller\EntityViewController::viewRevision'
_title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
requirements:
_entity_access: 'fixity_check_revision.view revision'
fixity_check: \d+
fixity_check_revision: \d+
options:
_admin_route: TRUE
parameters:
fixity_check:
type: entity:fixity_check
fixity_check_revision:
type: entity_revision:fixity_check
entity.fixity_check.revision_delete_confirm:
path: '/fixity/{fixity_check}/revisions/{fixity_check_revision}/delete'
defaults:
_form: '\Drupal\dgi_fixity\Form\RevisionDeleteForm'
_title: 'Delete earlier check'
requirements:
_entity_access: 'fixity_check_revision.delete revision'
fixity_check: \d+
fixity_check_revision: \d+
options:
_admin_route: TRUE
parameters:
fixity_check:
type: entity:fixity_check
fixity_check_revision:
type: entity_revision:fixity_check