Skip to content

Commit

Permalink
dump all template variables as json
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespub committed Dec 11, 2023
1 parent 9dbbafd commit 630075c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/twigged/var_dump.json.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{# dump all template variables as json for template development or debugging #}
{{ _context|json_encode()|raw }}

0 comments on commit 630075c

Please sign in to comment.