123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <?php
- use Twig\Environment;
- use Twig\Error\LoaderError;
- use Twig\Error\RuntimeError;
- 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;
- /* themes/custom/popsu_colloque/template/block/block--popsu-colloque-branding.html.twig */
- class __TwigTemplate_6964add5000525c22052d96b79a6f7da7e9d42e7a89d77e645f3d2f88f9a4a49 extends \Twig\Template
- {
- public function __construct(Environment $env)
- {
- parent::__construct($env);
- $this->parent = false;
- $this->blocks = [
- 'content' => [$this, 'block_content'],
- ];
- $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
- $tags = ["if" => 32, "block" => 36];
- $filters = ["escape" => 30];
- $functions = [];
- try {
- $this->sandbox->checkSecurity(
- ['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 "<div";
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
- echo " class=\"col-9 col-sm-10 col-xl-auto\">
- ";
- // line 31
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
- echo "
- ";
- // line 32
- if (($context["label"] ?? null)) {
- // line 33
- echo " <h2";
- echo $this->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 "</h2>
- ";
- }
- // line 35
- echo " ";
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
- echo "
- ";
- // line 36
- $this->displayBlock('content', $context, $blocks);
- // line 43
- echo "</div>
- ";
- }
- // line 36
- public function block_content($context, array $blocks = [])
- {
- // line 37
- echo " <div>
- <a href=\"/\">
- ";
- // line 39
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
- echo "
- </a>
- </div>
- ";
- }
- public function getTemplateName()
- {
- return "themes/custom/popsu_colloque/template/block/block--popsu-colloque-branding.html.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- return array ( 94 => 39, 90 => 37, 87 => 36, 82 => 43, 80 => 36, 75 => 35, 67 => 33, 65 => 32, 61 => 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--popsu-colloque-branding.html.twig", "/var/www/html/web/themes/custom/popsu_colloque/template/block/block--popsu-colloque-branding.html.twig");
- }
- }
|