You are here

workflows.workflow.editorial.yml in Translation Views 8

tests/modules/translation_views_test_views/test_views/workflows.workflow.editorial.yml

File

tests/modules/translation_views_test_views/test_views/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. archived:
  14. label: Archived
  15. weight: 5
  16. published: false
  17. default_revision: true
  18. draft:
  19. label: Draft
  20. published: false
  21. default_revision: false
  22. weight: -5
  23. published:
  24. label: Published
  25. published: true
  26. default_revision: true
  27. weight: 0
  28. transitions:
  29. archive:
  30. label: Archive
  31. from:
  32. - published
  33. to: archived
  34. weight: 2
  35. archived_draft:
  36. label: 'Restore to Draft'
  37. from:
  38. - archived
  39. to: draft
  40. weight: 3
  41. archived_published:
  42. label: Restore
  43. from:
  44. - archived
  45. to: published
  46. weight: 4
  47. create_new_draft:
  48. label: 'Create New Draft'
  49. to: draft
  50. weight: 0
  51. from:
  52. - draft
  53. - published
  54. publish:
  55. label: Publish
  56. to: published
  57. weight: 1
  58. from:
  59. - draft
  60. - published
  61. entity_types:
  62. node:
  63. - article