[Workflow] Update to `initial_marking`

Also merge the two separate `Workflow` sections.
This commit is contained in:
Peter Bowyer 2019-04-07 14:00:07 +01:00 committed by GitHub
parent 47e571b3fc
commit e5de7b3135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -155,7 +155,7 @@ TwigBridge
Workflow Workflow
-------- --------
* `initial_place` is deprecated in favour of `initial_places`. * `initial_place` is deprecated in favour of `initial_marking`.
Before: Before:
```yaml ```yaml
@ -170,12 +170,9 @@ Workflow
framework: framework:
workflows: workflows:
article: article:
initial_places: [draft] initial_marking: [draft]
``` ```
Workflow
--------
* `MarkingStoreInterface::setMarking()` will have a third argument in Symfony 5.0. * `MarkingStoreInterface::setMarking()` will have a third argument in Symfony 5.0.
Before: Before: