Skip to content

[Workflow] missing twig function "workflow_all_transitions" #11376

@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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy