Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / content_moderation / config / install / workflows.workflow.editorial.yml
index d8daa5135ab34715255b27e5ea25c0245ba57815..52dbc27542daa9829276bb3fb592537c4f169d89 100644 (file)
@@ -4,60 +4,56 @@ dependencies:
   module:
     - content_moderation
 id: editorial
-label: 'Editorial workflow'
-states:
-  archived:
-    label: Archived
-    weight: 5
-  draft:
-    label: Draft
-    weight: -5
-  published:
-    label: Published
-    weight: 0
-transitions:
-  archive:
-    label: Archive
-    from:
-      - published
-    to: archived
-    weight: 2
-  archived_draft:
-    label: 'Restore to Draft'
-    from:
-      - archived
-    to: draft
-    weight: 3
-  archived_published:
-    label: Restore
-    from:
-      - archived
-    to: published
-    weight: 4
-  create_new_draft:
-    label: 'Create New Draft'
-    from:
-      - draft
-      - published
-    to: draft
-    weight: 0
-  publish:
-    label: Publish
-    from:
-      - draft
-      - published
-    to: published
-    weight: 1
+label: 'Editorial'
 type: content_moderation
 type_settings:
   states:
     archived:
+      label: Archived
+      weight: 5
       published: false
       default_revision: true
     draft:
+      label: Draft
       published: false
       default_revision: false
+      weight: -5
     published:
+      label: Published
       published: true
       default_revision: true
+      weight: 0
+  transitions:
+    archive:
+      label: Archive
+      from:
+        - published
+      to: archived
+      weight: 2
+    archived_draft:
+      label: 'Restore to Draft'
+      from:
+        - archived
+      to: draft
+      weight: 3
+    archived_published:
+      label: Restore
+      from:
+        - archived
+      to: published
+      weight: 4
+    create_new_draft:
+      label: 'Create New Draft'
+      to: draft
+      weight: 0
+      from:
+        - draft
+        - published
+    publish:
+      label: Publish
+      to: published
+      weight: 1
+      from:
+        - draft
+        - published
   entity_types: {  }