var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/3b/3b05422fbf5a3f866d5ff8346185250583aade1b1dbe1205ae1ea7bb7dd674a8.php line 92

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-listing.html.twig */
  16. class __TwigTemplate_17bee700beeb7d1b880a36fe8aadd7dbdcd7fc488723f75f8513a51c72cffab2 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_listing' => [$this'block_block_product_listing'],
  27.             'block_product_listing_inner' => [$this'block_block_product_listing_inner'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/block/cms-block-product-listing.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/block/cms-block-product-listing.html.twig"));
  37.         // line 1
  38.         $this->displayBlock('block_product_listing'$context$blocks);
  39.         
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  41.         
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  43.     }
  44.     public function block_block_product_listing($context, array $blocks = [])
  45.     {
  46.         $macros $this->macros;
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_listing"));
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_listing"));
  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.         $context["columns"] = 1;
  57.         // line 4
  58.         echo "
  59.     <div class=\"col-12\" data-cms-element-id=\"";
  60.         // line 5
  61.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["element"] ?? null), "id", [], "any"falsefalsefalse5), "html"nulltrue);
  62.         echo "\">
  63.         ";
  64.         // line 6
  65.         $this->displayBlock('block_product_listing_inner'$context$blocks);
  66.         // line 10
  67.         echo "    </div>
  68. ";
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     // line 6
  75.     public function block_block_product_listing_inner($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_listing_inner"));
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_listing_inner"));
  82.         // line 7
  83.         echo "            ";
  84.         $context["template"] = (("@Storefront/storefront/element/cms-element-" sw_get_attribute($this->env$this->source, ($context["element"] ?? null), "type", [], "any"falsefalsefalse7)) . ".html.twig");
  85.         // line 8
  86.         echo "            ";
  87.         $__internal_compile_0 null;
  88.         try {
  89.             $__internal_compile_0 =             ((function () use ($context$blocks) {
  90.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  91.                 $includeTemplate $finder->find(($context["template"] ?? null));
  92.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/block/cms-block-product-listing.html.twig"8);
  93.             })());
  94.         } catch (LoaderError $e) {
  95.             // ignore missing template
  96.         }
  97.         if ($__internal_compile_0) {
  98.             $__internal_compile_0->display($context);
  99.         }
  100.         // line 9
  101.         echo "        ";
  102.         
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  104.         
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  106.     }
  107.     public function getTemplateName()
  108.     {
  109.         return "@Storefront/storefront/block/cms-block-product-listing.html.twig";
  110.     }
  111.     public function getDebugInfo()
  112.     {
  113.         return array (  120 => 9,  103 => 8,  100 => 7,  90 => 6,  79 => 10,  77 => 6,  73 => 5,  70 => 4,  67 => 3,  64 => 2,  45 => 1,);
  114.     }
  115.     public function getSourceContext()
  116.     {
  117.         return new Source("{% block block_product_listing %}
  118.     {% set element = block.slots.getSlot('content') %}
  119.     {% set columns = 1 %}
  120.     <div class=\"col-12\" data-cms-element-id=\"{{ element.id }}\">
  121.         {% block block_product_listing_inner %}
  122.             {% set template = \"@Storefront/storefront/element/cms-element-\" ~ element.type ~ \".html.twig\" %}
  123.             {% sw_include template ignore missing %}
  124.         {% endblock %}
  125.     </div>
  126. {% endblock %}
  127. ""@Storefront/storefront/block/cms-block-product-listing.html.twig""/home/fasflpog/shopware/vendor/shopware/storefront/Resources/views/storefront/block/cms-block-product-listing.html.twig");
  128.     }
  129. }