<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig */
class __TwigTemplate_1fc391efad9ba8dfa2ce8883cc39e49e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig"));
// line 1
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
($context["config"] ?? null), "areabricks_regex", [], "any", true, true, true, 2)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_regex", [], "any", false, false, true, 2), 2, $this->source), "/-element-button\$/")) : ("/-element-button\$/")), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_includeclude", [], "any", true, true, true, 2)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_includeclude", [], "any", false, false, true, 2), 2, $this->source), null)) : (null)), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", true, true, true, 2)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", false, false, true, 2), 2, $this->source), null)) : (null))), "params" => ((twig_get_attribute($this->env, $this->source, // line 3
($context["config"] ?? null), "params", [], "any", true, true, true, 3)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "params", [], "any", false, false, true, 3), 3, $this->source), [])) : ([]))]);
// line 4
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@FoxHabbitBasis/Areas/content/basisbundle-content-buttons/variant-elements.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 4, 47 => 3, 46 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{{pimcore_areablock('c', {
\t\tallowed: foxhabbit_common_tool_areabricks_get_list( config.areabricks_regex|default('/-element-button\$/'), config.areabricks_includeclude|default(null), config.areabricks_exclude|default(null)),
\t\tparams: config.params|default({})}
) }}
", "@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");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("default" => 2);
static $functions = array("pimcore_areablock" => 1, "foxhabbit_common_tool_areabricks_get_list" => 2);
try {
$this->sandbox->checkSecurity(
[],
['default'],
['pimcore_areablock', 'foxhabbit_common_tool_areabricks_get_list']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}