var/cache/dev/twig/c3/c340971ef57b8dd91a242a63ed1ffe6c.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\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. /* @Provider/document/frontpage.html.twig */
  14. class __TwigTemplate_cd0c9b1a65e9698acd1118c0da6f8bee 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 "@Provider/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""@Provider/document/frontpage.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""@Provider/document/frontpage.html.twig"));
  40.         $this->parent $this->loadTemplate("@Provider/layouts/layout.html.twig""@Provider/document/frontpage.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.         echo twig_include($this->env$context"@Provider/includes/contentblocks.html.twig");
  58.         echo "
  59. ";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     public function getTemplateName()
  66.     {
  67.         return "@Provider/document/frontpage.html.twig";
  68.     }
  69.     public function isTraitable()
  70.     {
  71.         return false;
  72.     }
  73.     public function getDebugInfo()
  74.     {
  75.         return array (  70 => 4,  60 => 3,  37 => 1,);
  76.     }
  77.     public function getSourceContext()
  78.     {
  79.         return new Source("{% extends '@Provider/layouts/layout.html.twig' %}
  80. {% block content %}
  81.     {{ include('@Provider/includes/contentblocks.html.twig') }}
  82. {% endblock %}""@Provider/document/frontpage.html.twig""/html/pimcore/vendor/conecto/pimcore-provider/src/ProviderBundle/Resources/views/document/frontpage.html.twig");
  83.     }
  84.     
  85.     public function checkSecurity()
  86.     {
  87.         static $tags = array();
  88.         static $filters = array();
  89.         static $functions = array("include" => 4);
  90.         try {
  91.             $this->sandbox->checkSecurity(
  92.                 [],
  93.                 [],
  94.                 ['include']
  95.             );
  96.         } catch (SecurityError $e) {
  97.             $e->setSourceContext($this->source);
  98.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  99.                 $e->setTemplateLine($tags[$e->getTagName()]);
  100.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  101.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  102.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  103.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  104.             }
  105.             throw $e;
  106.         }
  107.     }
  108. }