File tree
3 files changed
+12
-25
lines changed- reference/configuration
- workflow
3 files changed
+12
-25
lines changedLines changed: 6 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
233 | 233 |
| |
234 | 234 |
| |
235<
8000
/code> | 235 |
| |
236 |
| - | |
| 236 | + | |
237 | 237 |
| |
238 | 238 |
| |
239 | 239 |
| |
| |||
2657 | 2657 |
| |
2658 | 2658 |
| |
2659 | 2659 |
| |
2660 |
| - | |
2661 |
| - | |
| 2660 | + | |
| 2661 | + | |
2662 | 2662 |
| |
2663 |
| - | |
| 2663 | + | |
2664 | 2664 |
| |
2665 |
| - | |
| 2665 | + | |
2666 | 2666 |
| |
2667 | 2667 |
| |
2668 | 2668 |
| |
| |||
2674 | 2674 |
| |
2675 | 2675 |
| |
2676 | 2676 |
| |
2677 |
| - | |
2678 |
| - | |
| 2677 | + | |
2679 | 2678 |
| |
2680 | 2679 |
| |
2681 | 2680 |
| |
|
Lines changed: 5 additions & 17 deletions
@@ -54,12 +54,12 @@ like this:
54
54
audit_trail:
55
55
enabled: true
56
56
marking_store:
57
- type: 'multiple_state' # or 'single_state'
58
- arguments:
57
+ type: 'method'
58
+ property:
59
59
- 'currentPlace'
60
60
supports:
61
61
- App\Entity\BlogPost
62
- initial_place: draft
62
+ initial_marking: draft
63
63
places:
64
64
- draft
65
65
- reviewed
@@ -134,8 +134,8 @@ like this:
134
134
'enabled' => true
135
135
],
136
136
'marking_store' => [
137
- 'type' => 'multiple_state', // or 'single_state'
138
- 'arguments' => ['currentPlace']
137
+ 'type' => 'method'
138
+ 'property' => ['currentPlace']
139
139
],
140
140
'supports' => ['App\Entity\BlogPost'],
141
141
'places' => [
@@ -177,18 +177,6 @@ As configured, the following property is used by the marking store::
177
177
public $content;
178
178
}
179
179
180
-.. note::
181
-
182
- The marking store type could be "multiple_state" or "single_state". A single
183
- state marking store does not support a model being on multiple places at the
184
- same time.
185
-
186
-.. tip::
187
-
188
- The ``type`` (default value ``single_state``) and ``arguments`` (default
189
- value ``marking``) attributes of the ``marking_store`` option are optional.
190
- If omitted, their default values will be used.
191
-
192
180
.. tip::
193
181
194
182
Setting the ``audit_trail.enabled`` option to ``true`` makes the application
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
| 82 | + | |
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
|
0 commit comments