var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/52/5274fb771e2348b0cf8c79995fbe05b21d86e0a4cfdd20d843a669b2c71b02cf.php line 46

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. /* @SasBlogModule/storefront/block/cms-block-blog-listing.html.twig */
  16. class __TwigTemplate_b9101e0e612d966ad095adc02c5fe25d5d72ba9f093d0833cef7f824ed0bac2f 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_sas_blog_listing' => [$this'block_block_sas_blog_listing'],
  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""@SasBlogModule/storefront/block/cms-block-blog-listing.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""@SasBlogModule/storefront/block/cms-block-blog-listing.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('block_sas_blog_listing'$context$blocks);
  38.         
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  40.         
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  42.     }
  43.     public function block_block_sas_blog_listing($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""block_sas_blog_listing"));
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""block_sas_blog_listing"));
  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", [=> "listing"], "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"@SasBlogModule/storefront/block/cms-block-blog-listing.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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  81.     }
  82.     public function getTemplateName()
  83.     {
  84.         return "@SasBlogModule/storefront/block/cms-block-blog-listing.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 block_sas_blog_listing %}
  93.     {% set element = block.slots.getSlot('listing') %}
  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. ""@SasBlogModule/storefront/block/cms-block-blog-listing.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/SasBlogModule/src/Resources/views/storefront/block/cms-block-blog-listing.html.twig");
  99.     }
  100. }