tZj2YS3N8KyNpvCzb0P6yWr25vCMG2P3u67jb8XSAh4.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Markup;
  6. use Twig\Sandbox\SecurityError;
  7. use Twig\Sandbox\SecurityNotAllowedTagError;
  8. use Twig\Sandbox\SecurityNotAllowedFilterError;
  9. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  10. use Twig\Source;
  11. use Twig\Template;
  12. /* themes/custom/popsu_colloque/template/block/block--popsu-colloque-branding.html.twig */
  13. class __TwigTemplate_6964add5000525c22052d96b79a6f7da7e9d42e7a89d77e645f3d2f88f9a4a49 extends \Twig\Template
  14. {
  15. public function __construct(Environment $env)
  16. {
  17. parent::__construct($env);
  18. $this->parent = false;
  19. $this->blocks = [
  20. 'content' => [$this, 'block_content'],
  21. ];
  22. $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  23. $tags = ["if" => 32, "block" => 36];
  24. $filters = ["escape" => 30];
  25. $functions = [];
  26. try {
  27. $this->sandbox->checkSecurity(
  28. ['if', 'block'],
  29. ['escape'],
  30. []
  31. );
  32. } catch (SecurityError $e) {
  33. $e->setSourceContext($this->getSourceContext());
  34. if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  35. $e->setTemplateLine($tags[$e->getTagName()]);
  36. } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  37. $e->setTemplateLine($filters[$e->getFilterName()]);
  38. } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  39. $e->setTemplateLine($functions[$e->getFunctionName()]);
  40. }
  41. throw $e;
  42. }
  43. }
  44. protected function doDisplay(array $context, array $blocks = [])
  45. {
  46. // line 30
  47. echo "<div";
  48. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
  49. echo " class=\"col-9 col-sm-10 col-xl-auto\">
  50. ";
  51. // line 31
  52. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
  53. echo "
  54. ";
  55. // line 32
  56. if (($context["label"] ?? null)) {
  57. // line 33
  58. echo " <h2";
  59. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
  60. echo ">";
  61. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
  62. echo "</h2>
  63. ";
  64. }
  65. // line 35
  66. echo " ";
  67. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
  68. echo "
  69. ";
  70. // line 36
  71. $this->displayBlock('content', $context, $blocks);
  72. // line 43
  73. echo "</div>
  74. ";
  75. }
  76. // line 36
  77. public function block_content($context, array $blocks = [])
  78. {
  79. // line 37
  80. echo " <div>
  81. <a href=\"/\">
  82. ";
  83. // line 39
  84. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
  85. echo "
  86. </a>
  87. </div>
  88. ";
  89. }
  90. public function getTemplateName()
  91. {
  92. return "themes/custom/popsu_colloque/template/block/block--popsu-colloque-branding.html.twig";
  93. }
  94. public function isTraitable()
  95. {
  96. return false;
  97. }
  98. public function getDebugInfo()
  99. {
  100. return array ( 94 => 39, 90 => 37, 87 => 36, 82 => 43, 80 => 36, 75 => 35, 67 => 33, 65 => 32, 61 => 31, 56 => 30,);
  101. }
  102. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  103. public function getSource()
  104. {
  105. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  106. return $this->getSourceContext()->getCode();
  107. }
  108. public function getSourceContext()
  109. {
  110. 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");
  111. }
  112. }