mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-12 23:27:39 +00:00
a309cc077480c1b2889f630098925c9b90476d73
- the workflow controller add a context to each transition;
- the state of the entity workflow is applyied using a dedicated marking store
- the method EntityWorkflow::step use the context to associate the new step with the future destination user, cc users and email. This makes the step consistent at every step.
- this allow to remove some logic which was processed in eventSubscribers,
- as counterpart, each workflow must specify a dedicated marking_store:
```yaml
framework:
workflows:
vendee_internal:
# ...
marking_store:
service: Chill\MainBundle\Workflow\EntityWorkflowMarkingStore
```
Chill framework
Documentation of the Chill software.
The online documentation can be found at http://docs.chill.social
See the docs directory for more.
Languages
PHP
77.8%
Twig
10.1%
Vue
7.3%
JavaScript
2.9%
TypeScript
1.1%
Other
0.8%