var/cache/dev/twig/54/54d57b471d50747efb587c320ae1f5ca.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* areas/homepageHero/view.html.twig */
  16. class __TwigTemplate_c4170e40ae8b51390d13d9ff631a9ebd extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.         $this->sandbox $this->extensions[SandboxExtension::class];
  31.         $this->checkSecurity();
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = []): iterable
  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""areas/homepageHero/view.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""areas/homepageHero/view.html.twig"));
  40.         // line 1
  41.         yield Twig\Extension\CoreExtension::include($this->env$context, [$this->env->getFunction('draft_renderer_normalise')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""draftrenderer"), "getData", [], "method"falsefalsetrue1), 1$this->source)), "/areas/homepageHero/homepageHero.html.twig"], ["attributes" => $this->env->getFunction('draft_brick_attributes')->getCallable()()]);
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.         yield from [];
  47.     }
  48.     /**
  49.      * @codeCoverageIgnore
  50.      */
  51.     public function getTemplateName(): string
  52.     {
  53.         return "areas/homepageHero/view.html.twig";
  54.     }
  55.     /**
  56.      * @codeCoverageIgnore
  57.      */
  58.     public function isTraitable(): bool
  59.     {
  60.         return false;
  61.     }
  62.     /**
  63.      * @codeCoverageIgnore
  64.      */
  65.     public function getDebugInfo(): array
  66.     {
  67.         return array (  50 => 1,);
  68.     }
  69.     public function getSourceContext(): Source
  70.     {
  71.         return new Source("{{- include([draft_renderer_normalise(pimcore_select('draftrenderer').getData()), '/areas/homepageHero/homepageHero.html.twig'], {attributes: draft_brick_attributes()}) -}}""areas/homepageHero/view.html.twig""/var/www/pimcore/templates/areas/homepageHero/view.html.twig");
  72.     }
  73.     
  74.     public function checkSecurity()
  75.     {
  76.         static $tags = [];
  77.         static $filters = [];
  78.         static $functions = ["include" => 1"draft_renderer_normalise" => 1"pimcore_select" => 1"draft_brick_attributes" => 1];
  79.         try {
  80.             $this->sandbox->checkSecurity(
  81.                 [],
  82.                 [],
  83.                 ['include''draft_renderer_normalise''pimcore_select''draft_brick_attributes'],
  84.                 $this->source
  85.             );
  86.         } catch (SecurityError $e) {
  87.             $e->setSourceContext($this->source);
  88.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  89.                 $e->setTemplateLine($tags[$e->getTagName()]);
  90.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  91.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  92.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  93.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  94.             }
  95.             throw $e;
  96.         }
  97.     }
  98. }