-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhax.routing.yml
36 lines (36 loc) · 1.09 KB
/
hax.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
hax.node_save:
path: '/hax-node-save/{node}/{token}'
methods: [PUT]
defaults:
op: update
_controller: '\Drupal\hax\Controller\HaxController::save'
requirements:
_custom_access: '\Drupal\hax\Controller\HaxController::access'
hax.file_save:
path: '/hax-file-save/{token}'
defaults:
op: create
_controller: '\Drupal\hax\Controller\HaxController::fileSave'
requirements:
_custom_access: '\Drupal\hax\Controller\HaxController::fileAccess'
hax.load_app_store:
path: '/hax-app-store/{token}'
defaults:
_controller: '\Drupal\hax\Controller\HaxController::loadAppStore'
requirements:
_permission: 'use hax'
hax.node_form:
path: '/node/{node}/hax'
defaults:
op: update
_title_callback: '\Drupal\hax\Controller\HaxController::title'
_controller: '\Drupal\hax\Controller\HaxController::form'
requirements:
_custom_access: '\Drupal\hax\Controller\HaxController::access'
hax.settings:
path: /admin/config/content/hax
defaults:
_title: HAX
_form: \Drupal\hax\Form\HaxSettings
requirements:
_permission: 'administer site configuration'