workbench.routing.yml in Workbench 8
1 string reference to YAML keys in workbench.routing.yml
- workbench_toolbar in ./
workbench.module - Implements hook_toolbar().
File
workbench.routing.ymlView source
- 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'