dump()

October CMS Documentation Docs

dump()

The dump() function dumps information about a template variable. This is useful when debugging a template that does not behave as expected.

___TWIG0___

You can inspect several variables by passing them as additional arguments:

___TWIG0___

If you don't pass any value, all variables from the current context are dumped:

___TWIG0___
On This Page