You are here

workflows.workflow.varbase_editorial_workflow.yml in Varbase Workflow 2.0.x

config/install/workflows.workflow.varbase_editorial_workflow.yml

File

config/install/workflows.workflow.varbase_editorial_workflow.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - content_moderation
  6. id: varbase_editorial_workflow
  7. label: Editorial
  8. type: content_moderation
  9. type_settings:
  10. states:
  11. archived:
  12. published: false
  13. default_revision: true
  14. label: "Archived / Unpublished"
  15. weight: 0
  16. draft:
  17. published: false
  18. default_revision: false
  19. label: Draft
  20. weight: -3
  21. review:
  22. published: false
  23. default_revision: false
  24. label: "In review"
  25. weight: -2
  26. published:
  27. label: Published
  28. published: true
  29. default_revision: true
  30. weight: -1
  31. transitions:
  32. archive:
  33. label: "Archive / Unpublish"
  34. to: archived
  35. weight: 1
  36. from:
  37. - published
  38. archived_published:
  39. label: "Restore from archive"
  40. from:
  41. - archived
  42. to: published
  43. weight: 2
  44. create_new_draft:
  45. label: "Create new draft"
  46. to: draft
  47. weight: -3
  48. from:
  49. - archived
  50. - draft
  51. - review
  52. - published
  53. publish:
  54. label: Publish
  55. to: published
  56. weight: -1
  57. from:
  58. - draft
  59. - review
  60. - published
  61. review:
  62. label: "Send to review"
  63. to: review
  64. weight: -2
  65. from:
  66. - draft
  67. - review
  68. default_moderation_state: draft
  69. entity_types: {}