zDeByQ22lx9TzQME4T5rJUbVEl7j0uF6PEwLB5s4Q3M.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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--mainnavigation.html.twig */
  13. class __TwigTemplate_9c523292dcbe2fa5e8678c180bb8ad681c1e8e1a9d50c5ed3649fd7806449ef0 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 = ["block" => 31];
  24. $filters = ["escape" => 30];
  25. $functions = [];
  26. try {
  27. $this->sandbox->checkSecurity(
  28. ['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-3 col-sm-2 col-xl\">
  50. ";
  51. // line 31
  52. $this->displayBlock('content', $context, $blocks);
  53. // line 36
  54. echo " <button class=\"hamburger hamburger--collapse burger\" type=\"button\">
  55. <span class=\"hamburger-box\">
  56. <span class=\"hamburger-inner\"></span>
  57. </span>
  58. </button>
  59. </div>
  60. ";
  61. }
  62. // line 31
  63. public function block_content($context, array $blocks = [])
  64. {
  65. // line 32
  66. echo " <div class=\"nav-main\">
  67. ";
  68. // line 33
  69. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
  70. echo "
  71. </div>
  72. ";
  73. }
  74. public function getTemplateName()
  75. {
  76. return "themes/custom/popsu_colloque/template/block/block--mainnavigation.html.twig";
  77. }
  78. public function isTraitable()
  79. {
  80. return false;
  81. }
  82. public function getDebugInfo()
  83. {
  84. return array ( 79 => 33, 76 => 32, 73 => 31, 63 => 36, 61 => 31, 56 => 30,);
  85. }
  86. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  87. public function getSource()
  88. {
  89. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  90. return $this->getSourceContext()->getCode();
  91. }
  92. public function getSourceContext()
  93. {
  94. return new Source("", "themes/custom/popsu_colloque/template/block/block--mainnavigation.html.twig", "/var/www/html/web/themes/custom/popsu_colloque/template/block/block--mainnavigation.html.twig");
  95. }
  96. }