diff core/modules/workspaces/workspaces.routing.yml @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/workspaces/workspaces.routing.yml	Thu Feb 28 13:11:55 2019 +0000
@@ -0,0 +1,27 @@
+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'