You are here

workflows.workflow.editorial.yml in Lightning Workflow 8.3

config/optional/workflows.workflow.editorial.yml

File

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