var/cache/dev/twig/80/8019c5bbfe34533de4c8ac826668af82.php line 35

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. /* areas/pdf/view.html.twig */
  14. class __TwigTemplate_7ab24b8d8f4c06b6850eae388cec0db7 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/pdf/view.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/pdf/view.html.twig"));
  35.         // line 1
  36.         echo "<section class=\"area-pdf\">
  37.     ";
  38.         // line 2
  39.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"pdf""pdf");
  40.         echo "
  41. </section>
  42. ";
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     /**
  49.      * @codeCoverageIgnore
  50.      */
  51.     public function getTemplateName()
  52.     {
  53.         return "areas/pdf/view.html.twig";
  54.     }
  55.     /**
  56.      * @codeCoverageIgnore
  57.      */
  58.     public function isTraitable()
  59.     {
  60.         return false;
  61.     }
  62.     /**
  63.      * @codeCoverageIgnore
  64.      */
  65.     public function getDebugInfo()
  66.     {
  67.         return array (  48 => 2,  45 => 1,);
  68.     }
  69.     public function getSourceContext()
  70.     {
  71.         return new Source("<section class=\"area-pdf\">
  72.     {{ pimcore_pdf('pdf') }}
  73. </section>
  74. ""areas/pdf/view.html.twig""/var/www/dev-10/templates/areas/pdf/view.html.twig");
  75.     }
  76.     
  77.     public function checkSecurity()
  78.     {
  79.         static $tags = array();
  80.         static $filters = array();
  81.         static $functions = array("pimcore_pdf" => 2);
  82.         try {
  83.             $this->sandbox->checkSecurity(
  84.                 [],
  85.                 [],
  86.                 ['pimcore_pdf']
  87.             );
  88.         } catch (SecurityError $e) {
  89.             $e->setSourceContext($this->source);
  90.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  91.                 $e->setTemplateLine($tags[$e->getTagName()]);
  92.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  93.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  94.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  95.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  96.             }
  97.             throw $e;
  98.         }
  99.     }
  100. }