-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathworkbench.routing.yml
39 lines (39 loc) · 1.32 KB
/
workbench.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
workbench.admin:
path: '/admin/config/workflow/workbench'
defaults:
_title: 'Workbench settings'
_form: '\Drupal\workbench\Form\WorkbenchSettingsForm'
requirements:
_permission: 'administer workbench'
workbench.content:
path: '/admin/workbench'
defaults:
_controller: '\Drupal\workbench\Controller\WorkbenchContentController::content'
_title: 'My Workbench'
_description: 'My Workbench area'
requirements:
_permission: 'access workbench'
workbench.create_content:
path: '/admin/workbench/create'
defaults:
_controller: '\Drupal\workbench\Controller\WorkbenchContentController::addPage'
_title: 'Add content'
requirements:
_permission: 'access workbench'
_node_add_access: 'node'
workbench.my_edited:
path: '/admin/workbench/content/edited'
defaults:
_controller: '\Drupal\workbench\Controller\WorkbenchContentController::editedContent'
_title: 'My edits'
_description: 'A searchable list of content you have edited'
requirements:
_permission: 'access workbench'
workbench.all_content:
path: '/admin/workbench/content/all'
defaults:
_controller: '\Drupal\workbench\Controller\WorkbenchContentController::allContent'
_title: 'All recent content'
_description: 'A sortable list of all recent content'
requirements:
_permission: 'access workbench'