var/cache/dev/twig/ee/ee9d15eaa9bfaebc6c3c4584a0231d6d.php line 45

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/includes/contentblocks.html.twig */
  14. class __TwigTemplate_2237a9cb4f43aacd4b55735f93db6e3b 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""@Provider/includes/contentblocks.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""@Provider/includes/contentblocks.html.twig"));
  35.         // line 1
  36.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""content", ["controlsTrigger" => "fixed""sorting" => $this->extensions['CONECTO\ProviderBundle\Twig\Extension\ConectoExtension']->getAreaBricks(), "allowed" => $this->extensions['CONECTO\ProviderBundle\Twig\Extension\ConectoExtension']->getAreaBricks()]);
  37.         // line 5
  38.         echo "
  39. ";
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     public function getTemplateName()
  46.     {
  47.         return "@Provider/includes/contentblocks.html.twig";
  48.     }
  49.     public function isTraitable()
  50.     {
  51.         return false;
  52.     }
  53.     public function getDebugInfo()
  54.     {
  55.         return array (  47 => 5,  45 => 1,);
  56.     }
  57.     public function getSourceContext()
  58.     {
  59.         return new Source("{{ pimcore_areablock('content', {
  60.     'controlsTrigger': 'fixed',
  61.     'sorting': conecto_get_areabricks(),
  62.     'allowed': conecto_get_areabricks(),
  63. }) }}
  64. {# mit \"conecto_get_areabricks([], ['lorem', 'ipsum'])\" können noch zusätzliche areabricks hinzugefügt werden, die sich nicht in \"src/Document/Areabrick\" befinden #}""@Provider/includes/contentblocks.html.twig""/html/pimcore/vendor/conecto/pimcore-provider/src/ProviderBundle/Resources/views/includes/contentblocks.html.twig");
  65.     }
  66.     
  67.     public function checkSecurity()
  68.     {
  69.         static $tags = array();
  70.         static $filters = array();
  71.         static $functions = array("pimcore_areablock" => 1"conecto_get_areabricks" => 3);
  72.         try {
  73.             $this->sandbox->checkSecurity(
  74.                 [],
  75.                 [],
  76.                 ['pimcore_areablock''conecto_get_areabricks']
  77.             );
  78.         } catch (SecurityError $e) {
  79.             $e->setSourceContext($this->source);
  80.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  81.                 $e->setTemplateLine($tags[$e->getTagName()]);
  82.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  83.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  84.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  85.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  86.             }
  87.             throw $e;
  88.         }
  89.     }
  90. }