var/cache/dev/twig/76/766c79bae476b054fc4d254b420fb6a6.php line 73

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. /* content/portal.html.twig */
  14. class __TwigTemplate_2815afe863978c207efa72320942e683 extends 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->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  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""content/portal.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""content/portal.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout.html.twig""content/portal.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         echo "    ";
  57.         // line 5
  58.         echo "    ";
  59.         echo twig_include($this->env$context"includes/hero-carousel.html.twig");
  60.         echo "
  61.     <div id=\"portal\" class=\"portal-page\">
  62.         ";
  63.         // line 7
  64.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""content", ["allowed" => ["hero-teaser""standard-teaser""hero-grid""product-teaser""gallery-carousel""horizontal-line""image""image-hotspot-marker""video""personalized-product-teaser"]]);
  65.         // line 9
  66.         echo "
  67.     </div>
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     /**
  75.      * @codeCoverageIgnore
  76.      */
  77.     public function getTemplateName()
  78.     {
  79.         return "content/portal.html.twig";
  80.     }
  81.     /**
  82.      * @codeCoverageIgnore
  83.      */
  84.     public function isTraitable()
  85.     {
  86.         return false;
  87.     }
  88.     /**
  89.      * @codeCoverageIgnore
  90.      */
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  80 => 9,  78 => 7,  72 => 5,  70 => 4,  60 => 3,  37 => 1,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("{% extends 'layouts/layout.html.twig' %}
  98. {% block content %}
  99.     {#Hero caraousel#}
  100.     {{ include('includes/hero-carousel.html.twig') }}
  101.     <div id=\"portal\" class=\"portal-page\">
  102.         {{ pimcore_areablock('content', {
  103.             'allowed': ['hero-teaser', 'standard-teaser', 'hero-grid', 'product-teaser', 'gallery-carousel', 'horizontal-line', 'image', 'image-hotspot-marker', 'video', 'personalized-product-teaser']
  104.         }) }}
  105.     </div>
  106. {% endblock %}""content/portal.html.twig""/var/www/dev-10/templates/content/portal.html.twig");
  107.     }
  108.     
  109.     public function checkSecurity()
  110.     {
  111.         static $tags = array();
  112.         static $filters = array();
  113.         static $functions = array("include" => 5"pimcore_areablock" => 7);
  114.         try {
  115.             $this->sandbox->checkSecurity(
  116.                 [],
  117.                 [],
  118.                 ['include''pimcore_areablock']
  119.             );
  120.         } catch (SecurityError $e) {
  121.             $e->setSourceContext($this->source);
  122.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  123.                 $e->setTemplateLine($tags[$e->getTagName()]);
  124.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  125.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  126.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  127.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  128.             }
  129.             throw $e;
  130.         }
  131.     }
  132. }