var/cache/dev_h7c987e168e0fffb75676c4822b2502a6/twig/e6/e67523b487011526316f47bb68d70906673f5c9f3922e8456c1d394d86e7db42.php line 41

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. /* @AmMacTradeCustomPlugins/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_f07dc2bb40ab1085018df0fb1183cf8d 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_title' => [$this'block_layout_head_title'],
  26.             'layout_head_title_inner' => [$this'block_layout_head_title_inner'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@AmMacTrade/storefront/layout/meta.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""@AmMacTradeCustomPlugins/storefront/layout/meta.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""@AmMacTradeCustomPlugins/storefront/layout/meta.html.twig"));
  41.         $this->parent $this->loadTemplate("@AmMacTrade/storefront/layout/meta.html.twig""@AmMacTradeCustomPlugins/storefront/layout/meta.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_layout_head_title($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""layout_head_title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title"));
  56.         // line 4
  57.         echo "    <title itemprop=\"name\">";
  58.         ob_start();
  59.         // line 5
  60.         echo "    ";
  61.         $this->displayBlock('layout_head_title_inner'$context$blocks);
  62.         // line 14
  63.         echo "    ";
  64.         $___internal_parse_3_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  65.         // line 4
  66.         echo twig_spaceless($___internal_parse_3_);
  67.         // line 14
  68.         echo "</title>
  69. ";
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 5
  76.     public function block_layout_head_title_inner($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title_inner"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title_inner"));
  83.         // line 6
  84.         echo "        ";
  85.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse6), "Id", [], "any"falsefalsefalse6) === "45be9f42765d42e8ae1137d1812040f4")) {
  86.             // line 7
  87.             echo "            COB
  88.         ";
  89.         } elseif ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 8
  90. ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse8), "Id", [], "any"falsefalsefalse8) === "28cc3b3554794114a8df96aeca8d78ae")) {
  91.             // line 9
  92.             echo "            Benefitsme
  93.         ";
  94.         } else {
  95.             // line 11
  96.             echo "            ";
  97.             echo sw_escape_filter($this->env, ($context["metaTitle"] ?? null), "html"nulltrue);
  98.             echo "
  99.         ";
  100.         }
  101.         // line 13
  102.         echo "        ";
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.     }
  108.     public function getTemplateName()
  109.     {
  110.         return "@AmMacTradeCustomPlugins/storefront/layout/meta.html.twig";
  111.     }
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     public function getDebugInfo()
  117.     {
  118.         return array (  119 => 13,  113 => 11,  109 => 9,  107 => 8,  104 => 7,  101 => 6,  91 => 5,  80 => 14,  78 => 4,  75 => 14,  72 => 5,  69 => 4,  59 => 3,  36 => 2,);
  119.     }
  120.     public function getSourceContext()
  121.     {
  122.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  123. {% block layout_head_title %}
  124.     <title itemprop=\"name\">{% apply spaceless %}
  125.     {% block layout_head_title_inner %}
  126.         {% if context.salesChannel.Id === '45be9f42765d42e8ae1137d1812040f4' %}
  127.             COB
  128.         {% elseif context.salesChannel.Id === '28cc3b3554794114a8df96aeca8d78ae' %}
  129.             Benefitsme
  130.         {% else %}
  131.             {{ metaTitle }}
  132.         {% endif %}
  133.         {% endblock %}
  134.     {% endapply %}</title>
  135. {% endblock %}""@AmMacTradeCustomPlugins/storefront/layout/meta.html.twig""/var/www/vhosts/devmt.de/httpdocs/shopware-ce/custom/plugins/AmMacTradeCustomPlugins/src/Resources/views/storefront/layout/meta.html.twig");
  136.     }
  137. }