mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
rewrite workflow and handle finalize differently
This commit is contained in:
@@ -24,6 +24,10 @@ class WorkflowTwigExtension extends AbstractExtension
|
||||
[WorkflowTwigExtensionRuntime::class, 'listWorkflows'],
|
||||
['needs_environment' => true, 'is_safe' => ['html']]
|
||||
),
|
||||
new TwigFunction(
|
||||
'chill_workflow_transition_by_string',
|
||||
[WorkflowTwigExtensionRuntime::class, 'getTransitionByString']
|
||||
),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user