var/cache/dev_ha61ef46992a3948952fe944d3fcb7240/twig/52/52f4b22f99c995f0afa93855e0f7e18fa2a350c88388d4c4564c4451512f2016.php line 36

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use Twig\Error\LoaderError;
  5. use Twig\Error\RuntimeError;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @Storefront/storefront/section/cms-section-default.html.twig */
  15. class __TwigTemplate_c51ad8622303e42408deb9a6eec7ed2f62bad693775e1b52eec39a163478366c extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  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 doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/section/cms-section-default.html.twig"));
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/section/cms-section-default.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('page_content_section_default'$context$blocks);
  38.         
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  40.         
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  42.     }
  43.     public function block_page_content_section_default($context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_section_default"));
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_section_default"));
  50.         // line 2
  51.         echo "    ";
  52.         $context["layout"] = ((sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "sizingMode", [], "any"falsefalsefalse2)) ? (twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "sizingMode", [], "any"falsefalsefalse2), ["_" => "-"])) : ("container"));
  53.         // line 3
  54.         echo "    <div class=\"cms-section-default ";
  55.         echo twig_escape_filter($this->env, ($context["layout"] ?? null), "html"nulltrue);
  56.         echo "\">
  57.         ";
  58.         // line 4
  59.         $context['_parent'] = $context;
  60.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->source, ($context["section"] ?? null), "blocks", [], "any"falsefalsefalse4));
  61.         $context['loop'] = [
  62.           'parent' => $context['_parent'],
  63.           'index0' => 0,
  64.           'index'  => 1,
  65.           'first'  => true,
  66.         ];
  67.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  68.             $length count($context['_seq']);
  69.             $context['loop']['revindex0'] = $length 1;
  70.             $context['loop']['revindex'] = $length;
  71.             $context['loop']['length'] = $length;
  72.             $context['loop']['last'] = === $length;
  73.         }
  74.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  75.             // line 5
  76.             echo "
  77.             ";
  78.             // line 6
  79.             $this->displayBlock('section_default_content_block'$context$blocks);
  80.             // line 9
  81.             echo "        ";
  82.             ++$context['loop']['index0'];
  83.             ++$context['loop']['index'];
  84.             $context['loop']['first'] = false;
  85.             if (isset($context['loop']['length'])) {
  86.                 --$context['loop']['revindex0'];
  87.                 --$context['loop']['revindex'];
  88.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  89.             }
  90.         }
  91.         $_parent $context['_parent'];
  92.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  93.         $context array_intersect_key($context$_parent) + $_parent;
  94.         // line 10
  95.         echo "    </div>
  96. ";
  97.         
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  99.         
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  101.     }
  102.     // line 6
  103.     public function block_section_default_content_block($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_default_content_block"));
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_default_content_block"));
  110.         // line 7
  111.         echo "                ";
  112.         $this->loadTemplate("@ATNTheme/storefront/section/cms-section-block-container.html.twig""@Storefront/storefront/section/cms-section-default.html.twig"7)->display($context);
  113.         // line 8
  114.         echo "            ";
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.         
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  119.     }
  120.     public function getTemplateName()
  121.     {
  122.         return "@Storefront/storefront/section/cms-section-default.html.twig";
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  132 => 8,  129 => 7,  119 => 6,  108 => 10,  94 => 9,  92 => 6,  89 => 5,  72 => 4,  67 => 3,  64 => 2,  45 => 1,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("{% block page_content_section_default %}
  131.     {% set layout = section.sizingMode ? section.sizingMode|replace({\"_\": \"-\"}) : \"container\" %}
  132.     <div class=\"cms-section-default {{ layout }}\">
  133.         {% for block in section.blocks %}
  134.             {% block section_default_content_block %}
  135.                 {% sw_include \"@Storefront/storefront/section/cms-section-block-container.html.twig\" %}
  136.             {% endblock %}
  137.         {% endfor %}
  138.     </div>
  139. {% endblock %}
  140. ""@Storefront/storefront/section/cms-section-default.html.twig""/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/vendor/shopware/storefront/Resources/views/storefront/section/cms-section-default.html.twig");
  141.     }
  142. }