var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/ad/adae4a2421125ee709192fb78a5b44370cb57d86fd611813e974f6378cde143b.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. /* @econdCrossSelll/storefront/base.html.twig */
  16. class __TwigTemplate_17c5227a52b08d35e822fd12e91b5b49 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 "@econdWebAnalytics/storefront/base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdCrossSelll/storefront/base.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdCrossSelll/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@econdWebAnalytics/storefront/base.html.twig""@econdCrossSelll/storefront/base.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_base_script_router($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_script_router"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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["ecdCrossSellRoute"] = twig_constant("Ecd\\econdCrossSelll\\Storefront\\Controller\\econdCrossSellController::QUICKVIEW_ROUTE");
  62.         // line 7
  63.         echo "
  64.     <script>
  65.         window.router['";
  66.         // line 9
  67.         echo sw_escape_filter($this->env, ($context["ecdCrossSellRoute"] ?? null), "html"nulltrue);
  68.         echo "'] = '";
  69.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["ecdCrossSellRoute"] ?? null));
  70.         echo "';
  71.     </script>
  72. ";
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     public function getTemplateName()
  79.     {
  80.         return "@econdCrossSelll/storefront/base.html.twig";
  81.     }
  82.     public function isTraitable()
  83.     {
  84.         return false;
  85.     }
  86.     public function getDebugInfo()
  87.     {
  88.         return array (  80 => 9,  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  89.     }
  90.     public function getSourceContext()
  91.     {
  92.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  93. {% block base_script_router %}
  94.     {{ parent() }}
  95.     {% set ecdCrossSellRoute = constant('Ecd\\\\econdCrossSelll\\\\Storefront\\\\Controller\\\\econdCrossSellController::QUICKVIEW_ROUTE') %}
  96.     <script>
  97.         window.router['{{ ecdCrossSellRoute }}'] = '{{ path(ecdCrossSellRoute) }}';
  98.     </script>
  99. {% endblock %}
  100. ""@econdCrossSelll/storefront/base.html.twig""/var/www/shopware6/custom/plugins/econdCrossSelll/src/Resources/views/storefront/base.html.twig");
  101.     }
  102. }