-
Notifications
You must be signed in to change notification settings - Fork 0
/
node_transmit.routing.yml
executable file
·51 lines (51 loc) · 1.59 KB
/
node_transmit.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
node_transmit.settings:
path: '/admin/config/system/node_transmit'
defaults:
_title: '内网ip设置'
_form: '\Drupal\node_transmit\Form\NodeTransmitSettingsForm'
requirements:
_permission: 'access administration pages'
node_transmit.transmit:
path: '/transmit/{type}/{nid}'
defaults:
_title: '文献传递下载'
_controller: '\Drupal\node_transmit\Controller\NodeTransmitController::import'
requirements:
_access: 'TRUE'
node_transmit.review:
path: '/review/{type}/{node}'
defaults:
_title: '文献传递用户申请'
_form: '\Drupal\node_transmit\Form\ReviewForm'
requirements:
_user_is_logged_in: 'TRUE'
node_transmit.list:
path: '/admin/node_transmit_list'
defaults:
_title: '文献传递审核列表'
_controller: '\Drupal\node_transmit\Controller\NodeTransmitController::user_list'
link_id: 'system.admin_content'
requirements:
_permission: 'access administration pages'
node_transmit.check:
path: '/check'
defaults:
_title: '审核操作'
_controller: '\Drupal\node_transmit\Controller\NodeTransmitController::update'
requirements:
_permission: 'access administration pages'
node_transmit.reject:
path: '/reject'
defaults:
_title: '驳回操作'
_controller: '\Drupal\node_transmit\Controller\NodeTransmitController::reject'
requirements:
_permission: 'access administration pages'
node_transmit.autoapi:
path: '/autoapi'
defaults:
_title: '导入数据接口'
_controller: '\Drupal\node_transmit\Controller\NodeTransmitController::autoapi'
methods: [POST]
requirements:
_access: 'TRUE'