var/cache/dev_ha61ef46992a3948952fe944d3fcb7240/twig/aa/aa3fb401b6c39ab273b35457b43ed412e9b2db215c6a5464d56a48663863a245.php line 60

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