var/cache/dev_hc896b0aecebc6aae6bec469c82cd525f/twig/af/af5fbf9e1532b66b9be56540c739c071136d1c163d02895f4b00b581cca68819.php line 50

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. /* @UandiEfbConfigurableProduct/storefront/base.html.twig */
  16. class __TwigTemplate_679c802576bbc80d58a04d4bb4bd1cd6 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 "@SwagB2bPlatform/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""@UandiEfbConfigurableProduct/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""@UandiEfbConfigurableProduct/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@SwagB2bPlatform/storefront/base.html.twig""@UandiEfbConfigurableProduct/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 5
  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 6
  56.         echo "    ";
  57.         $this->displayParentBlock("base_script_router"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 9
  61.         echo "    <script>
  62.         window.router['frontend.configurator.link'] = '";
  63.         // line 10
  64.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.configurator.link", ["type" => "type"]);
  65.         echo "';
  66.     </script>
  67. ";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     public function getTemplateName()
  74.     {
  75.         return "@UandiEfbConfigurableProduct/storefront/base.html.twig";
  76.     }
  77.     public function isTraitable()
  78.     {
  79.         return false;
  80.     }
  81.     public function getDebugInfo()
  82.     {
  83.         return array (  77 => 10,  74 => 9,  68 => 6,  58 => 5,  35 => 2,);
  84.     }
  85.     public function getSourceContext()
  86.     {
  87.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  88. {# @deprecated tag:v6.5.0 - Will be moved to `layout/meta.html.twig` - Use block `layout_head_javascript_router` instead #}
  89. {% block base_script_router %}
  90.     {{ parent() }}
  91.     {# Register all routes that will be needed in JavaScript to the window.router object #}
  92.     <script>
  93.         window.router['frontend.configurator.link'] = '{{ path('frontend.configurator.link', {type: 'type'}) }}';
  94.     </script>
  95. {% endblock %}""@UandiEfbConfigurableProduct/storefront/base.html.twig""/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/plugins/UandiEfbConfigurableProduct/src/Resources/views/storefront/base.html.twig");
  96.     }
  97. }