workflows.workflow.editorial.yml

Same filename in this branch
  1. 9 core/profiles/standard/config/optional/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. 10 core/recipes/editorial_workflow/config/workflows.workflow.editorial.yml
  8. 11.x core/recipes/editorial_workflow/config/workflows.workflow.editorial.yml
core/profiles/demo_umami/config/install/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/demo_umami/config/install/workflows.workflow.editorial.yml

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

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