var/cache/dev_h24eaf6979abf10b67456256024eb9e5e/twig/0a/0a8ce6354fbd2aac26fec16eccff3c303b881f28f5bfb689c46202740cddace6.php line 78

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. /* @ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig */
  16. class __TwigTemplate_77c451a5230d0d6d2445a827d6e3f7c9 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->parent false;
  25.         $this->blocks = [
  26.             'proclane_cms_block_hero_basic' => [$this'block_proclane_cms_block_hero_basic'],
  27.             'proclane_cms_block_hero_basic_slot_left' => [$this'block_proclane_cms_block_hero_basic_slot_left'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig"));
  37.         // line 1
  38.         $this->displayBlock('proclane_cms_block_hero_basic'$context$blocks);
  39.         
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41.         
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43.     }
  44.     public function block_proclane_cms_block_hero_basic($context, array $blocks = [])
  45.     {
  46.         $macros $this->macros;
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""proclane_cms_block_hero_basic"));
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""proclane_cms_block_hero_basic"));
  51.         // line 2
  52.         echo "  ";
  53.         // line 3
  54.         echo "  ";
  55.         $this->displayBlock('proclane_cms_block_hero_basic_slot_left'$context$blocks);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.     }
  61.     public function block_proclane_cms_block_hero_basic_slot_left($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""proclane_cms_block_hero_basic_slot_left"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""proclane_cms_block_hero_basic_slot_left"));
  68.         // line 4
  69.         echo "    <div class=\"cms-block-hero-basic-slot-text\" data-position-hero-basic-plugin>
  70.       ";
  71.         // line 5
  72.         $context["element"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["block"] ?? null), "slots", [], "any"falsefalsefalse5), "getSlot", [=> "text"], "method"falsefalsefalse5);
  73.         // line 6
  74.         echo "
  75.       ";
  76.         // line 7
  77.         ((function () use ($context$blocks) {
  78.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  79.             $includeTemplate $finder->find((("@Storefront/storefront/element/cms-element-" sw_get_attribute($this->env$this->source, ($context["element"] ?? null), "type", [], "any"falsefalsefalse7)) . ".html.twig"));
  80.             return $this->loadTemplate($includeTemplate ?? null"@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig"7);
  81.         })())->display(twig_array_merge($context, ["element" =>         // line 8
  82. ($context["element"] ?? null)]));
  83.         // line 10
  84.         echo "    </div>
  85.   ";
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     public function getTemplateName()
  92.     {
  93.         return "@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig";
  94.     }
  95.     public function getDebugInfo()
  96.     {
  97.         return array (  103 => 10,  101 => 8,  94 => 7,  91 => 6,  89 => 5,  86 => 4,  66 => 3,  64 => 2,  45 => 1,);
  98.     }
  99.     public function getSourceContext()
  100.     {
  101.         return new Source("{% block proclane_cms_block_hero_basic %}
  102.   {# Element => text #}
  103.   {% block proclane_cms_block_hero_basic_slot_left %}
  104.     <div class=\"cms-block-hero-basic-slot-text\" data-position-hero-basic-plugin>
  105.       {% set element = block.slots.getSlot('text') %}
  106.       {% sw_include '@Storefront/storefront/element/cms-element-' ~ element.type ~'.html.twig' with {
  107.         'element': element
  108.       } %}
  109.     </div>
  110.   {% endblock %}
  111. {% endblock %}
  112. ""@ProclaneWegmannTheme/storefront/block/cms-block-hero-basic.html.twig""/var/www/html/htdocs/custom/plugins/ProcWegmannTheme/src/Resources/views/storefront/block/cms-block-hero-basic.html.twig");
  113.     }
  114. }