var/cache/dev_h24eaf6979abf10b67456256024eb9e5e/twig/69/69da761c60b9cc532c422cd463dfec29b1d788b7da82e0560b290bf52da83ee7.php line 46

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/element/cms-element-proclane-hero-basic.html.twig */
  16. class __TwigTemplate_3a1da2783b5de1597d87d1376d6b512e 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_sw_cms_element_hero_basic' => [$this'block_proclane_sw_cms_element_hero_basic'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('proclane_sw_cms_element_hero_basic'$context$blocks);
  38.         
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  40.         
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  42.     }
  43.     public function block_proclane_sw_cms_element_hero_basic($context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""proclane_sw_cms_element_hero_basic"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""proclane_sw_cms_element_hero_basic"));
  50.         // line 2
  51.         echo "  <div class=\"proclane-sw-cms-el proclane-sw-cms-el-hero-basic\">
  52.     ";
  53.         // line 3
  54.         $context["text"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "config", [], "any"falsefalsefalse3), "text", [], "any"falsefalsefalse3), "value", [], "any"falsefalsefalse3);
  55.         // line 4
  56.         echo "    ";
  57.         $context["backgroundImage"] = twig_first($this->envsw_get_attribute($this->env$this->source$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "config", [], "any"falsefalsefalse4), "backgroundImage", [], "any"falsefalsefalse4), "value", [], "any"falsefalsefalse4)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse4)), "elements", [], "any"falsefalsefalse4));
  58.         // line 5
  59.         echo "    ";
  60.         $context["icon"] = twig_first($this->envsw_get_attribute($this->env$this->source$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "config", [], "any"falsefalsefalse5), "icon", [], "any"falsefalsefalse5), "value", [], "any"falsefalsefalse5)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse5)), "elements", [], "any"falsefalsefalse5));
  61.         // line 6
  62.         echo "
  63.     <div class=\"proclane-sw-cms-el-hero-basic__text-container\">
  64.       <div class=\"proclane-sw-cms-el-hero-basic__text\">
  65.         <div class=\"hero-title-text\">
  66.           <div class=\"first-one\"></div>
  67.           <div class=\"container\">
  68.             <div class=\"text\">
  69.               <div class=\"text--inner-container\">
  70.                 ";
  71.         // line 14
  72.         echo sw_escape_filter($this->env, ($context["text"] ?? null), "html"nulltrue);
  73.         echo "
  74.               </div>
  75.             </div>
  76.           </div>
  77.         </div>
  78.       </div>
  79.     </div>
  80.     <div class=\"proclane-sw-cms-el-hero-basic__background-container\">
  81.       <img
  82.         class=\"proclane-sw-cms-el-hero-basic__background\"
  83.         src=\"";
  84.         // line 24
  85.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["backgroundImage"] ?? null), "url", [], "any"falsefalsefalse24), "html"nulltrue);
  86.         echo "\"
  87.       />
  88.     </div>
  89.   </div>
  90. ";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.     }
  96.     public function getTemplateName()
  97.     {
  98.         return "@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig";
  99.     }
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  97 => 24,  84 => 14,  74 => 6,  71 => 5,  68 => 4,  66 => 3,  63 => 2,  44 => 1,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("{% block proclane_sw_cms_element_hero_basic %}
  107.   <div class=\"proclane-sw-cms-el proclane-sw-cms-el-hero-basic\">
  108.     {% set text = element.config.text.value %}
  109.     {% set backgroundImage = searchMedia([element.config.backgroundImage.value], context.context).elements|first %}
  110.     {% set icon = searchMedia([element.config.icon.value], context.context).elements|first %}
  111.     <div class=\"proclane-sw-cms-el-hero-basic__text-container\">
  112.       <div class=\"proclane-sw-cms-el-hero-basic__text\">
  113.         <div class=\"hero-title-text\">
  114.           <div class=\"first-one\"></div>
  115.           <div class=\"container\">
  116.             <div class=\"text\">
  117.               <div class=\"text--inner-container\">
  118.                 {{ text }}
  119.               </div>
  120.             </div>
  121.           </div>
  122.         </div>
  123.       </div>
  124.     </div>
  125.     <div class=\"proclane-sw-cms-el-hero-basic__background-container\">
  126.       <img
  127.         class=\"proclane-sw-cms-el-hero-basic__background\"
  128.         src=\"{{ backgroundImage.url }}\"
  129.       />
  130.     </div>
  131.   </div>
  132. {% endblock %}
  133. ""@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig""/var/www/html/htdocs/custom/plugins/ProcWegmannTheme/src/Resources/views/storefront/element/cms-element-proclane-hero-basic.html.twig");
  134.     }
  135. }