var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/ba/ba1ead89a087997694c047ce0f1d7c7ee4269f70c2cbc55ee4d1f154ba97b1a6.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. /* @zenitPlatformShippingBar/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_1daad500692834de4413da1b4df2a248d9d579b7fe344a4fde9b4f7c8e576ad9 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_stylesheet' => [$this'block_layout_head_stylesheet'],
  26.             'zenit_shipping_bar_css' => [$this'block_zenit_shipping_bar_css'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@Storefront/storefront/layout/meta.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""@zenitPlatformShippingBar/storefront/layout/meta.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""@zenitPlatformShippingBar/storefront/layout/meta.html.twig"));
  41.         $this->parent $this->loadTemplate("@Storefront/storefront/layout/meta.html.twig""@zenitPlatformShippingBar/storefront/layout/meta.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_layout_head_stylesheet($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""layout_head_stylesheet"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_stylesheet"));
  56.         // line 4
  57.         echo "    ";
  58.         $this->displayParentBlock("layout_head_stylesheet"$context$blocks);
  59.         echo "
  60.     ";
  61.         // line 6
  62.         $this->displayBlock('zenit_shipping_bar_css'$context$blocks);
  63.         // line 15
  64.         echo "
  65. ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 6
  72.     public function block_zenit_shipping_bar_css($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_css"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_css"));
  79.         // line 7
  80.         echo "        ";
  81.         $context["zenShippingBar"] = sw_get_attribute($this->env$this->source, (($__internal_compile_0 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse7), "extensions", [], "any"falsefalsefalse7)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any"falsefalsefalse7);
  82.         // line 8
  83.         echo "
  84.         ";
  85.         // line 9
  86.         if (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "customCSS", [], "any"falsefalsefalse9)) {
  87.             // line 10
  88.             echo "            <style type=\"text/css\" data-plugin=\"zenitPlatformShippingBar\">
  89.                 ";
  90.             // line 11
  91.             echo sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "customCSS", [], "any"falsefalsefalse11);
  92.             echo "
  93.             </style>
  94.         ";
  95.         }
  96.         // line 14
  97.         echo "    ";
  98.         
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  100.         
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  102.     }
  103.     public function getTemplateName()
  104.     {
  105.         return "@zenitPlatformShippingBar/storefront/layout/meta.html.twig";
  106.     }
  107.     public function isTraitable()
  108.     {
  109.         return false;
  110.     }
  111.     public function getDebugInfo()
  112.     {
  113.         return array (  115 => 14,  109 => 11,  106 => 10,  104 => 9,  101 => 8,  98 => 7,  88 => 6,  77 => 15,  75 => 6,  69 => 4,  59 => 3,  36 => 2,);
  114.     }
  115.     public function getSourceContext()
  116.     {
  117.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  118. {% block layout_head_stylesheet %}
  119.     {{ parent() }}
  120.     {% block zenit_shipping_bar_css %}
  121.         {% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
  122.         {% if zenShippingBar.customCSS %}
  123.             <style type=\"text/css\" data-plugin=\"zenitPlatformShippingBar\">
  124.                 {{ zenShippingBar.customCSS|raw }}
  125.             </style>
  126.         {% endif %}
  127.     {% endblock %}
  128. {% endblock %}
  129. ""@zenitPlatformShippingBar/storefront/layout/meta.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/zenitPlatformShippingBar/src/Resources/views/storefront/layout/meta.html.twig");
  130.     }
  131. }