workspaces.routing.yml in Drupal 8
Same filename and directory in other branches
core/modules/workspaces/workspaces.routing.yml
4 string references to YAML keys in workspaces.routing.yml
- WorkspaceListBuilder::getDefaultOperations in core/
modules/ workspaces/ src/ WorkspaceListBuilder.php - Gets this list's default operations.
- WorkspaceListBuilder::offCanvasRender in core/
modules/ workspaces/ src/ WorkspaceListBuilder.php - Renders the off canvas elements.
- WorkspaceMergeForm::getCancelUrl in core/
modules/ workspaces/ src/ Form/ WorkspaceMergeForm.php - Returns the route to go to if the user cancels the action.
- workspaces_toolbar in core/
modules/ workspaces/ workspaces.module - Implements hook_toolbar().
File
core/modules/workspaces/workspaces.routing.ymlView source
- entity.workspace.collection:
- path: '/admin/config/workflow/workspaces'
- defaults:
- _title: 'Workspaces'
- _entity_list: 'workspace'
- requirements:
- _permission: 'administer workspaces+edit any workspace'
-
- entity.workspace.activate_form:
- path: '/admin/config/workflow/workspaces/manage/{workspace}/activate'
- defaults:
- _entity_form: 'workspace.activate'
- _title: 'Activate Workspace'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'workspace.view'
-
- entity.workspace.deploy_form:
- path: '/admin/config/workflow/workspaces/manage/{workspace}/deploy'
- defaults:
- _entity_form: 'workspace.deploy'
- _title: 'Deploy Workspace'
- options:
- _admin_route: TRUE
- requirements:
- _permission: 'administer workspaces'
-
- entity.workspace.merge_form:
- path: '/admin/config/workflow/workspaces/manage/{source_workspace}/{target_workspace}/merge'
- defaults:
- _form: '\Drupal\workspaces\Form\WorkspaceMergeForm'
- _title: 'Merge workspace'
- options:
- _admin_route: TRUE
- parameters:
- source_workspace:
- type: entity:workspace
- target_workspace:
- type: entity:workspace
- requirements:
- _permission: 'administer workspaces'
-
- workspaces.switch_to_live:
- path: '/admin/config/workflow/workspaces/switch-to-live'
- defaults:
- _form: '\Drupal\workspaces\Form\SwitchToLiveForm'
- _title: 'Switch to Live'
- requirements:
- _user_is_logged_in: 'TRUE'
- _has_active_workspace: 'TRUE'