var/cache/dev/twig/73/73bed3736419c90420def4a62fa10fd3ed40a024f2988b7aa7bf00958cc83f3d.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @originales/block/list.html.twig */
  14. class __TwigTemplate_e876aff36fbc0317dac683ae04f4eeda07d04cfbcf85d9a5ddb29e1807efd35f extends \eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@originales/block/list.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@originales/block/list.html.twig"));
  33.         // line 1
  34.         $context['_parent'] = $context;
  35.         $context['_seq'] = twig_ensure_traversable((isset($context["modules"]) || array_key_exists("modules"$context) ? $context["modules"] : (function () { throw new RuntimeError('Variable "modules" does not exist.'1$this->source); })()));
  36.         foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
  37.             // line 2
  38.             echo "    ";
  39.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("ez_content:viewAction", ["contentId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["module"], "contentInfo", [], "any"falsefalsefalse2), "id", [], "any"falsefalsefalse2), "viewType" => "block"]));
  40.             echo "
  41. ";
  42.         }
  43.         $_parent $context['_parent'];
  44.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
  45.         $context array_intersect_key($context$_parent) + $_parent;
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     public function getTemplateName()
  52.     {
  53.         return "@originales/block/list.html.twig";
  54.     }
  55.     public function isTraitable()
  56.     {
  57.         return false;
  58.     }
  59.     public function getDebugInfo()
  60.     {
  61.         return array (  47 => 2,  43 => 1,);
  62.     }
  63.     public function getSourceContext()
  64.     {
  65.         return new Source("{% for module in modules %}
  66.     {{ render(controller( \"ez_content:viewAction\", { \"contentId\": module.contentInfo.id, \"viewType\": 'block' })) }}
  67. {% endfor %}
  68. ""@originales/block/list.html.twig""/var/www/app/Resources/views/themes/default/block/list.html.twig");
  69.     }
  70. }