Issue #1971860 by arh1, shanethehat, Fabianx: Document that Twig debug mode can cause automated tests to fail

8.0.x
Jennifer Hodgdon 2013-06-14 05:48:10 -07:00
parent f63db4cf5c
commit a4cdbb065c
1 changed files with 3 additions and 0 deletions

View File

@ -289,6 +289,9 @@ $settings['update_free_access'] = FALSE;
* When debugging is enabled:
* - The markup of each Twig template is surrounded by HTML comments that
* contain theming information, such as template file name suggestions.
* - Note that this debugging markup will cause automated tests that directly
* check rendered HTML to fail. When running automated tests, 'twig_debug'
* should be set to FALSE.
* - The dump() function can be used in Twig templates to output information
* about template variables.
* - Twig templates are automatically recompiled whenever the source code