-
Notifications
You must be signed in to change notification settings - Fork 2
/
sync.routing.yml
46 lines (46 loc) · 1.11 KB
/
sync.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
sync.sync:
path: '/admin/sync'
defaults:
_form: '\Drupal\sync\Form\SyncForm'
_title: 'Sync'
requirements:
_permission: 'access sync overview'
options:
_admin_route: TRUE
sync.settings:
path: '/admin/sync/settings'
defaults:
_form: '\Drupal\sync\Form\SettingsForm'
_title: 'Sync Settings'
requirements:
_permission: 'manage sync'
options:
_admin_route: TRUE
sync.log:
path: '/admin/sync/{plugin_id}/log'
defaults:
_controller: '\Drupal\sync\Controller\SyncController::log'
_title: 'Sync Log'
plugin: null
requirements:
_permission: 'access sync overview'
options:
_admin_route: TRUE
sync.fetcher.form:
path: '/admin/sync/{plugin_id}/form'
defaults:
_form: '\Drupal\sync\Form\SyncFetcherForm'
_title: 'Perform Sync'
requirements:
_sync_resource_access: 'plugin_id.update'
# _permission: 'access sync overview'
options:
_admin_route: TRUE
sync.cron:
path: '/sync-cron/{key}'
defaults:
_controller: '\Drupal\sync\Controller\SyncController::cron'
options:
no_cache: TRUE
requirements:
_access_system_cron: 'TRUE'