-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcapable.routing.yml
More file actions
53 lines (47 loc) · 1.38 KB
/
Copy pathcapable.routing.yml
File metadata and controls
53 lines (47 loc) · 1.38 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
capable.content:
path: '/hello'
defaults:
_controller: '\Drupal\capable\Controller\CapableController::content'
_title: 'You did it'
requirements:
_permission: 'access_content capable edit_permissions'
capable.parameters:
path: '/parameters/{slug}'
defaults:
_controller: '\Drupal\capable\Controller\CapableController::parameters'
requirements:
_permission: 'access content'
capable.config:
path: 'capable-module/configuration'
defaults:
_controller: '\Drupal\capable\Controller\CapableController::configsettingspage'
requirements:
_permission: 'access content'
capable.form:
path: '/capable/form'
defaults:
_form: '\Drupal\capable\Form\CapableForm'
_title: 'Capable Form'
requirements:
_permission: 'access content'
capable.welcome:
path: /welcome
defaults:
_controller: \Drupal\capable\Controller\CapableController::welcome
_title: 'Welcome'
requirements:
_permission: 'access content'
capable.moduleconfigs:
path: /module/configs
defaults:
_controller: \Drupal\capable\Controller\CapableController::moduleconfigs
_title: 'Module Configs'
requirements:
_permission: 'access content'
capable.serviceexample:
path: '/module/service'
defaults:
_controller: '\Drupal\capable\Controller\CapableController::serviceexample'
_title: 'Service Example'
requirements:
_permission: 'access content'