You are here

workflow_access.routing.yml in Workflow 8

modules/workflow_access/workflow_access.routing.yml

File

modules/workflow_access/workflow_access.routing.yml
View source
  1. # Declaration of Workflow Access routings.
  2. ### Workflow settings form
  3. workflow.access.settings:
  4. path: '/admin/config/workflow/workflow/access'
  5. defaults:
  6. _form: '\Drupal\workflow_access\Form\WorkflowAccessSettingsForm'
  7. _title: 'Access settings'
  8. requirements:
  9. _permission: 'administer workflow'
  10. _module_dependencies: 'workflow'
  11. entity.workflow_type.access_form:
  12. path: '/admin/config/workflow/workflow/{workflow_type}/access'
  13. defaults:
  14. _title: 'Edit Workflow'
  15. _title_callback: 'workflow_url_get_title'
  16. _form: '\Drupal\workflow_access\Form\WorkflowAccessRoleForm'
  17. requirements:
  18. _permission: 'administer workflow'
  19. _module_dependencies: 'workflow'