Created
November 29, 2017 10:04
-
-
Save bySebastian/a6f4a2a9184893b529ca58198f682a78 to your computer and use it in GitHub Desktop.
[available variables] Dump available variables #drupal
This file contains hidden or 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
# To dump only the available variable keys use: | |
{{ dump(_context|keys) }} | |
<ol> | |
{% for key, value in _context %} | |
<li>{{ key }}</li> | |
{% endfor %} | |
</ol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment