Skip to content

Commit

Permalink
Documented dump() restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Feb 22, 2024
1 parent fd98bad commit e8ee64f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Verwende das vom Notification Center Pro bereitgestellte `Void Gateway`, um eine

## Debugging

{{% notice warning %}}
Nachfolgende Beschreibung funktioniert nur, wenn du dich im **Debug-Modus von Contao** befindest!
{{% /notice %}}

Verwende `{{ dump() }}` in deinem Twig-Template. Du kannst dann sowohl die `parsedTokens` als auch die `rawTokens` bequem
betrachten:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ to very easily generate a few test cases based on which you can then create and

## Debugging

{{% notice warning %}}
The following manual only works if you are in **Contao debug mode**!
{{% /notice %}}

Use `{{ dump() }}` as your Twig template. You will then be able to easily inspect both, the `parsedTokens` as well
as the `rawTokens`:

![Screenshot of the dump output]({{% asset "/notification-center-pro/images/screenshot_dump.png" %}}?classes=shadow)

0 comments on commit e8ee64f

Please sign in to comment.