forked from larowlan/token
-
Notifications
You must be signed in to change notification settings - Fork 0
/
token.routing.yml
63 lines (60 loc) · 1.83 KB
/
token.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
52
53
54
55
56
57
58
59
60
61
62
63
token.tree:
path: '/token/tree'
defaults:
_controller: '\Drupal\token\Controller\TokenTreeController::outputTree'
requirements:
_csrf_token: 'TRUE'
token.autocomplete:
path: '/token/autocomplete/{token_type}/{filter}'
defaults:
_controller: '\Drupal\token\Controller\TokenAutocompleteController::autocomplete'
requirements:
_access: 'TRUE'
token.flush_cache:
path: '/token/flush-cache'
defaults:
_controller: '\Drupal\token\Controller\TokenCacheController::flush'
requirements:
_permission: 'flush caches'
_csrf_token: 'TRUE'
_module_dependencies: 'admin_menu'
token.devel_node_token:
path: '/node/{node}/devel/token'
defaults:
_controller: '\Drupal\token\Controller\TokenDevelController::devel_token_node'
_title: 'Tokens'
options:
_access_mode: 'ALL'
requirements:
_permission: 'access devel information'
_module_dependencies: 'devel'
token.devel_comment_token:
path: '/comment/{comment}/devel/token'
defaults:
_controller: '\Drupal\token\Controller\TokenDevelController::devel_token_comment'
_title: 'Tokens'
options:
_access_mode: 'ALL'
requirements:
_permission: 'access devel information'
_module_dependencies: 'devel'
token.devel_taxonomy_term_token:
path: '/taxonomy/term/{taxonomy_term}/devel/token'
defaults:
_controller: '\Drupal\token\Controller\TokenDevelController::devel_token_taxonomy_term'
_title: 'Tokens'
options:
_access_mode: 'ALL'
requirements:
_permission: 'access devel information'
_module_dependencies: 'devel'
token.devel_user_token:
path: '/user/{user}/devel/token'
defaults:
_controller: '\Drupal\token\Controller\TokenDevelController::devel_token_user'
_title: 'Tokens'
options:
_access_mode: 'ALL'
requirements:
_permission: 'access devel information'
_module_dependencies: 'devel'