var/cache/dev_h964aaf7676cbd186c58c2ecce1205bb0/twig/7e/7e0049003c35e0ea9fa5fc271e3916a18a7ee5724e2aa5b479360e991175f59b.php line 52

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. /* @SwagCustomNotification/storefront/base.html.twig */
  16. class __TwigTemplate_d2bf17584be9d83aaa873dadbc322848 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_header' => [$this'block_base_header'],
  26.             'base_main' => [$this'block_base_main'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@Storefront/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""@SwagCustomNotification/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""@SwagCustomNotification/storefront/base.html.twig"));
  41.         $context["consentCookieKey"] = "sw-consent-manager-accepted";
  42.         $this->parent $this->loadTemplate("@Storefront/storefront/base.html.twig""@SwagCustomNotification/storefront/base.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 4
  50.     public function block_base_header($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  57.         // line 5
  58.         echo "    ";
  59.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"SwagCustomNotification.config.showBanner")) {
  60.             // line 6
  61.             echo "        ";
  62.             $this->loadTemplate("@SwagCustomNotification/storefront/layout/header/banner.html.twig""@SwagCustomNotification/storefront/base.html.twig"6)->display($context);
  63.             // line 7
  64.             echo "    ";
  65.         }
  66.         // line 8
  67.         echo "
  68.     ";
  69.         // line 9
  70.         $this->displayParentBlock("base_header"$context$blocks);
  71.         echo "
  72. ";
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 12
  79.     public function block_base_main($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main"));
  86.         // line 13
  87.         echo "    ";
  88.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"SwagCustomNotification.config.showConsentPopup")) {
  89.             // line 14
  90.             echo "        ";
  91.             $this->loadTemplate("@SwagCustomNotification/storefront/layout/modal/consent.html.twig""@SwagCustomNotification/storefront/base.html.twig"14)->display($context);
  92.             // line 15
  93.             echo "    ";
  94.         }
  95.         // line 16
  96.         echo "
  97.     ";
  98.         // line 17
  99.         $this->displayParentBlock("base_main"$context$blocks);
  100.         echo "
  101.     ";
  102.         // line 19
  103.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"SwagCustomNotification.config.showInfoPopup")) {
  104.             // line 20
  105.             echo "        ";
  106.             $this->loadTemplate("@SwagCustomNotification/storefront/layout/modal/info.html.twig""@SwagCustomNotification/storefront/base.html.twig"20)->display($context);
  107.             // line 21
  108.             echo "    ";
  109.         }
  110.         // line 22
  111.         echo "
  112.     ";
  113.         // line 23
  114.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"SwagCustomNotification.config.showNewsletter")) {
  115.             // line 24
  116.             echo "        ";
  117.             $this->loadTemplate("@SwagCustomNotification/storefront/layout/modal/newsletter-popup.html.twig""@SwagCustomNotification/storefront/base.html.twig"24)->display($context);
  118.             // line 25
  119.             echo "    ";
  120.         }
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     public function getTemplateName()
  127.     {
  128.         return "@SwagCustomNotification/storefront/base.html.twig";
  129.     }
  130.     public function isTraitable()
  131.     {
  132.         return false;
  133.     }
  134.     public function getDebugInfo()
  135.     {
  136.         return array (  137 => 25,  134 => 24,  132 => 23,  129 => 22,  126 => 21,  123 => 20,  121 => 19,  116 => 17,  113 => 16,  110 => 15,  107 => 14,  104 => 13,  94 => 12,  82 => 9,  79 => 8,  76 => 7,  73 => 6,  70 => 5,  60 => 4,  36 => 2,);
  137.     }
  138.     public function getSourceContext()
  139.     {
  140.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  141. {% set consentCookieKey = 'sw-consent-manager-accepted' %}
  142. {% block base_header %}
  143.     {% if config('SwagCustomNotification.config.showBanner') %}
  144.         {% sw_include '@SwagCustomNotification/storefront/layout/header/banner.html.twig' %}
  145.     {% endif %}
  146.     {{ parent() }}
  147. {% endblock %}
  148. {% block base_main %}
  149.     {% if config('SwagCustomNotification.config.showConsentPopup') %}
  150.         {% sw_include '@SwagCustomNotification/storefront/layout/modal/consent.html.twig' %}
  151.     {% endif %}
  152.     {{ parent() }}
  153.     {% if config('SwagCustomNotification.config.showInfoPopup') %}
  154.         {% sw_include '@SwagCustomNotification/storefront/layout/modal/info.html.twig' %}
  155.     {% endif %}
  156.     {% if config('SwagCustomNotification.config.showNewsletter') %}
  157.         {% sw_include '@SwagCustomNotification/storefront/layout/modal/newsletter-popup.html.twig' %}
  158.     {% endif %}
  159. {% endblock %}
  160. ""@SwagCustomNotification/storefront/base.html.twig""/var/www/vhosts/shop.bluebrix.de/httpdocs/custom/apps/SwagCustomNotification/Resources/views/storefront/base.html.twig");
  161.     }
  162. }