There're the Twig's global vars.

class Twig_Node_Expression_Name extends Twig_Node_Expression
{
    protected $specialVars = array(
        '_self'    => '$this',
        '_context' => '$context',
        '_charset' => '$this->env->getCharset()',
    );
Files: 
CommentFileSizeAuthor
twig_specialVars.patch865 bytesdroplet
PASSED: [[SimpleTest]]: [MySQL] 63,703 pass(es). View

Comments

droplet’s picture

twig_specialVars.patch queued for re-testing.

droplet’s picture

Issue summary: View changes
jhedstrom’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll
jacob.embree’s picture

Status: Needs work » Fixed
Issue tags: -Needs reroll

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.