commit a5faf325d56293156f610656b71a752069af347b Author: Joel Pittet Date: Fri Apr 19 20:45:30 2013 -0700 re-roll twigtemplate out diff --git a/core/lib/Drupal/Core/Template/TwigTemplate.php b/core/lib/Drupal/Core/Template/TwigTemplate.php index fbb7d97..ee864ca 100644 --- a/core/lib/Drupal/Core/Template/TwigTemplate.php +++ b/core/lib/Drupal/Core/Template/TwigTemplate.php @@ -51,9 +51,10 @@ return NULL; } - // Turn off references for looped items. - // @todo hide, show is not supported for them for now. - // @see http://drupal.org/node/1867090 Nested loops behaving strange. + // Return item instead of its reference inside a loop. + // @todo 'hide' and 'show' are not supported inside a loop for now. + // This should be a non-issue as soon as this lands: + // @see http://drupal.org/node/1922304 if (isset($context['_seq'])) { return $context[$item]; }