Skip to content

Is twig working in ReportWidget? How to enable twig? #807

Answered by mjauvin
SledgehammerPL asked this question in Q&A

You must be logged in to vote

In backend views, you cannot use twig. Use PHP.

You can see how that's done in any of the backend widgets source code.

Replies: 7 comments 4 replies

You must be logged in to vote
2 replies
@SledgehammerPL

@LukeTowers

Answer selected by SledgehammerPL

You must be logged in to vote
1 reply
@SledgehammerPL

You must be logged in to vote
1 reply
@SledgehammerPL

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants