var/cache/dev_h61dab171fcb3dd073fc68bfbeb4d9256/twig/41/4165b4957f8c0e26ac4424ddc17a7a47aa4c55a9cd28b2661e79dfd2aea594e2.php line 116

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-slider.html.twig */
  16. class __TwigTemplate_1c9ca05ddc54543de8b121f774dee18d 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_slider' => [$this'block_block_product_slider'],
  27.             'block_product_slider_inner' => [$this'block_block_product_slider_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-slider.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-slider.html.twig"));
  37.         // line 1
  38.         $this->displayBlock('block_product_slider'$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_slider($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_slider"));
  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_slider"));
  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", [=> "productSlider"], "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_slider_inner'$context$blocks);
  66.         // line 9
  67.         echo "    </div>
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 6
  75.     public function block_block_product_slider_inner($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_slider_inner"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_product_slider_inner"));
  82.         // line 7
  83.         echo "            ";
  84.         $__internal_compile_0 null;
  85.         try {
  86.             $__internal_compile_0 =             ((function () use ($context$blocks) {
  87.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  88.                 $includeTemplate $finder->find((("@Storefront/storefront/element/cms-element-" sw_get_attribute($this->env$this->source, ($context["element"] ?? null), "type", [], "any"falsefalsefalse7)) . ".html.twig"));
  89.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/block/cms-block-product-slider.html.twig"7);
  90.             })());
  91.         } catch (LoaderError $e) {
  92.             // ignore missing template
  93.         }
  94.         if ($__internal_compile_0) {
  95.             $__internal_compile_0->display($context);
  96.         }
  97.         // line 8
  98.         echo "        ";
  99.         
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.     }
  104.     public function getTemplateName()
  105.     {
  106.         return "@Storefront/storefront/block/cms-block-product-slider.html.twig";
  107.     }
  108.     public function getDebugInfo()
  109.     {
  110.         return array (  117 => 8,  100 => 7,  90 => 6,  79 => 9,  77 => 6,  73 => 5,  70 => 4,  67 => 3,  64 => 2,  45 => 1,);
  111.     }
  112.     public function getSourceContext()
  113.     {
  114.         return new Source("{% block block_product_slider %}
  115.     {% set element = block.slots.getSlot('productSlider') %}
  116.     {% set columns = 1 %}
  117.     <div class=\"col-12\" data-cms-element-id=\"{{ element.id }}\">
  118.         {% block block_product_slider_inner %}
  119.             {% sw_include \"@Storefront/storefront/element/cms-element-\" ~ element.type ~ \".html.twig\" ignore missing %}
  120.         {% endblock %}
  121.     </div>
  122. {% endblock %}
  123. ""@Storefront/storefront/block/cms-block-product-slider.html.twig""/usr/www/users/betten/betten-abc-alt-und-tot.de/vendor/shopware/storefront/Resources/views/storefront/block/cms-block-product-slider.html.twig");
  124.     }
  125. }