var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/30/30f23da384e26e3d07aa78aa40ef57c091d7a0582dab991af568718234bdcd12.php line 47

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-form.html.twig */
  16. class __TwigTemplate_a8ecd4962981989f971581344bc1a528 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_form' => [$this'block_block_form'],
  27.             'block_form_inner' => [$this'block_block_form_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-form.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-form.html.twig"));
  37.         // line 1
  38.         $this->displayBlock('block_form'$context$blocks);
  39.         
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41.         
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43.     }
  44.     public function block_block_form($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_form"));
  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_form"));
  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_form_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_form_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_form_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_form_inner"));
  82.         // line 7
  83.         echo "            ";
  84.         ((function () use ($context$blocks) {
  85.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  86.             $includeTemplate $finder->find((("@Storefront/storefront/element/cms-element-" sw_get_attribute($this->env$this->source, ($context["element"] ?? null), "type", [], "any"falsefalsefalse7)) . ".html.twig"));
  87.             return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/block/cms-block-form.html.twig"7);
  88.         })())->display($context);
  89.         // line 8
  90.         echo "        ";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.     }
  96.     public function getTemplateName()
  97.     {
  98.         return "@Storefront/storefront/block/cms-block-form.html.twig";
  99.     }
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  109 => 8,  100 => 7,  90 => 6,  79 => 9,  77 => 6,  73 => 5,  70 => 4,  67 => 3,  64 => 2,  45 => 1,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("{% block block_form %}
  107.     {% set element = block.slots.getSlot('content') %}
  108.     {% set columns = 1 %}
  109.     
  110.     <div class=\"col-12\" data-cms-element-id=\"{{ element.id }}\">
  111.         {% block block_form_inner %}
  112.             {% sw_include \"@Storefront/storefront/element/cms-element-\" ~ element.type ~ \".html.twig\"  %}
  113.         {% endblock %}
  114.     </div>
  115. {% endblock %}
  116. ""@Storefront/storefront/block/cms-block-form.html.twig""/var/www/shopware6/vendor/shopware/storefront/Resources/views/storefront/block/cms-block-form.html.twig");
  117.     }
  118. }