-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathos2forms_sync.routing.yml
More file actions
55 lines (49 loc) · 1.71 KB
/
os2forms_sync.routing.yml
File metadata and controls
55 lines (49 loc) · 1.71 KB
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
os2forms_sync.admin.settings:
path: '/admin/os2forms_sync/settings'
defaults:
_form: '\Drupal\os2forms_sync\Form\SettingsForm'
_title: 'Sync settings'
requirements:
_permission: 'administer site configuration'
os2forms_sync.webform.index:
path: '/admin/os2forms/sync/webform'
defaults:
_title: 'Import webforms'
_controller: '\Drupal\os2forms_sync\Controller\WebformController::index'
requirements:
_permission: 'access webform overview'
os2forms_sync.webform.import:
path: '/admin/os2forms/sync/webform/import'
defaults:
_controller: '\Drupal\os2forms_sync\Controller\WebformController::import'
methods: [POST]
requirements:
_permission: 'access webform overview'
os2forms_sync.jsonapi.webform.index:
path: '/os2forms/sync/jsonapi/webform'
defaults:
_controller: '\Drupal\os2forms_sync\Controller\JsonAPI\WebformController::index'
requirements:
_permission: 'access content'
os2forms_sync.jsonapi.webform.show:
path: '/os2forms/sync/jsonapi/webform/{webform}'
defaults:
_controller: '\Drupal\os2forms_sync\Controller\JsonAPI\WebformController::show'
requirements:
_permission: 'access content'
options:
parameters:
webform:
type: entity:webform
os2forms_sync.jsonapi.webform.imported:
path: '/os2forms/sync/jsonapi/webform/imported'
defaults:
_controller: '\Drupal\os2forms_sync\Controller\JsonAPI\WebformController::imported'
requirements:
_permission: 'access webform overview'
os2forms_sync.jsonapi.webform.available:
path: '/os2forms/sync/jsonapi/webform/available'
defaults:
_controller: '\Drupal\os2forms_sync\Controller\JsonAPI\WebformController::available'
requirements:
_permission: 'access webform overview'