This repository was archived by the owner on Jul 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathservices.routing.yml
More file actions
87 lines (77 loc) · 2.48 KB
/
services.routing.yml
File metadata and controls
87 lines (77 loc) · 2.48 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
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
# ServiceEndpoint routing definition
entity.service_endpoint.collection:
path: '/admin/structure/service_endpoint'
defaults:
_entity_list: 'service_endpoint'
_title: 'Services'
requirements:
_permission: 'manage services'
entity.service_endpoint.add_form:
path: '/admin/structure/service_endpoint/add'
defaults:
_entity_form: 'service_endpoint.add'
_title: 'Add services endpoint'
requirements:
_permission: 'manage services'
entity.service_endpoint.edit_form:
path: '/admin/structure/service_endpoint/{service_endpoint}'
defaults:
_entity_form: 'service_endpoint.edit'
_title: 'Edit services endpoint'
requirements:
_permission: 'manage services'
entity.service_endpoint.delete_form:
path: '/admin/structure/service_endpoint/{service_endpoint}/delete'
defaults:
_entity_form: 'service_endpoint.delete'
_title: 'Delete services endpoint'
requirements:
_permission: 'manage services'
entity.service_endpoint.resources:
path: '/admin/structure/service_endpoint/{service_endpoint}/resources'
defaults:
_title: 'Service resources'
_controller: \Drupal\services\Controller\ServiceEndpointResources::displayList
requirements:
_permission: 'manage services'
options:
parameters:
service_endpoint:
type: entity:service_endpoint
entity.service_endpoint_resource.config_form:
path: '/admin/structure/service_endpoint/{service_endpoint}/resource/{plugin_id}'
defaults:
_title: 'Configure resource'
_entity_form: 'service_endpoint_resource.config'
requirements:
_permission: 'manage services'
options:
parameters:
service_endpoint:
type: entity:service_endpoint
entity.service_endpoint_resource.delete_form:
path: '/admin/structure/service_endpoint/{service_endpoint}/resource/{plugin_id}/delete'
defaults:
_title: 'Delete resource'
_entity_form: 'service_endpoint_resource.delete'
requirements:
_permission: 'manage services'
options:
parameters:
service_endpoint:
type: entity:service_endpoint
services.csrf_token:
path: '/services/session/token'
defaults:
_controller: '\Drupal\services\Controller\Services::csrfToken'
requirements:
_access: 'TRUE'
services.settings:
path: '/admin/structure/service_endpoint/settings'
defaults:
_title: 'Service settings'
_form: '\Drupal\services\Form\ServiceSettingsForm'
requirements:
_permission: 'manage services'
route_callbacks:
- '\Drupal\services\Routing\ServiceEndpoint::routes'