-
-
Save robdecker/f3486127d3ab043d6be31ea91a1f1106 to your computer and use it in GitHub Desktop.
[Debugging Twig in Drupal] #d8 #twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# ~ Core ~ #} | |
{# {{ dump() }} #} | |
{# {{ dump(page) }} #} | |
{# ~ Devel~ #} | |
{# {{ kint()}} #} | |
{# {{ kint(page)}} #} | |
{# {{ devel_dump(page) }} #} | |
{# {{ devel_breakpoint() }} #} | |
{# ~ Devel + Kint library + settings change ~ | |
{# https://site.lndo.site/admin/config/development/devel #} | |
{# https://gitlab.com/drupalspoons/devel/-/issues/358 #} | |
{# {{ kint(page)}} #} | |
{# ~ Twig Tweak ~#} | |
{# {{ drupal_dump(page) }} | |
{{ drupal_breakpoint() }} | |
{# ~ Twig Xdebug ~ #} | |
{# {{ breakpoint }} #} | |
{# ~ Other/ maybe? ~ #} | |
{# {{ dsm(kint(page)) }} #} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment