var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/5e/5e2d181395347b2feaf6898af2f0b97463c5ff459e70bdd96e53b07dc1c6b468.php line 37

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Storefront/storefront/block/cms-block-product-description-reviews.html.twig */
  16. class __TwigTemplate_a8f91e0a442ee35bc3fff7ae3946fb61 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.             'block_product_description_review' => [$this'block_block_product_description_review'],
  27.             'block_product_description_reviews_inner' => [$this'block_block_product_description_reviews_inner'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/block/cms-block-product-description-reviews.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/block/cms-block-product-description-reviews.html.twig"));
  37.         // line 1
  38.         $this->displayBlock('block_product_description_review'$context$blocks);
  39.         
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41.         
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43.     }
  44.     public function block_block_product_description_review($context, array $blocks = [])
  45.     {
  46.         $macros $this->macros;
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_description_review"));
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_description_review"));
  51.         // line 2
  52.         echo "    ";
  53.         $context["element"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["block"] ?? null), "slots", [], "any"falsefalsefalse2), "getSlot", [=> "content"], "method"falsefalsefalse2);
  54.         // line 3
  55.         echo "
  56.     <div class=\"col-12\" data-cms-element-id=\"";
  57.         // line 4
  58.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["element"] ?? null), "id", [], "any"falsefalsefalse4), "html"nulltrue);
  59.         echo "\">
  60.         ";
  61.         // line 5
  62.         $this->displayBlock('block_product_description_reviews_inner'$context$blocks);
  63.         // line 8
  64.         echo "    </div>
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 5
  72.     public function block_block_product_description_reviews_inner($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_description_reviews_inner"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_description_reviews_inner"));
  79.         // line 6
  80.         echo "            ";
  81.         $__internal_compile_0 null;
  82.         try {
  83.             $__internal_compile_0 =             ((function () use ($context$blocks) {
  84.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  85.                 $includeTemplate $finder->find((("@Storefront/storefront/element/cms-element-" sw_get_attribute($this->env$this->source, ($context["element"] ?? null), "type", [], "any"falsefalsefalse6)) . ".html.twig"));
  86.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/block/cms-block-product-description-reviews.html.twig"6);
  87.             })());
  88.         } catch (LoaderError $e) {
  89.             // ignore missing template
  90.         }
  91.         if ($__internal_compile_0) {
  92.             $__internal_compile_0->display($context);
  93.         }
  94.         // line 7
  95.         echo "        ";
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.     }
  101.     public function getTemplateName()
  102.     {
  103.         return "@Storefront/storefront/block/cms-block-product-description-reviews.html.twig";
  104.     }
  105.     public function getDebugInfo()
  106.     {
  107.         return array (  114 => 7,  97 => 6,  87 => 5,  76 => 8,  74 => 5,  70 => 4,  67 => 3,  64 => 2,  45 => 1,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("{% block block_product_description_review %}
  112.     {% set element = block.slots.getSlot('content') %}
  113.     <div class=\"col-12\" data-cms-element-id=\"{{ element.id }}\">
  114.         {% block block_product_description_reviews_inner %}
  115.             {% sw_include \"@Storefront/storefront/element/cms-element-\" ~ element.type ~ \".html.twig\" ignore missing %}
  116.         {% endblock %}
  117.     </div>
  118. {% endblock %}
  119. ""@Storefront/storefront/block/cms-block-product-description-reviews.html.twig""/var/customers/webs/kew/htdocs6/vendor/shopware/storefront/Resources/views/storefront/block/cms-block-product-description-reviews.html.twig");
  120.     }
  121. }