Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Workflow] missing twig function "workflow_all_transitions" #11376

Copy link
Copy link
Closed
@cawolf

Description

@cawolf
Issue body actions

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.