var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/72/72132d0fd01af6aed1131181dd64d9d52b018a9eecc38a97ab44c20317494b87.php line 55

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. /* @NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig */
  16. class __TwigTemplate_84c67cdd10d24bd508eb07d57ff05c17 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.             'cms_block_recipe_list' => [$this'block_cms_block_recipe_list'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('cms_block_recipe_list'$context$blocks);
  38.         
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  40.         
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  42.     }
  43.     public function block_cms_block_recipe_list($context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_block_recipe_list"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_block_recipe_list"));
  50.         // line 2
  51.         echo "    ";
  52.         $context["element"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["block"] ?? null), "slots", [], "any"falsefalsefalse2), "getSlot", [=> "recipeList"], "method"falsefalsefalse2);
  53.         // line 3
  54.         echo "
  55.     <div class=\"col-12\" data-cms-element-id=\"";
  56.         // line 4
  57.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["element"] ?? null), "id", [], "any"falsefalsefalse4), "html"nulltrue);
  58.         echo "\">
  59.         ";
  60.         // line 5
  61.         $__internal_compile_0 null;
  62.         try {
  63.             $__internal_compile_0 =             ((function () use ($context$blocks) {
  64.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  65.                 $includeTemplate $finder->find((("@Storefront/storefront/element/cms-element-" sw_get_attribute($this->env$this->source, ($context["element"] ?? null), "type", [], "any"falsefalsefalse5)) . ".html.twig"));
  66.                 return $this->loadTemplate($includeTemplate ?? null"@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig"5);
  67.             })());
  68.         } catch (LoaderError $e) {
  69.             // ignore missing template
  70.         }
  71.         if ($__internal_compile_0) {
  72.             $__internal_compile_0->display($context);
  73.         }
  74.         // line 6
  75.         echo "    </div>
  76. ";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.     }
  82.     public function getTemplateName()
  83.     {
  84.         return "@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig";
  85.     }
  86.     public function getDebugInfo()
  87.     {
  88.         return array (  89 => 6,  73 => 5,  69 => 4,  66 => 3,  63 => 2,  44 => 1,);
  89.     }
  90.     public function getSourceContext()
  91.     {
  92.         return new Source("{% block cms_block_recipe_list %}
  93.     {% set element = block.slots.getSlot('recipeList') %}
  94.     <div class=\"col-12\" data-cms-element-id=\"{{ element.id }}\">
  95.         {% sw_include \"@Storefront/storefront/element/cms-element-\" ~ element.type ~ \".html.twig\" ignore missing %}
  96.     </div>
  97. {% endblock %}
  98. ""@NdsRecipeManager/storefront/block/cms-block-recipe-list-block.html.twig""/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/ndsrecipemanager/src/Resources/views/storefront/block/cms-block-recipe-list-block.html.twig");
  99.     }
  100. }