workflows.workflow.editorial.yml

Same filename in this branch
  1. 9 core/profiles/demo_umami/config/install/workflows.workflow.editorial.yml
Same filename in other branches
  1. 8.9.x core/profiles/standard/config/optional/workflows.workflow.editorial.yml
  2. 8.9.x core/profiles/demo_umami/config/install/workflows.workflow.editorial.yml
  3. 10 core/profiles/standard/config/optional/workflows.workflow.editorial.yml
  4. 10 core/profiles/demo_umami/config/install/workflows.workflow.editorial.yml
  5. 11.x core/profiles/standard/config/optional/workflows.workflow.editorial.yml
  6. 11.x core/profiles/demo_umami/config/install/workflows.workflow.editorial.yml
  7. 11.x core/recipes/editorial_workflow/config/workflows.workflow.editorial.yml
  8. 10 core/recipes/editorial_workflow/config/workflows.workflow.editorial.yml
core/profiles/standard/config/optional/workflows.workflow.editorial.yml
1 string reference to 'workflows.workflow.editorial'
ContentModerationWorkflowConfigTest::testDeletingStateViaConfiguration in core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
Tests deleting a state via config import.

File

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.