var/cache/dev/twig/8c/8c0f40143befaeccc3f68d40bf5afa87.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. /* @FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig */
  14. class __TwigTemplate_1fc391efad9ba8dfa2ce8883cc39e49e 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""@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.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""@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig"));
  35.         // line 1
  36.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""c", ["allowed" => $this->extensions['FoxHabbit\BasisBundle\Twig\Extension\ToolExtension']->toolAreabricksGetList(((twig_get_attribute($this->env$this->source,         // line 2
  37. ($context["config"] ?? null), "areabricks_regex", [], "any"truetruetrue2)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_regex", [], "any"falsefalsetrue2), 2$this->source), "/-element-button\$/")) : ("/-element-button\$/")), ((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_includeclude", [], "any"truetruetrue2)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_includeclude", [], "any"falsefalsetrue2), 2$this->source), null)) : (null)), ((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any"truetruetrue2)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any"falsefalsetrue2), 2$this->source), null)) : (null))), "params" => ((twig_get_attribute($this->env$this->source,         // line 3
  38. ($context["config"] ?? null), "params", [], "any"truetruetrue3)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "params", [], "any"falsefalsetrue3), 3$this->source), [])) : ([]))]);
  39.         // line 4
  40.         echo "
  41. ";
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     public function getTemplateName()
  48.     {
  49.         return "@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig";
  50.     }
  51.     public function isTraitable()
  52.     {
  53.         return false;
  54.     }
  55.     public function getDebugInfo()
  56.     {
  57.         return array (  49 => 4,  47 => 3,  46 => 2,  45 => 1,);
  58.     }
  59.     public function getSourceContext()
  60.     {
  61.         return new Source("{{pimcore_areablock('c', {
  62. \t\tallowed: foxhabbit_common_tool_areabricks_get_list( config.areabricks_regex|default('/-element-button\$/'), config.areabricks_includeclude|default(null), config.areabricks_exclude|default(null)),
  63. \t\tparams: config.params|default({})}
  64. ) }}
  65. ""@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig""/srv/httpd/vhosts/lorch-test/releases/51/bundles/FoxHabbit/BasisBundle/Resources/views/Areas/content/basisbundle-content-buttons/variant-elements.html.twig");
  66.     }
  67.     
  68.     public function checkSecurity()
  69.     {
  70.         static $tags = array();
  71.         static $filters = array("default" => 2);
  72.         static $functions = array("pimcore_areablock" => 1"foxhabbit_common_tool_areabricks_get_list" => 2);
  73.         try {
  74.             $this->sandbox->checkSecurity(
  75.                 [],
  76.                 ['default'],
  77.                 ['pimcore_areablock''foxhabbit_common_tool_areabricks_get_list']
  78.             );
  79.         } catch (SecurityError $e) {
  80.             $e->setSourceContext($this->source);
  81.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  82.                 $e->setTemplateLine($tags[$e->getTagName()]);
  83.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  84.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  85.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  86.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  87.             }
  88.             throw $e;
  89.         }
  90.     }
  91. }