workflows.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/workflows/workflows.routing.yml
  2. 10 core/modules/workflows/workflows.routing.yml
  3. 11.x core/modules/workflows/workflows.routing.yml
core/modules/workflows/workflows.routing.yml
4 string references to YAML keys in workflows.routing.yml
WorkflowEditForm::form in core/modules/workflows/src/Form/WorkflowEditForm.php
Gets the actual form array to be built.
WorkflowStateEditForm::actions in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Returns an array of supported actions for the current entity form.
WorkflowStateEditForm::form in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Gets the actual form array to be built.
WorkflowTransitionEditForm::actions in core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
Returns an array of supported actions for the current entity form.

File

core/modules/workflows/workflows.routing.yml

View source
  1. entity.workflow.add_state_form:
  2. path: '/admin/config/workflow/workflows/manage/{workflow}/add_state'
  3. defaults:
  4. _entity_form: 'workflow.add-state'
  5. _title: 'Add state'
  6. requirements:
  7. _workflow_access: 'add-state'
  8. entity.workflow.edit_state_form:
  9. path: '/admin/config/workflow/workflows/manage/{workflow}/state/{workflow_state}'
  10. defaults:
  11. _entity_form: 'workflow.edit-state'
  12. _title: 'Edit state'
  13. requirements:
  14. _workflow_access: 'update-state'
  15. entity.workflow.delete_state_form:
  16. path: '/admin/config/workflow/workflows/manage/{workflow}/state/{workflow_state}/delete'
  17. defaults:
  18. _form: '\Drupal\workflows\Form\WorkflowStateDeleteForm'
  19. _title: 'Delete state'
  20. requirements:
  21. _workflow_access: 'delete-state'
  22. entity.workflow.add_transition_form:
  23. path: '/admin/config/workflow/workflows/manage/{workflow}/add_transition'
  24. defaults:
  25. _entity_form: 'workflow.add-transition'
  26. _title: 'Add transition'
  27. requirements:
  28. _workflow_access: 'add-transition'
  29. entity.workflow.edit_transition_form:
  30. path: '/admin/config/workflow/workflows/manage/{workflow}/transition/{workflow_transition}'
  31. defaults:
  32. _entity_form: 'workflow.edit-transition'
  33. _title: 'Edit transition'
  34. requirements:
  35. _workflow_access: 'update-transition'
  36. entity.workflow.delete_transition_form:
  37. path: '/admin/config/workflow/workflows/manage/{workflow}/transition/{workflow_transition}/delete'
  38. defaults:
  39. _form: '\Drupal\workflows\Form\WorkflowTransitionDeleteForm'
  40. _title: 'Delete transition'
  41. requirements:
  42. _workflow_access: 'delete-transition'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.