var/cache/dev_h709f23ac6750a26dad7ce174fa60cb15/twig/15/15bcc653826945e966bffd9890761c8dd8aa44be87928f2ac576cc220b09fc5b.php line 51

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. /* @WbmTagManagerAnalytics/storefront/base.html.twig */
  16. class __TwigTemplate_740eedc1d01a9644f36fe9e764e1031e 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.             'wbm_base_tag_manager_noscript' => [$this'block_wbm_base_tag_manager_noscript'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@IntediaDoofinderSW6/storefront/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WbmTagManagerAnalytics/storefront/base.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WbmTagManagerAnalytics/storefront/base.html.twig"));
  41.         $this->parent $this->loadTemplate("@IntediaDoofinderSW6/storefront/base.html.twig""@WbmTagManagerAnalytics/storefront/base.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_base_noscript($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  56.         // line 4
  57.         echo "    ";
  58.         $this->displayBlock('wbm_base_tag_manager_noscript'$context$blocks);
  59.         // line 12
  60.         echo "    ";
  61.         $this->displayParentBlock("base_noscript"$context$blocks);
  62.         echo "
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 4
  70.     public function block_wbm_base_tag_manager_noscript($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wbm_base_tag_manager_noscript"));
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wbm_base_tag_manager_noscript"));
  77.         // line 5
  78.         echo "        ";
  79.         if (sw_get_attribute($this->env$this->source, ($context["wbmTagManagerConfig"] ?? null), "gtmContainerId", [], "any"falsefalsefalse5)) {
  80.             // line 6
  81.             echo "            <noscript>
  82.                 <iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  83.             // line 7
  84.             echo sw_get_attribute($this->env$this->source, ($context["wbmTagManagerConfig"] ?? null), "gtmContainerId", [], "any"falsefalsefalse7);
  85.             echo "\"
  86.                         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  87.             </noscript>
  88.         ";
  89.         }
  90.         // line 11
  91.         echo "    ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     public function getTemplateName()
  98.     {
  99.         return "@WbmTagManagerAnalytics/storefront/base.html.twig";
  100.     }
  101.     public function isTraitable()
  102.     {
  103.         return false;
  104.     }
  105.     public function getDebugInfo()
  106.     {
  107.         return array (  108 => 11,  101 => 7,  98 => 6,  95 => 5,  85 => 4,  72 => 12,  69 => 4,  59 => 3,  36 => 2,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  112. {% block base_noscript %}
  113.     {% block wbm_base_tag_manager_noscript %}
  114.         {% if wbmTagManagerConfig.gtmContainerId %}
  115.             <noscript>
  116.                 <iframe src=\"https://www.googletagmanager.com/ns.html?id={{ wbmTagManagerConfig.gtmContainerId|raw }}\"
  117.                         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  118.             </noscript>
  119.         {% endif %}
  120.     {% endblock %}
  121.     {{ parent() }}
  122. {% endblock %}
  123. ""@WbmTagManagerAnalytics/storefront/base.html.twig""/var/customers/webs/fporzellan/htdocs/custom/plugins/WbmTagManagerAnalytics/src/Resources/views/storefront/base.html.twig");
  124.     }
  125. }