-
Notifications
You must be signed in to change notification settings - Fork 6
/
islandora_riprap.routing.yml
36 lines (32 loc) · 1.13 KB
/
islandora_riprap.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
islandora_riprap.media_events:
path: '/media/{media}/riprap'
defaults:
_controller: '\Drupal\islandora_riprap\Controller\IslandoraRiprapMediaEventsController::main'
_title: 'Fixity Events'
requirements:
_permission: 'manage media'
media: \d+
islandora_riprap.settings:
path: '/admin/config/islandora_riprap/settings'
defaults:
_form: '\Drupal\islandora_riprap\Plugin\Form\IslandoraRiprapSettingsForm'
_title: 'Islandora Riprap'
requirements:
_permission: 'administer site configuration'
islandora_riprap.events_report:
path: '/admin/reports/islandora_riprap'
defaults:
_controller: '\Drupal\islandora_riprap\Controller\IslandoraRiprapEventsReportController::main'
_title: 'Failed Fixity Check Events'
requirements:
_permission: 'administer site configuration'
islandora.riprap.hash:
path: '/islandora_riprap/checksum'
defaults:
_controller: '\Drupal\islandora_riprap\Controller\IslandoraRiprapGetHashController::main'
methods: [GET]
requirements:
# Defined by the Islandora module.
_permission: 'view checksums'
options:
_auth: ['basic_auth', 'cookie', 'jwt_auth']