Commit 2da3788
committed
minor #15126 [Workflow] Update workflow.rst (noniagriconomie)
This PR was merged into the 4.4 branch.
Discussion
----------
[Workflow] Update workflow.rst
Fixes #14637
I do not know if I should also write in the code exemple, feel free to comment related to ⬇️
```php
// this injects the blog_publishing "workflow" configured before
// if blog_publishing is of type "state_machine", consider
// injecting WorkflowInterface $blogPublishingStateMachine
public function __construct(WorkflowInterface $blogPublishingWorkflow)
{
$this->blogPublishingWorkflow = $blogPublishingWorkflow;
}
```
Commits
-------
07dea78 Update workflow.rst1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
0 commit comments