AQ1b7S2VKBz7RtJhNDaRVZaMgDWQTHF8zJAOLYDAHos.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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/fields/field--field-image-hero.html.twig */
  13. class __TwigTemplate_d69d2a5dcf965324512f8f8822cb35cf1279b449e9c20aa5b4dea54368122832 extends \Twig\Template
  14. {
  15. public function __construct(Environment $env)
  16. {
  17. parent::__construct($env);
  18. $this->parent = false;
  19. $this->blocks = [
  20. ];
  21. $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  22. $tags = ["for" => 41];
  23. $filters = ["escape" => 42];
  24. $functions = [];
  25. try {
  26. $this->sandbox->checkSecurity(
  27. ['for'],
  28. ['escape'],
  29. []
  30. );
  31. } catch (SecurityError $e) {
  32. $e->setSourceContext($this->getSourceContext());
  33. if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  34. $e->setTemplateLine($tags[$e->getTagName()]);
  35. } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  36. $e->setTemplateLine($filters[$e->getFilterName()]);
  37. } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  38. $e->setTemplateLine($functions[$e->getFunctionName()]);
  39. }
  40. throw $e;
  41. }
  42. }
  43. protected function doDisplay(array $context, array $blocks = [])
  44. {
  45. // line 41
  46. $context['_parent'] = $context;
  47. $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
  48. foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  49. // line 42
  50. echo " ";
  51. echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
  52. echo "
  53. ";
  54. }
  55. $_parent = $context['_parent'];
  56. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  57. $context = array_intersect_key($context, $_parent) + $_parent;
  58. }
  59. public function getTemplateName()
  60. {
  61. return "themes/custom/popsu_colloque/template/fields/field--field-image-hero.html.twig";
  62. }
  63. public function isTraitable()
  64. {
  65. return false;
  66. }
  67. public function getDebugInfo()
  68. {
  69. return array ( 59 => 42, 55 => 41,);
  70. }
  71. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  72. public function getSource()
  73. {
  74. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  75. return $this->getSourceContext()->getCode();
  76. }
  77. public function getSourceContext()
  78. {
  79. return new Source("", "themes/custom/popsu_colloque/template/fields/field--field-image-hero.html.twig", "/var/www/html/web/themes/custom/popsu_colloque/template/fields/field--field-image-hero.html.twig");
  80. }
  81. }