var/cache/dev_h5b02c48344407d68d61eb74a0cdcd8b0/twig/b9/b9adbc32ad59292c49629b52ddfa504dcee45f75d933b6341efc3375a1ed2cae.php line 53

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. /* @DtgsGoogleTagManagerSw6/storefront/base.html.twig */
  16. class __TwigTemplate_f93f5972da21db134fa22f95988a1c87 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_noscript' => [$this'block_base_noscript'],
  26.             'base_body_inner' => [$this'block_base_body_inner'],
  27.             'dtgs_base_body_inner_gtm_datalayer' => [$this'block_dtgs_base_body_inner_gtm_datalayer'],
  28.             'dtgs_base_body_inner_gtm_main' => [$this'block_dtgs_base_body_inner_gtm_main'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@DreiscSeoPro/storefront/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DtgsGoogleTagManagerSw6/storefront/base.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DtgsGoogleTagManagerSw6/storefront/base.html.twig"));
  43.         $this->parent $this->loadTemplate("@DreiscSeoPro/storefront/base.html.twig""@DtgsGoogleTagManagerSw6/storefront/base.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_base_noscript($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  58.         // line 4
  59.         echo "    ";
  60.         $this->displayParentBlock("base_noscript"$context$blocks);
  61.         echo "
  62.     ";
  63.         // line 5
  64.         $this->loadTemplate("@DtgsGoogleTagManagerSw6/storefront/plugins/TagManager/noscript.html.twig""@DtgsGoogleTagManagerSw6/storefront/base.html.twig"5)->display($context);
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.     }
  70.     // line 8
  71.     public function block_base_body_inner($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_inner"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_inner"));
  78.         // line 9
  79.         echo "
  80.     ";
  81.         // line 10
  82.         $this->displayBlock('dtgs_base_body_inner_gtm_datalayer'$context$blocks);
  83.         // line 15
  84.         echo "
  85.     ";
  86.         // line 16
  87.         $this->displayBlock('dtgs_base_body_inner_gtm_main'$context$blocks);
  88.         // line 21
  89.         echo "
  90.     ";
  91.         // line 22
  92.         $this->displayParentBlock("base_body_inner"$context$blocks);
  93.         echo "
  94. ";
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     // line 10
  101.     public function block_dtgs_base_body_inner_gtm_datalayer($context, array $blocks = [])
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dtgs_base_body_inner_gtm_datalayer"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dtgs_base_body_inner_gtm_datalayer"));
  108.         // line 11
  109.         echo "        ";
  110.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"DtgsGoogleTagManagerSw6.config.datalayerPosition") == "body")) {
  111.             // line 12
  112.             echo "            ";
  113.             $this->loadTemplate("@DtgsGoogleTagManagerSw6/storefront/plugins/TagManager/datalayer.html.twig""@DtgsGoogleTagManagerSw6/storefront/base.html.twig"12)->display($context);
  114.             // line 13
  115.             echo "        ";
  116.         }
  117.         // line 14
  118.         echo "    ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     // line 16
  125.     public function block_dtgs_base_body_inner_gtm_main($context, array $blocks = [])
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dtgs_base_body_inner_gtm_main"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dtgs_base_body_inner_gtm_main"));
  132.         // line 17
  133.         echo "        ";
  134.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"DtgsGoogleTagManagerSw6.config.tagmanagerPosition") == "body")) {
  135.             // line 18
  136.             echo "            ";
  137.             $this->loadTemplate("@GrimmTheme/storefront/plugins/TagManager/tagmanager_main.html.twig""@DtgsGoogleTagManagerSw6/storefront/base.html.twig"18)->display($context);
  138.             // line 19
  139.             echo "        ";
  140.         }
  141.         // line 20
  142.         echo "    ";
  143.         
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  145.         
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  147.     }
  148.     public function getTemplateName()
  149.     {
  150.         return "@DtgsGoogleTagManagerSw6/storefront/base.html.twig";
  151.     }
  152.     public function isTraitable()
  153.     {
  154.         return false;
  155.     }
  156.     public function getDebugInfo()
  157.     {
  158.         return array (  169 => 20,  166 => 19,  163 => 18,  160 => 17,  150 => 16,  140 => 14,  137 => 13,  134 => 12,  131 => 11,  121 => 10,  109 => 22,  106 => 21,  104 => 16,  101 => 15,  99 => 10,  96 => 9,  86 => 8,  76 => 5,  71 => 4,  61 => 3,  38 => 2,);
  159.     }
  160.     public function getSourceContext()
  161.     {
  162.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  163. {% block base_noscript %}
  164.     {{ parent() }}
  165.     {% sw_include 'storefront/plugins/TagManager/noscript.html.twig' %}
  166. {% endblock %}
  167. {% block base_body_inner %}
  168.     {% block dtgs_base_body_inner_gtm_datalayer %}
  169.         {% if config('DtgsGoogleTagManagerSw6.config.datalayerPosition') == 'body' %}
  170.             {% sw_include 'storefront/plugins/TagManager/datalayer.html.twig' %}
  171.         {% endif %}
  172.     {% endblock %}
  173.     {% block dtgs_base_body_inner_gtm_main %}
  174.         {% if config('DtgsGoogleTagManagerSw6.config.tagmanagerPosition') == 'body' %}
  175.             {% sw_include 'storefront/plugins/TagManager/tagmanager_main.html.twig' %}
  176.         {% endif %}
  177.     {% endblock %}
  178.     {{ parent() }}
  179. {% endblock %}
  180. ""@DtgsGoogleTagManagerSw6/storefront/base.html.twig""/var/www/staging1.grimm-gastrobedarf.de/custom/plugins/DtgsGoogleTagManagerSw6/src/Resources/views/storefront/base.html.twig");
  181.     }
  182. }