Open
Description
I dont really understand what the benefit is of the tokenParser here, as it basically just mimiks an if clause, doesnt it?
However i can see some cons:
- it needs a cache-clear, a twig function doesnt need a cache-clear when changing the config
- it cant be used in if/else or tenary clauses
- codewise its much more verbose
What do you think?
Metadata
Metadata
Assignees
Labels
No labels