forked from BurdaMagazinOrg/module-dcx-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdcx_integration.routing.yml
36 lines (32 loc) · 1.33 KB
/
dcx_integration.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
dcx_integration.json_client_settings:
path: 'admin/config/dcx_integration/jsonclientsettings'
defaults:
_form: '\Drupal\dcx_integration\Form\JsonClientSettings'
_title: 'DCX Credentials'
requirements:
_permission: 'access administration pages'
options:
_admin_route: TRUE
# In order to to create pages it is necessary to define routes for them.
# A route maps a URL path to a controller. It defines with what function
# or method will be called when a URL is accessed.
# If the user accesses http://drupal8.dev/dxc-debug/{type}/{id}, the routing
# system will look for a route with that path. In this case it will find a
# match, and execute the _controller callback. In this case the callback is
# defined as a classname
# ("\Drupal\dcx_integration\Controller\DcxDebugController")
# and a method ("debug").
dcx_integration.dcx_debug_controller_debug:
path: 'dcx-debug/{type}/{id}'
defaults:
_controller: '\Drupal\dcx_integration\Controller\DcxDebugController::debug'
_title: 'Debug DCX Output'
requirements:
_permission: 'access administration pages'
dcx_integration.dcx_debug_controller_archive:
path: 'dcx-debug/archive'
defaults:
_controller: '\Drupal\dcx_integration\Controller\DcxDebugController::archive'
_title: 'Debug DCX Output'
requirements:
_permission: 'access administration pages'