workflow.routing.yml in Workflow 8
3 string references to YAML keys in workflow.routing.yml
- WorkflowTypeForm::save in src/
Form/ WorkflowTypeForm.php - Form submission handler for the 'save' action.
- workflow_entity_operation in ./
workflow.entity.inc - @inheritdoc
- workflow_help in ./
workflow.module - @inheritdoc
File
workflow.routing.ymlView source
- # All other routes for Workflow maintenance are declared in Workflow UI.
-
- ### Workflow Collections
- entity.workflow_type.collection:
- path: '/admin/config/workflow/workflow'
- defaults:
- _entity_list: 'workflow_type'
- # _controller: '\workflow\EntityWorkflowUIController::adminOverview'
- _title: 'Workflows'
- requirements:
- _permission: 'administer workflow'
-
- entity.workflow_state.collection:
- path: '/admin/config/workflow/workflow/{workflow_type}/states'
- defaults:
- _entity_list: 'workflow_state'
- _title: 'Edit Workflow'
- _title_callback: 'workflow_url_get_title'
- requirements:
- _permission: 'administer workflow'
- options:
- parameters:
- workflow_type:
- type: entity:workflow_type
-
- entity.workflow_transition.collection:
- path: '/admin/config/workflow/workflow/{workflow_type}/transition_roles'
- defaults:
- _form: 'Drupal\workflow\Form\WorkflowConfigTransitionRoleForm'
- _title: 'Edit Workflow'
- _title_callback: 'workflow_url_get_title'
- requirements:
- _permission: 'administer workflow'
- options:
- parameters:
- workflow_type:
- type: entity:workflow_type
-
- entity.workflow_transition_label.collection:
- path: '/admin/config/workflow/workflow/{workflow_type}/transition_labels'
- defaults:
- _form: 'Drupal\workflow\Form\WorkflowConfigTransitionLabelForm'
- _title: 'Edit Workflow'
- _title_callback: 'workflow_url_get_title'
- requirements:
- _permission: 'administer workflow'
- options:
- parameters:
- workflow_type:
- type: entity:workflow_type
-
- ### Workflow CRUD
- entity.workflow_type.canonical:
- path: '/admin/config/workflow/workflow/{workflow_type}'
- defaults:
- _entity_form: 'workflow_type.edit'
- _title: 'Edit Workflow'
- _title_callback: 'workflow_url_get_title'
- requirements:
- _permission: 'administer workflow'
- # _entity_access: 'workflow.update'
-
- entity.workflow_type.add_form:
- path: '/admin/config/workflow/workflow/add'
- defaults:
- _entity_form: 'workflow_type.add'
- _title: 'Add Workflow'
- requirements:
- _permission: 'administer workflow'
- # _entity_access: 'workflow.update'
-
- entity.workflow_type.edit_form:
- path: '/admin/config/workflow/workflow/{workflow_type}'
- defaults:
- _entity_form: 'workflow_type.edit'
- _title: 'Edit Workflow'
- _title_callback: 'workflow_url_get_title'
- requirements:
- _permission: 'administer workflow'
- # _entity_access: 'workflow.update'
-
- entity.workflow_type.delete_form:
- path: '/admin/config/workflow/workflow/{workflow_type}/delete'
- defaults:
- _entity_form: 'workflow_type.delete'
- _title: 'Delete Workflow'
- requirements:
- _permission: 'administer workflow'
- # _entity_access: 'workflow.update'
-
- ### Workflow Executed Transition CRUD
- entity.workflow_transition.canonical:
- path: '/workflow_transition/{workflow_transition}'
- defaults:
- # Calls the view controller, defined in the annotation of the contact entity
- # _entity_view: 'workflow_transition'
- _title: 'Workflow transition'
- #requirements:
- # Calls the access controller of the entity, $operation 'view'
- # _entity_access: 'workflow_transition.view'
-
- entity.workflow_transition.edit_form:
- path: '/workflow_transition/{workflow_transition}/edit'
- defaults:
- _entity_form: 'workflow_transition.edit'
- _title: 'Edit Workflow transition'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'workflow_transition.update'
-
- entity.workflow_transition.delete_form:
- path: '/workflow_transition/{workflow_transition}/delete'
- defaults:
- _entity_form: 'workflow_transition.delete'
- _title: 'Delete Workflow transition'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'workflow_transition.delete'
-
- entity.workflow_transition.revert_form:
- path: '/workflow_transition/{workflow_transition}/revert'
- defaults:
- _entity_form: 'workflow_transition.revert'
- _title: 'Revert Workflow transition'
- requirements:
- _entity_access: 'workflow_transition.revert'
- # _access: 'true'
-
- ### Workflow Scheduled Transition CRUD
- entity.workflow_scheduled_transition.canonical:
- path: '/workflow_transition/{workflow_transition}'
- defaults:
- # Calls the view controller, defined in the annotation of the contact entity
- # _entity_view: 'workflow_transition'
- _title: 'Workflow transition'
- #requirements:
- # Calls the access controller of the entity, $operation 'view'
- # _entity_access: 'workflow_transition.view'
-
- entity.workflow_scheduled_transition.edit_form:
- path: '/workflow_transition/{workflow_transition}/edit'
- defaults:
- _entity_form: 'workflow_transition.edit'
- _title: 'Edit Workflow transition'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'workflow_transition.update'
-
- entity.workflow_scheduled_transition.delete_form:
- path: '/workflow_transition/{workflow_transition}/delete'
- defaults:
- _entity_form: 'workflow_transition.delete'
- _title: 'Delete Workflow transition'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'workflow_transition.delete'