You are here

workflows.workflow.editorial.yml in Thunder 6.0.x

modules/thunder_workflow/config/optional/workflows.workflow.editorial.yml

File

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