parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["set" => 31, "if" => 33, "block" => 48];
$filters = ["escape" => 38];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
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;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 30
echo "
";
// line 31
$context["class"] = $this->getAttribute($this->getAttribute($this->getAttribute([0 => ($context["elements"] ?? null)], 0, [], "array"), "content", []), "#view_id", [], "array");
// line 32
echo "
";
// line 33
if ((((($context["class"] ?? null) == "programme") || (($context["class"] ?? null) == "publications")) || (($context["class"] ?? null) == "bibliographie"))) {
// line 34
echo " ";
$context["addClass"] = "container";
}
// line 36
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["class"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["addClass"] ?? null)), "html", null, true);
echo "\">
";
// line 40
if ((($context["class"] ?? null) == "programme")) {
// line 41
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 42
if (($context["label"] ?? null)) {
// line 43
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
}
// line 46
echo "
";
// line 47
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 48
$this->displayBlock('content', $context, $blocks);
}
public function block_content($context, array $blocks = [])
{
// line 49
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 112 => 49, 106 => 48, 102 => 47, 99 => 46, 90 => 43, 88 => 42, 83 => 41, 81 => 40, 74 => 38, 70 => 36, 66 => 34, 64 => 33, 61 => 32, 59 => 31, 56 => 30,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig", "/var/www/html/web/themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig");
}
}