var/cache/dev_hc896b0aecebc6aae6bec469c82cd525f/twig/5f/5f4a5a3f7701b1784f2ab1565f8501df9fd4cc0a5dd9d137e29a63c210256c0e.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. /* @EfbStorefront/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_9e70bb776f7b66b235a2323c7e1af220 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_meta_tags' => [$this'block_layout_head_meta_tags'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@SwagB2bPlatform/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""@EfbStorefront/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""@EfbStorefront/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@SwagB2bPlatform/storefront/layout/meta.html.twig""@EfbStorefront/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 4
  48.     public function block_layout_head_meta_tags($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_meta_tags"));
  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_meta_tags"));
  55.         // line 5
  56.         echo "    ";
  57.         $this->displayParentBlock("layout_head_meta_tags"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 7
  61.         $context["code"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse7), "translated", [], "any"falsefalsefalse7), "customFields", [], "any"falsefalsefalse7), "saleschannel_additional_seo_data_google_site_verification_id", [], "any"falsefalsefalse7);
  62.         // line 8
  63.         echo "    ";
  64.         if (($context["code"] ?? null)) {
  65.             // line 9
  66.             echo "        <meta name=\"google-site-verification\" content=\"";
  67.             echo sw_escape_filter($this->env, ($context["code"] ?? null), "html"nulltrue);
  68.             echo "\" />
  69.     ";
  70.         }
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     public function getTemplateName()
  77.     {
  78.         return "@EfbStorefront/storefront/layout/meta.html.twig";
  79.     }
  80.     public function isTraitable()
  81.     {
  82.         return false;
  83.     }
  84.     public function getDebugInfo()
  85.     {
  86.         return array (  79 => 9,  76 => 8,  74 => 7,  68 => 5,  58 => 4,  35 => 2,);
  87.     }
  88.     public function getSourceContext()
  89.     {
  90.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  91. {% block layout_head_meta_tags %}
  92.     {{ parent() }}
  93.     {% set code = context.salesChannel.translated.customFields.saleschannel_additional_seo_data_google_site_verification_id %}
  94.     {% if code %}
  95.         <meta name=\"google-site-verification\" content=\"{{ code }}\" />
  96.     {% endif %}
  97. {% endblock %}""@EfbStorefront/storefront/layout/meta.html.twig""/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/static-plugins/EfbStorefront/Resources/views/storefront/layout/meta.html.twig");
  98.     }
  99. }