var/cache/dev_h709f23ac6750a26dad7ce174fa60cb15/twig/2a/2ab2a65657b1799610068c5097f79dfa0eef0e2bcf90322a4f464ff8276a0a72.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. /* @FuerstenbergPorzellan/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_650484e07c1c1dbca01af7219769c0b7 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_inner' => [$this'block_layout_head_title_inner'],
  26.             'layout_head_meta_tags_description' => [$this'block_layout_head_meta_tags_description'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@SwagPayPal/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""@FuerstenbergPorzellan/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""@FuerstenbergPorzellan/storefront/layout/meta.html.twig"));
  41.         $this->parent $this->loadTemplate("@SwagPayPal/storefront/layout/meta.html.twig""@FuerstenbergPorzellan/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_inner($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_inner"));
  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_inner"));
  56.         // line 4
  57.         echo "    ";
  58.         if (( !twig_test_empty(($context["controllerName"] ?? null)) && (twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "accountprofile"))) {
  59.             // line 5
  60.             echo "        ";
  61.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.account.title"), "html"nulltrue);
  62.             echo "
  63.     ";
  64.         } else {
  65.             // line 7
  66.             echo "        ";
  67.             $this->displayParentBlock("layout_head_title_inner"$context$blocks);
  68.             echo "
  69.     ";
  70.         }
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     // line 11
  77.     public function block_layout_head_meta_tags_description($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_description"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_description"));
  84.         if (( !twig_test_empty(($context["controllerName"] ?? null)) && (twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "accountprofile"))) {
  85.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.account.description"), "html"nulltrue);
  86.         } else {
  87.             $this->displayParentBlock("layout_head_meta_tags_description"$context$blocks);
  88.         }
  89.         
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  91.         
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  93.     }
  94.     public function getTemplateName()
  95.     {
  96.         return "@FuerstenbergPorzellan/storefront/layout/meta.html.twig";
  97.     }
  98.     public function isTraitable()
  99.     {
  100.         return false;
  101.     }
  102.     public function getDebugInfo()
  103.     {
  104.         return array (  92 => 11,  78 => 7,  72 => 5,  69 => 4,  59 => 3,  36 => 2,);
  105.     }
  106.     public function getSourceContext()
  107.     {
  108.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  109. {% block layout_head_title_inner %}
  110.     {% if controllerName is not empty and controllerName|lower =='accountprofile' %}
  111.         {{ \"meta.account.title\"|trans }}
  112.     {% else %}
  113.         {{parent()}}
  114.     {% endif %}
  115. {% endblock %}
  116. {% block layout_head_meta_tags_description %}{% if controllerName is not empty and controllerName|lower =='accountprofile' %}{{ \"meta.account.description\"|trans }}{% else %}{{ parent() }}{% endif %}{% endblock %}""@FuerstenbergPorzellan/storefront/layout/meta.html.twig""/var/customers/webs/fporzellan/htdocs/custom/plugins/FuerstenbergPorzellan/src/Resources/views/storefront/layout/meta.html.twig");
  117.     }
  118. }