var/cache/dev_ha6cdf01c8a14124e315e8ec5e6f48dc2/twig/67/6787b0555f70fa315deaa4c6c15b57e876ae09c5659ab33de6f31ea9d6a5995c.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. /* @WbmTagManagerEcomm/storefront/base.html.twig */
  16. class __TwigTemplate_0d7ae11ad6605bab2ef20f0f4c966cdc4440717b46c64110f17cfba041abc816 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 "@SwagCmsExtensions/storefront/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WbmTagManagerEcomm/storefront/base.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WbmTagManagerEcomm/storefront/base.html.twig"));
  41.         $this->parent $this->loadTemplate("@SwagCmsExtensions/storefront/base.html.twig""@WbmTagManagerEcomm/storefront/base.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_base_noscript($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_noscript"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 4
  70.     public function block_wbm_base_tag_manager_noscript($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wbm_base_tag_manager_noscript"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  94.         
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  96.     }
  97.     public function getTemplateName()
  98.     {
  99.         return "@WbmTagManagerEcomm/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. ""@WbmTagManagerEcomm/storefront/base.html.twig""/var/customers/webs/youksakka/htdocs/custom/plugins/WbmTagManagerEcomm/src/Resources/views/storefront/base.html.twig");
  124.     }
  125. }