Created
January 31, 2015 15:42
-
-
Save sachbearbeiter/e758d5f4f23d3e5771bf to your computer and use it in GitHub Desktop.
I'm not sure if I'm being too obvious but 'item' is a placeholder some "renderable array". Depending on which template you are in that variable name will change. Within any template you can get a list of the available variables when you have twig_debug turned on by means of {{ dump(_context|keys) }} which if I remember right kint() will be nicer…
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
{{ dump(_context|keys) }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment