var/cache/dev_h566465a63b35a62ac1d86d97313f5abd/twig/3d/3d4ba31021ffc05b838efb7466b658242762162c2d0e79d0871c7cd39ee9ae16.php line 45

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Storefront/storefront/layout/navigation/offcanvas/active-item-link.html.twig */
  14. class __TwigTemplate_36b74d42376c1a19956c354aef392358df553e18798449eb6ac4c9861c6018c4 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'layout_navigation_offcanvas_navigation_category_headline' => [$this'block_layout_navigation_offcanvas_navigation_category_headline'],
  25.             'layout_navigation_offcanvas_navigation_category_headline_text' => [$this'block_layout_navigation_offcanvas_navigation_category_headline_text'],
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/layout/navigation/offcanvas/active-item-link.html.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/layout/navigation/offcanvas/active-item-link.html.twig"));
  35.         // line 1
  36.         $this->displayBlock('layout_navigation_offcanvas_navigation_category_headline'$context$blocks);
  37.         
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  39.         
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  41.     }
  42.     public function block_layout_navigation_offcanvas_navigation_category_headline($context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_navigation_offcanvas_navigation_category_headline"));
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_navigation_offcanvas_navigation_category_headline"));
  49.         // line 2
  50.         echo "    <a class=\"nav-item nav-link navigation-offcanvas-headline\"
  51.        href=\"";
  52.         // line 3
  53.         echo twig_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.navigation.page", ["navigationId" => twig_get_attribute($this->env$this->source, ($context["item"] ?? null), "parentId", [], "any"falsefalsefalse3)]), "html"nulltrue);
  54.         echo "\"
  55.        itemprop=\"url\">
  56.         ";
  57.         // line 5
  58.         $this->displayBlock('layout_navigation_offcanvas_navigation_category_headline_text'$context$blocks);
  59.         // line 10
  60.         echo "    </a>
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 5
  68.     public function block_layout_navigation_offcanvas_navigation_category_headline_text($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_navigation_offcanvas_navigation_category_headline_text"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_navigation_offcanvas_navigation_category_headline_text"));
  75.         // line 6
  76.         echo "            <span itemprop=\"name\">
  77.                 ";
  78.         // line 7
  79.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["item"] ?? null), "translated", [], "any"falsefalsefalse7), "name", [], "any"falsefalsefalse7), "html"nulltrue);
  80.         echo "
  81.             </span>
  82.         ";
  83.         
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  85.         
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  87.     }
  88.     public function getTemplateName()
  89.     {
  90.         return "@Storefront/storefront/layout/navigation/offcanvas/active-item-link.html.twig";
  91.     }
  92.     public function getDebugInfo()
  93.     {
  94.         return array (  98 => 7,  95 => 6,  85 => 5,  74 => 10,  72 => 5,  67 => 3,  64 => 2,  45 => 1,);
  95.     }
  96.     public function getSourceContext()
  97.     {
  98.         return new Source("{% block layout_navigation_offcanvas_navigation_category_headline %}
  99.     <a class=\"nav-item nav-link navigation-offcanvas-headline\"
  100.        href=\"{{ seoUrl('frontend.navigation.page', { 'navigationId': item.parentId}) }}\"
  101.        itemprop=\"url\">
  102.         {% block layout_navigation_offcanvas_navigation_category_headline_text %}
  103.             <span itemprop=\"name\">
  104.                 {{ item.translated.name }}
  105.             </span>
  106.         {% endblock %}
  107.     </a>
  108. {% endblock %}
  109. ""@Storefront/storefront/layout/navigation/offcanvas/active-item-link.html.twig""/home/asgsgbnt/www.asg-store.de/vendor/shopware/storefront/Resources/views/storefront/layout/navigation/offcanvas/active-item-link.html.twig");
  110.     }
  111. }