var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/82/826a9e444eafe4ed65782da8235d9b598b1d7613231171eb44bc74589d179fc3.php line 40

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. /* @SwagCmsExtensions/storefront/base.html.twig */
  16. class __TwigTemplate_6ae53e578ee923ef48314a1163598e4f3a1902823b4b2b17d11f270b29def716 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->blocks = [
  25.             'base_script_router' => [$this'block_base_script_router'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@MoorlFoundation/storefront/base.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""@SwagCmsExtensions/storefront/base.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""@SwagCmsExtensions/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@MoorlFoundation/storefront/base.html.twig""@SwagCmsExtensions/storefront/base.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_base_script_router($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""base_script_router"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_script_router"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("base_script_router"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         $context["quickviewRoute"] = twig_constant("Swag\\CmsExtensions\\Storefront\\Controller\\QuickviewController::QUICKVIEW_ROUTE");
  62.         // line 7
  63.         echo "    ";
  64.         $context["quickviewVariantRoute"] = twig_constant("Swag\\CmsExtensions\\Storefront\\Controller\\QuickviewController::QUICKVIEW_VARIANT_ROUTE");
  65.         // line 8
  66.         echo "
  67.     <script>
  68.         window.router['";
  69.         // line 10
  70.         echo sw_escape_filter($this->env, ($context["quickviewRoute"] ?? null), "html"nulltrue);
  71.         echo "'] = '";
  72.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["quickviewRoute"] ?? null));
  73.         echo "';
  74.         window.router['";
  75.         // line 11
  76.         echo sw_escape_filter($this->env, ($context["quickviewVariantRoute"] ?? null), "html"nulltrue);
  77.         echo "'] = '";
  78.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["quickviewVariantRoute"] ?? null));
  79.         echo "';
  80.     </script>
  81. ";
  82.         
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  84.         
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  86.     }
  87.     public function getTemplateName()
  88.     {
  89.         return "@SwagCmsExtensions/storefront/base.html.twig";
  90.     }
  91.     public function isTraitable()
  92.     {
  93.         return false;
  94.     }
  95.     public function getDebugInfo()
  96.     {
  97.         return array (  89 => 11,  83 => 10,  79 => 8,  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  98.     }
  99.     public function getSourceContext()
  100.     {
  101.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  102. {% block base_script_router %}
  103.     {{ parent() }}
  104.     {% set quickviewRoute = constant('Swag\\\\CmsExtensions\\\\Storefront\\\\Controller\\\\QuickviewController::QUICKVIEW_ROUTE') %}
  105.     {% set quickviewVariantRoute = constant('Swag\\\\CmsExtensions\\\\Storefront\\\\Controller\\\\QuickviewController::QUICKVIEW_VARIANT_ROUTE') %}
  106.     <script>
  107.         window.router['{{ quickviewRoute }}'] = '{{ path(quickviewRoute) }}';
  108.         window.router['{{ quickviewVariantRoute }}'] = '{{ path(quickviewVariantRoute) }}';
  109.     </script>
  110. {% endblock %}
  111. ""@SwagCmsExtensions/storefront/base.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/SwagCmsExtensions/src/Resources/views/storefront/base.html.twig");
  112.     }
  113. }