var/cache/dev_h7302b6dbeb5b1ab0a68ccd87e6c236f4/twig/66/6637d1ef42ea7da0c6ebf8dc52ba1798bf422371d595923eb5c7190d5d6708da.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. /* @OdShoplytics/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_948657cb6169e3a8b313ec73cfe879a0 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.             'layout_head_javascript_tracking' => [$this'block_layout_head_javascript_tracking'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@zenitPlatformHorizon/storefront/layout/meta.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""@OdShoplytics/storefront/layout/meta.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""@OdShoplytics/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@zenitPlatformHorizon/storefront/layout/meta.html.twig""@OdShoplytics/storefront/layout/meta.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_layout_head_javascript_tracking($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""layout_head_javascript_tracking"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_tracking"));
  55.         // line 4
  56.         echo "    ";
  57.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"OdShoplytics.config.shoplyticsScript")) {
  58.             // line 5
  59.             echo "        <script type=\"text/javascript\" src=\"";
  60.             echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"OdShoplytics.config.shoplyticsScript"), "html"nulltrue);
  61.             echo "\" ";
  62.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"OdShoplytics.config.shoplyticsDefer")) {
  63.                 echo " defer";
  64.             }
  65.             echo "></script>
  66.     ";
  67.         }
  68.         // line 7
  69.         echo "
  70.     ";
  71.         // line 8
  72.         $this->displayParentBlock("layout_head_javascript_tracking"$context$blocks);
  73.         echo "
  74. ";
  75.         
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  77.         
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79.     }
  80.     public function getTemplateName()
  81.     {
  82.         return "@OdShoplytics/storefront/layout/meta.html.twig";
  83.     }
  84.     public function isTraitable()
  85.     {
  86.         return false;
  87.     }
  88.     public function getDebugInfo()
  89.     {
  90.         return array (  84 => 8,  81 => 7,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  91.     }
  92.     public function getSourceContext()
  93.     {
  94.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  95. {% block layout_head_javascript_tracking %}
  96.     {% if config('OdShoplytics.config.shoplyticsScript') %}
  97.         <script type=\"text/javascript\" src=\"{{ config('OdShoplytics.config.shoplyticsScript') }}\" {% if config('OdShoplytics.config.shoplyticsDefer') %} defer{% endif %}></script>
  98.     {% endif %}
  99.     {{ parent() }}
  100. {% endblock %}""@OdShoplytics/storefront/layout/meta.html.twig""/var/www/geuther_staging/custom/plugins/OdShoplytics/src/Resources/views/storefront/layout/meta.html.twig");
  101.     }
  102. }