workflows.routing.yml
Same filename in other branches
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
- entity.workflow.add_state_form:
- path: '/admin/config/workflow/workflows/manage/{workflow}/add_state'
- defaults:
- _entity_form: 'workflow.add-state'
- _title: 'Add state'
- requirements:
- _workflow_access: 'add-state'
-
- entity.workflow.edit_state_form:
- path: '/admin/config/workflow/workflows/manage/{workflow}/state/{workflow_state}'
- defaults:
- _entity_form: 'workflow.edit-state'
- _title: 'Edit state'
- requirements:
- _workflow_access: 'update-state'
-
- entity.workflow.delete_state_form:
- path: '/admin/config/workflow/workflows/manage/{workflow}/state/{workflow_state}/delete'
- defaults:
- _form: '\Drupal\workflows\Form\WorkflowStateDeleteForm'
- _title: 'Delete state'
- requirements:
- _workflow_access: 'delete-state'
-
- entity.workflow.add_transition_form:
- path: '/admin/config/workflow/workflows/manage/{workflow}/add_transition'
- defaults:
- _entity_form: 'workflow.add-transition'
- _title: 'Add transition'
- requirements:
- _workflow_access: 'add-transition'
-
- entity.workflow.edit_transition_form:
- path: '/admin/config/workflow/workflows/manage/{workflow}/transition/{workflow_transition}'
- defaults:
- _entity_form: 'workflow.edit-transition'
- _title: 'Edit transition'
- requirements:
- _workflow_access: 'update-transition'
-
- entity.workflow.delete_transition_form:
- path: '/admin/config/workflow/workflows/manage/{workflow}/transition/{workflow_transition}/delete'
- defaults:
- _form: '\Drupal\workflows\Form\WorkflowTransitionDeleteForm'
- _title: 'Delete transition'
- requirements:
- _workflow_access: 'delete-transition'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.