var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/b7/b7238297ad9ff8bbb52b23af50889158c16a2c1efaab4cf76635b5199197ed6f.php line 61

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. /* @econdWebAnalytics/storefront/section/cms-section-default.html.twig */
  16. class __TwigTemplate_1a907bb44b83990b2f85069895463ecb 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->blocks = [
  25.             'page_content_section_default' => [$this'block_page_content_section_default'],
  26.             'section_default_content_block' => [$this'block_section_default_content_block'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@Storefront/storefront/section/cms-section-default.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdWebAnalytics/storefront/section/cms-section-default.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdWebAnalytics/storefront/section/cms-section-default.html.twig"));
  41.         $this->parent $this->loadTemplate("@Storefront/storefront/section/cms-section-default.html.twig""@econdWebAnalytics/storefront/section/cms-section-default.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_page_content_section_default($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_section_default"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_section_default"));
  56.         // line 4
  57.         echo "    ";
  58.         $context["layout"] = ((sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "sizingMode", [], "any"falsefalsefalse4)) ? (twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "sizingMode", [], "any"falsefalsefalse4), ["_" => "-"])) : ("container"));
  59.         // line 5
  60.         echo "    <div class=\"cms-section-default ";
  61.         echo sw_escape_filter($this->env, ($context["layout"] ?? null), "html"nulltrue);
  62.         echo "\">
  63.         ";
  64.         // line 6
  65.         $context['_parent'] = $context;
  66.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "blocks", [], "any"falsefalsefalse6));
  67.         $context['loop'] = [
  68.           'parent' => $context['_parent'],
  69.           'index0' => 0,
  70.           'index'  => 1,
  71.           'first'  => true,
  72.         ];
  73.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  74.             $length count($context['_seq']);
  75.             $context['loop']['revindex0'] = $length 1;
  76.             $context['loop']['revindex'] = $length;
  77.             $context['loop']['length'] = $length;
  78.             $context['loop']['last'] = === $length;
  79.         }
  80.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  81.             // line 7
  82.             echo "            ";
  83.             $this->displayBlock('section_default_content_block'$context$blocks);
  84.             // line 10
  85.             echo "        ";
  86.             ++$context['loop']['index0'];
  87.             ++$context['loop']['index'];
  88.             $context['loop']['first'] = false;
  89.             if (isset($context['loop']['length'])) {
  90.                 --$context['loop']['revindex0'];
  91.                 --$context['loop']['revindex'];
  92.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  93.             }
  94.         }
  95.         $_parent $context['_parent'];
  96.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  97.         $context array_intersect_key($context$_parent) + $_parent;
  98.         // line 11
  99.         echo "    </div>
  100. ";
  101.         
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.     }
  106.     // line 7
  107.     public function block_section_default_content_block($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_default_content_block"));
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_default_content_block"));
  114.         // line 8
  115.         echo "                ";
  116.         $this->loadTemplate("@econdWebAnalytics/storefront/section/cms-section-block-container.html.twig""@econdWebAnalytics/storefront/section/cms-section-default.html.twig"8)->display($context);
  117.         // line 9
  118.         echo "            ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     public function getTemplateName()
  125.     {
  126.         return "@econdWebAnalytics/storefront/section/cms-section-default.html.twig";
  127.     }
  128.     public function isTraitable()
  129.     {
  130.         return false;
  131.     }
  132.     public function getDebugInfo()
  133.     {
  134.         return array (  135 => 9,  132 => 8,  122 => 7,  111 => 11,  97 => 10,  94 => 7,  77 => 6,  72 => 5,  69 => 4,  59 => 3,  36 => 2,);
  135.     }
  136.     public function getSourceContext()
  137.     {
  138.         return new Source("{% sw_extends '@Storefront/storefront/section/cms-section-default.html.twig' %}
  139. {% block page_content_section_default %}
  140.     {% set layout = section.sizingMode ? section.sizingMode|replace({\"_\": \"-\"}) : \"container\" %}
  141.     <div class=\"cms-section-default {{ layout }}\">
  142.         {% for block in section.blocks %}
  143.             {% block section_default_content_block %}
  144.                 {% sw_include \"@Storefront/storefront/section/cms-section-block-container.html.twig\" %}
  145.             {% endblock %}
  146.         {% endfor %}
  147.     </div>
  148. {% endblock %}
  149. ""@econdWebAnalytics/storefront/section/cms-section-default.html.twig""/var/www/shopware6/custom/plugins/econdWebAnalytics/src/Resources/views/storefront/section/cms-section-default.html.twig");
  150.     }
  151. }