clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
2.0 KiB

framework:
workflows:
article_publishing:
type: 'workflow'
audit_trail:
enabled: true
marking_store:
type: 'method'
property: 'currentPlace'
supports:
- App\Entity\Article
initial_marking: preview
places:
- preview
- draft
- revised
- published
- edited
transitions:
to_draft:
from: preview
to: draft
to_revision:
from: draft
to: revised
publish_preview:
from: preview
to: published
publish_draft:
from: draft
to: published
publish_revised:
from: revised
to: published
edit:
from: published
to: edited
nzine_workflow:
type: state_machine
marking_store:
type: method
property: state
supports:
- App\Entity\Nzine
initial_marking: draft
places:
- draft
- profile_created
- main_index_created
- nested_indices_created
- published
transitions:
create_profile:
from: draft
to: profile_created
create_main_index:
from: profile_created
to: main_index_created
create_nested_indices:
from: main_index_created
to: nested_indices_created
publish:
from: nested_indices_created
to: published