Skip to content

[Workflow] missing twig function "workflow_all_transitions" #11376

Closed
@cawolf

Description

@cawolf

Hi everyone,

when copy-pasting an example of the documentation regarding blocked transitions in a fresh Symfony project, I found that a Twig function is not defined (neither in 4.2 nor master).

    {% for transition in workflow_all_transitions(article) %}

Learning from #11268, maybe you also want to add this function to the core? Or should there be another example utilizing the $workflow->getDefinition()->getTransitions() function?

Best regards,
cawolf

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions