diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index d7a6e64916b..c686a6fd036 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -155,6 +155,9 @@ debug If ``true``, the compiled templates include a ``__toString()`` method that can be used to display their nodes. +This option also controls the behavior of :ref:`the Twig dump utilities `. +If this option is ``false``, the ``dump()`` function doesn't output any contents. + .. _config-twig-default-path: default_path diff --git a/templates.rst b/templates.rst index bc21e1de06a..3f451faa0f9 100644 --- a/templates.rst +++ b/templates.rst @@ -818,6 +818,8 @@ and also to check the Twig features added when :ref:`installing packages