-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathowntracks.routing.yml
155 lines (137 loc) · 4.64 KB
/
owntracks.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
entity.owntracks_location.add_form:
path: '/owntracks_location/add'
defaults:
_entity_form: 'owntracks_location.add'
_title: 'Add OwnTracks Location'
requirements:
_entity_create_access: 'owntracks_location'
entity.owntracks_location.canonical:
path: '/owntracks_location/{owntracks_location}'
defaults:
_entity_view: 'owntracks_location'
_title: 'OwnTracks Location'
requirements:
_entity_access: 'owntracks_location.view'
entity.owntracks_location.edit_form:
path: '/owntracks_location/{owntracks_location}/edit'
defaults:
_entity_form: 'owntracks_location.edit'
_title: 'Edit OwnTracks Location'
requirements:
_entity_access: 'owntracks_location.update'
entity.owntracks_location.delete_form:
path: '/owntracks_location/{owntracks_location}/delete'
defaults:
_entity_form: 'owntracks_location.delete'
_title: 'Delete OwnTracks Location'
requirements:
_entity_access: 'owntracks_location.delete'
entity.owntracks_transition.add_form:
path: '/owntracks_transition/add'
defaults:
_entity_form: 'owntracks_transition.add'
_title: 'Add OwnTracks Transition'
requirements:
_entity_create_access: 'owntracks_transition'
entity.owntracks_transition.canonical:
path: '/owntracks_transition/{owntracks_transition}'
defaults:
_entity_view: 'owntracks_transition'
_title: 'OwnTracks Transition'
requirements:
_entity_access: 'owntracks_transition.view'
entity.owntracks_transition.edit_form:
path: '/owntracks_transition/{owntracks_transition}/edit'
defaults:
_entity_form: 'owntracks_transition.edit'
_title: 'Edit OwnTracks Transition'
requirements:
_entity_access: 'owntracks_transition.update'
entity.owntracks_transition.delete_form:
path: '/owntracks_transition/{owntracks_transition}/delete'
defaults:
_entity_form: 'owntracks_transition.delete'
_title: 'Delete OwnTracks Transition'
requirements:
_entity_access: 'owntracks_transition.delete'
entity.owntracks_waypoint.add_form:
path: '/owntracks_waypoint/add'
defaults:
_entity_form: 'owntracks_waypoint.add'
_title: 'Add OwnTracks Waypoint'
requirements:
_entity_create_access: 'owntracks_waypoint'
entity.owntracks_waypoint.canonical:
path: '/owntracks_waypoint/{owntracks_waypoint}'
defaults:
_entity_view: 'owntracks_waypoint'
_title: 'OwnTracks Waypoint'
requirements:
_entity_access: 'owntracks_waypoint.view'
entity.owntracks_waypoint.edit_form:
path: '/owntracks_waypoint/{owntracks_waypoint}/edit'
defaults:
_entity_form: 'owntracks_waypoint.edit'
_title: 'Edit OwnTracks Waypoint'
requirements:
_entity_access: 'owntracks_waypoint.update'
entity.owntracks_waypoint.delete_form:
path: '/owntracks_waypoint/{owntracks_waypoint}/delete'
defaults:
_entity_form: 'owntracks_waypoint.delete'
_title: 'Delete OwnTracks Waypoint'
requirements:
_entity_access: 'owntracks_waypoint.delete'
owntracks.admin_index:
path: '/admin/config/owntracks'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'OwnTracks settings'
requirements:
_permission: 'administer owntracks'
owntracks.map_settings:
path: '/admin/config/owntracks/map'
defaults:
_form: '\Drupal\owntracks\OwnTracksMapSettingsForm'
_title: 'OwnTracks Map settings'
requirements:
_permission: 'administer owntracks'
entity.owntracks_location.admin_form:
path: '/admin/config/owntracks/location'
defaults:
_form: '\Drupal\owntracks\OwnTracksLocationSettingsForm'
_title: 'OwnTracks Location settings'
requirements:
_permission: 'administer owntracks'
entity.owntracks_transition.admin_form:
path: '/admin/config/owntracks/transition'
defaults:
_form: '\Drupal\owntracks\OwnTracksTransitionSettingsForm'
_title: 'OwnTracks Transition settings'
requirements:
_permission: 'administer owntracks'
entity.owntracks_waypoint.admin_form:
path: '/admin/config/owntracks/waypoint'
defaults:
_form: '\Drupal\owntracks\OwnTracksWaypointSettingsForm'
_title: 'OwnTracks Waypoint settings'
requirements:
_permission: 'administer owntracks'
owntracks.user_map:
path: '/user/{user}/owntracks'
defaults:
_form: '\Drupal\owntracks\Form\OwnTracksUserMapForm'
_title: 'OwnTracks'
requirements:
_owntracks_user_map_access: 'TRUE'
owntracks.endpoint:
path: '/owntracks/endpoint'
options:
_auth: ['basic_auth']
defaults:
_controller: '\Drupal\owntracks\Controller\OwnTracksEndpoint::handle'
methods: ['POST']
requirements:
_user_is_logged_in: 'TRUE'
_permission: 'administer owntracks+create owntracks entities'
_content_type_format: 'json'