Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/662225f691dab___string_template__d3e79b_Fz9N0v1xtguvGZpsZg-asFB5H', 511) (Line: 95) Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/662225f691dab___string_template__d3e79b_Fz9N0v1xtguvGZpsZg-asFB5H') (Line: 86) Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab___string_template__d3e79b_Fz9N0v1xtguvGZpsZg-asFB5H', '<?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; /* __string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4 */ class __TwigTemplate_cb385a603692d67bc6e6d755fff26fe53566639cf414dc5b9f0471e7533de42f extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = []; $filters = ["nl2br" => 1, "escape" => 1]; $functions = []; try { $this->sandbox->checkSecurity( [], ['nl2br', '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 1 echo nl2br($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true)); } public function getTemplateName() { return "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 1,); } /** @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("", "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4", ""); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab___string_template__d3e79b_Fz9N0v1xtguvGZpsZg-asFB5H', '<?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; /* __string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4 */ class __TwigTemplate_cb385a603692d67bc6e6d755fff26fe53566639cf414dc5b9f0471e7533de42f extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = []; $filters = ["nl2br" => 1, "escape" => 1]; $functions = []; try { $this->sandbox->checkSecurity( [], ['nl2br', '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 1 echo nl2br($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true)); } public function getTemplateName() { return "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 1,); } /** @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("", "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4", ""); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_cb385a603692d67bc6e6d755fff26fe53566639cf414dc5b9f0471e7533de42f', '__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4', NULL) (Line: 445) Twig\Environment->loadTemplate('__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4') (Line: 542) Twig\Environment->createTemplate('{# inline_template_start #}{{ value|nl2br }}') (Line: 173) Drupal\Core\Template\TwigEnvironment->renderInline('{# inline_template_start #}{{ value|nl2br }}', Array) (Line: 52) Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 104) __TwigTemplate_bb360a017ec2784e9454cd94d427c28fe1211700b62a16f06add53315289333b->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/themes/classy/templates/field/field.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 81) Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab___string_template__d3e79b_Fz9N0v1xtguvGZpsZg-asFB5H', '<?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; /* __string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4 */ class __TwigTemplate_cb385a603692d67bc6e6d755fff26fe53566639cf414dc5b9f0471e7533de42f extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = []; $filters = ["nl2br" => 1, "escape" => 1]; $functions = []; try { $this->sandbox->checkSecurity( [], ['nl2br', '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 1 echo nl2br($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true)); } public function getTemplateName() { return "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 1,); } /** @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("", "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4", ""); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab___string_template__d3e79b_Fz9N0v1xtguvGZpsZg-asFB5H', '<?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; /* __string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4 */ class __TwigTemplate_cb385a603692d67bc6e6d755fff26fe53566639cf414dc5b9f0471e7533de42f extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = []; $filters = ["nl2br" => 1, "escape" => 1]; $functions = []; try { $this->sandbox->checkSecurity( [], ['nl2br', '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 1 echo nl2br($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true)); } public function getTemplateName() { return "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 1,); } /** @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("", "__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4", ""); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_cb385a603692d67bc6e6d755fff26fe53566639cf414dc5b9f0471e7533de42f', '__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4', NULL) (Line: 445) Twig\Environment->loadTemplate('__string_template__d3e79bd6029fd1ab1d50dd676e1f6555a2880e7bdc0733b6b806b540b4a45fd4') (Line: 542) Twig\Environment->createTemplate('{# inline_template_start #}{{ value|nl2br }}') (Line: 173) Drupal\Core\Template\TwigEnvironment->renderInline('{# inline_template_start #}{{ value|nl2br }}', Array) (Line: 52) Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 104) __TwigTemplate_bb360a017ec2784e9454cd94d427c28fe1211700b62a16f06add53315289333b->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/themes/classy/templates/field/field.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 81) Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array) call_user_func_array(Array, Array) (Line: 100) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/662225f691dab_article-entity--article--_Hej6xRDQfoDA3HKJJ0O-0puEK', 511) (Line: 95) Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/662225f691dab_article-entity--article--_Hej6xRDQfoDA3HKJJ0O-0puEK') (Line: 86) Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_article-entity--article--_Hej6xRDQfoDA3HKJJ0O-0puEK', '<?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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig */ class __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 1, "if" => 17, "for" => 181]; $filters = ["escape" => 49, "trim" => 115, "striptags" => 118, "join" => 120, "raw" => 164, "replace" => 164, "date" => 197]; $functions = ["url" => 5, "drupal_block" => 95, "path" => 183, "drupal_entity" => 286]; try { $this->sandbox->checkSecurity( ['set', 'if', 'for'], ['escape', 'trim', 'striptags', 'join', 'raw', 'replace', 'date'], ['url', 'drupal_block', 'path', 'drupal_entity'] ); } 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 1 $context["origin_melody"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_article_origin"], "method"), "value", []); // line 2 $context["source"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_source"], "method"), "value", []); // line 3 $context["geographie"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_geography"], "method"), "value", []); // line 4 $context["changed"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "changed"], "method"), "value", []); // line 5 $context["current_url"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""); // line 6 $context["id"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "id"], "method"), "value", []); // line 7 $context["body"] = ["#type" => "processed_text", "#text" => // line 9 ($context["article_body"] ?? null), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 10 ($context["content"] ?? null), "field_body", []), 0, []), "#format", [], "array")]; // line 12 $context["teaser"] = ["#type" => "processed_text", "#text" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 14 ($context["content"] ?? null), "field_teaser", []), 0, []), "#text", [], "array"), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 15 ($context["content"] ?? null), "field_teaser", []), 0, []), "#format", [], "array")]; // line 17 if (( !($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "free"))) { // line 18 echo " poool(\"send\", \"page-view\", \"free\"); "; } elseif (( ! // line 21 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "premium"))) { // line 22 echo " poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 31 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "reserved"))) { // line 32 echo " poool(\"config\", \"force_widget\", \"restriction\"); poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 42 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "paying"))) { // line 43 echo " poool(\"send\", \"page-view\", \"premium\"); "; } // line 47 echo " window.onload = function () { var nombreCaractere = "; // line 49 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["nb_body"] ?? null)), "html", null, true); echo "; if (window.matchMedia(\"(min-width: 480px)\").matches) { nbr_restant = nombreCaractere - 240; } else { nbr_restant = nombreCaractere - 160; } \$('#nbr_restant') .prepend('Cet article de ' + nbr_restant + ' caractères est réservé aux abonnés ou '); \$('#nbr_restant a').text('disponible à l’achat à l’acte.'); }; poool('event', 'onRelease', function (event) { \$('#article-content').css({ 'height': 'initial', }); \$('#bloc_nbr_restant').css({ 'display': 'none', }); }); "; // line 71 if ( !twig_test_empty($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array"))) { // line 72 echo " "; // line 74 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; } // line 77 echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo "\" type=\"hidden\"> "; // line 85 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 87 if ((($context["origin_melody"] ?? null) == 1)) { // line 88 echo " "; } // line 93 echo " "; // line 95 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 99 if ((($context["exist_file"] ?? null) == true)) { // line 100 echo " "; $context["image"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => // line 103 ($context["uri"] ?? null)]; // line 106 echo " "; // line 107 $context["convert"] = ["#theme" => "image_style", "#style_name" => "convert_webp", "#uri" => // line 110 ($context["destination_new"] ?? null)]; // line 113 echo " "; // line 114 if ( !twig_test_empty(($context["copyright"] ?? null))) { // line 115 echo " "; $context["copy"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["copyright"] ?? null))); // line 116 echo " "; } // line 117 echo " "; if ( !twig_test_empty(($context["legend"] ?? null))) { // line 118 echo " "; $context["legend"] = twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null)))); // line 119 echo " "; if ( !twig_test_empty(($context["copy"] ?? null))) { // line 120 echo " "; $context["text"] = twig_join_filter([0 => ($context["legend"] ?? null), 1 => ($context["copy"] ?? null)], " - Photo "); // line 121 echo " "; } else { // line 122 echo " "; $context["text"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null))); // line 123 echo " "; } // line 124 echo " "; } else { // line 125 echo " "; $context["text"] = ($context["copy"] ?? null); // line 126 echo " "; } // line 127 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_vignette"] ?? null)), "html", null, true); echo "\" title=\""; // line 128 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo "\" data-fancybox=\"gallery\"> "; // line 130 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["convert"] ?? null)), "html", null, true); echo " </a> "; // line 132 if ( !twig_test_empty(($context["text"] ?? null))) { // line 133 echo " "; // line 134 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo " "; } // line 137 echo " "; } else { // line 138 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => "public://LH.png"]; // line 143 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 145 echo " "; // line 147 if ((($context["origin_melody"] ?? null) == 1)) { // line 148 echo " "; } // line 153 echo " "; // line 154 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 158 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["teaser"] ?? null)), "html", null, true); echo " "; // line 160 if (($context["logged_in"] ?? null)) { // line 161 echo " "; if (((( !($context["is_abonne"] ?? null) && ($context["article_paid"] ?? null)) && (($context["court_article"] ?? null) > 1500)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 162 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" title=\"\" class=\"btn btn--red use-ajax popup--buy-article\">J’achète l’article "; // line 166 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 169 echo " "; } else { // line 170 echo " "; if (((((($context["court_article"] ?? null) > 1500) && (($context["poool_content_type"] ?? null) != "free")) && (($context["price"] ?? null) != 0)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 171 echo " <a>J’achète l’article "; // line 173 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 177 echo " "; } // line 178 echo " "; // line 179 if ( !twig_test_empty(($context["redacteurs"] ?? null))) { // line 180 echo " Par "; // line 181 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["redacteurs"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["redacteur"]) { // line 182 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.people_entity.canonical", ["people_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["entity_id"] ?? null), $context["key"], [], "array"))))]), "html", null, true); echo "\" title=\"\" class=\"article-news__link\"> "; // line 185 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_first_name", []), 0, []), "value", [])), "html", null, true); echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_last_name", []), 0, []), "value", [])), "html", null, true); echo "</a>, "; // line 186 if ( !twig_test_empty(($context["geographie"] ?? null))) { // line 187 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["geographie"] ?? null)), "html", null, true); echo " "; } // line 189 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['redacteur'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 191 echo " "; } // line 192 echo " "; if ( !twig_test_empty(($context["source"] ?? null))) { // line 193 echo " avec "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["source"] ?? null)), "html", null, true); echo " "; } // line 195 echo " Créé le "; // line 196 if (($context["created"] ?? null)) { // line 197 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; // line 198 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 200 echo " "; if ((($context["created"] ?? null) && (($context["changed"] ?? null) > (twig_date_format_filter($this->env, ($context["created"] ?? null), "U") + 9600)))) { // line 201 echo " , Mis à jour le "; // line 202 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 204 echo " "; // line 210 echo " "; // line 213 echo " "premium", 1 => "reserved", 2 => "paying"])) { echo " paywall "; } else { echo " no-paywall "; } echo "\" > "; // line 219 if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 220 echo " "; } // line 223 echo " "; if (($context["article_text"] ?? null)) { // line 224 echo " "; // line 225 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["article_text"] ?? null))); echo " Lire la suite ("; // line 228 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["characters"] ?? null)), "html", null, true); echo " caractères) "; } else { // line 231 echo " "; // line 232 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["body"] ?? null)), "html", null, true); echo " "; } // line 235 echo " "; if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 236 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" class=\"use-ajax\""; } } else { echo " href=\"\" data-modal-open=\"connexion\" class=\"open-popup article_paying\""; } echo " ></a> "; } // line 245 echo " "; // line 250 if (($context["created"] ?? null)) { // line 251 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m"), "html", null, true); echo " "; // line 252 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "Y"), "html", null, true); echo " "; } // line 254 echo " "; // line 256 if ($this->getAttribute(($context["content"] ?? null), "field_tags", [], "any", true, true)) { // line 257 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_tags", [])), "html", null, true); echo " "; } // line 259 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_documents", [], "any", true, true)) { // line 260 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_documents", [])), "html", null, true); echo " "; } // line 262 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [], "any", true, true)) { // line 263 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [])), "html", null, true); echo " "; } // line 265 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_book_cited", [], "any", true, true)) { // line 266 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_book_cited", [])), "html", null, true); echo " "; } // line 268 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_author_cited", [], "any", true, true)) { // line 269 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_author_cited", [])), "html", null, true); echo " "; } // line 271 echo " "; if ( !twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array"))) { // line 272 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", [])), "html", null, true); echo " "; } elseif (( !twig_test_empty($this->getAttribute($this->getAttribute( // line 273 ($context["content"] ?? null), "field_related_articles_automatic", []), "#items", [], "array")) && twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array")))) { // line 274 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_automatic", [])), "html", null, true); echo " "; } // line 276 echo " "; // line 279 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 286 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("block_content", 1), "html", null, true); echo " "; // line 288 if (((($context["court_article"] ?? null) > 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 289 echo " Sur le même thème "; // line 292 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 293 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 297 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 298 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 301 $context["same_topic"], "uri", [])]; // line 303 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 305 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 310 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 312 echo " </a> "; // line 314 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 315 echo " "; // line 316 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 318 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 322 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 328 echo " "; } // line 331 echo " "; // line 334 if (((($context["court_article"] ?? null) < 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 335 echo " Sur le même thème "; // line 339 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 340 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 345 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 346 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 349 $context["same_topic"], "uri", [])]; // line 351 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 353 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 358 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 360 echo " </a> "; // line 362 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 363 echo " "; // line 364 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 366 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 370 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 377 echo " "; } // line 381 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 818 => 381, 812 => 377, 799 => 370, 795 => 369, 790 => 366, 785 => 364, 782 => 363, 780 => 362, 776 => 360, 770 => 358, 767 => 353, 761 => 351, 759 => 349, 757 => 346, 755 => 345, 751 => 344, 745 => 340, 741 => 339, 735 => 335, 733 => 334, 728 => 331, 723 => 328, 711 => 322, 707 => 321, 702 => 318, 697 => 316, 694 => 315, 692 => 314, 688 => 312, 682 => 310, 679 => 305, 673 => 303, 671 => 301, 669 => 298, 667 => 297, 663 => 296, 658 => 293, 654 => 292, 649 => 289, 647 => 288, 642 => 286, 632 => 279, 627 => 276, 621 => 274, 619 => 273, 614 => 272, 611 => 271, 605 => 269, 602 => 268, 596 => 266, 593 => 265, 587 => 263, 584 => 262, 578 => 260, 575 => 259, 569 => 257, 567 => 256, 563 => 254, 558 => 252, 553 => 251, 551 => 250, 544 => 245, 519 => 240, 513 => 236, 510 => 235, 504 => 232, 501 => 231, 495 => 228, 489 => 225, 486 => 224, 483 => 223, 478 => 220, 476 => 219, 468 => 218, 461 => 213, 459 => 210, 452 => 204, 445 => 202, 442 => 201, 439 => 200, 434 => 198, 429 => 197, 427 => 196, 424 => 195, 418 => 193, 415 => 192, 412 => 191, 405 => 189, 399 => 187, 397 => 186, 391 => 185, 386 => 183, 383 => 182, 379 => 181, 376 => 180, 374 => 179, 371 => 178, 368 => 177, 361 => 173, 357 => 171, 354 => 170, 351 => 169, 345 => 166, 334 => 164, 330 => 162, 327 => 161, 325 => 160, 320 => 158, 313 => 154, 310 => 153, 303 => 148, 301 => 147, 297 => 145, 291 => 143, 288 => 138, 285 => 137, 279 => 134, 276 => 133, 274 => 132, 269 => 130, 264 => 128, 259 => 127, 256 => 126, 253 => 125, 250 => 124, 247 => 123, 244 => 122, 241 => 121, 238 => 120, 235 => 119, 232 => 118, 229 => 117, 226 => 116, 223 => 115, 221 => 114, 218 => 113, 216 => 110, 215 => 107, 212 => 106, 210 => 103, 208 => 100, 206 => 99, 199 => 95, 195 => 93, 188 => 88, 186 => 87, 181 => 85, 173 => 82, 166 => 78, 163 => 77, 157 => 74, 151 => 73, 148 => 72, 146 => 71, 121 => 49, 117 => 47, 111 => 43, 109 => 42, 97 => 32, 95 => 31, 84 => 22, 82 => 21, 77 => 18, 75 => 17, 73 => 15, 72 => 14, 71 => 12, 69 => 10, 68 => 9, 67 => 7, 65 => 6, 63 => 5, 61 => 4, 59 => 3, 57 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_article-entity--article--_Hej6xRDQfoDA3HKJJ0O-0puEK', '<?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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig */ class __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 1, "if" => 17, "for" => 181]; $filters = ["escape" => 49, "trim" => 115, "striptags" => 118, "join" => 120, "raw" => 164, "replace" => 164, "date" => 197]; $functions = ["url" => 5, "drupal_block" => 95, "path" => 183, "drupal_entity" => 286]; try { $this->sandbox->checkSecurity( ['set', 'if', 'for'], ['escape', 'trim', 'striptags', 'join', 'raw', 'replace', 'date'], ['url', 'drupal_block', 'path', 'drupal_entity'] ); } 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 1 $context["origin_melody"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_article_origin"], "method"), "value", []); // line 2 $context["source"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_source"], "method"), "value", []); // line 3 $context["geographie"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_geography"], "method"), "value", []); // line 4 $context["changed"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "changed"], "method"), "value", []); // line 5 $context["current_url"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""); // line 6 $context["id"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "id"], "method"), "value", []); // line 7 $context["body"] = ["#type" => "processed_text", "#text" => // line 9 ($context["article_body"] ?? null), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 10 ($context["content"] ?? null), "field_body", []), 0, []), "#format", [], "array")]; // line 12 $context["teaser"] = ["#type" => "processed_text", "#text" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 14 ($context["content"] ?? null), "field_teaser", []), 0, []), "#text", [], "array"), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 15 ($context["content"] ?? null), "field_teaser", []), 0, []), "#format", [], "array")]; // line 17 if (( !($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "free"))) { // line 18 echo " poool(\"send\", \"page-view\", \"free\"); "; } elseif (( ! // line 21 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "premium"))) { // line 22 echo " poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 31 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "reserved"))) { // line 32 echo " poool(\"config\", \"force_widget\", \"restriction\"); poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 42 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "paying"))) { // line 43 echo " poool(\"send\", \"page-view\", \"premium\"); "; } // line 47 echo " window.onload = function () { var nombreCaractere = "; // line 49 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["nb_body"] ?? null)), "html", null, true); echo "; if (window.matchMedia(\"(min-width: 480px)\").matches) { nbr_restant = nombreCaractere - 240; } else { nbr_restant = nombreCaractere - 160; } \$('#nbr_restant') .prepend('Cet article de ' + nbr_restant + ' caractères est réservé aux abonnés ou '); \$('#nbr_restant a').text('disponible à l’achat à l’acte.'); }; poool('event', 'onRelease', function (event) { \$('#article-content').css({ 'height': 'initial', }); \$('#bloc_nbr_restant').css({ 'display': 'none', }); }); "; // line 71 if ( !twig_test_empty($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array"))) { // line 72 echo " "; // line 74 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; } // line 77 echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo "\" type=\"hidden\"> "; // line 85 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 87 if ((($context["origin_melody"] ?? null) == 1)) { // line 88 echo " "; } // line 93 echo " "; // line 95 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 99 if ((($context["exist_file"] ?? null) == true)) { // line 100 echo " "; $context["image"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => // line 103 ($context["uri"] ?? null)]; // line 106 echo " "; // line 107 $context["convert"] = ["#theme" => "image_style", "#style_name" => "convert_webp", "#uri" => // line 110 ($context["destination_new"] ?? null)]; // line 113 echo " "; // line 114 if ( !twig_test_empty(($context["copyright"] ?? null))) { // line 115 echo " "; $context["copy"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["copyright"] ?? null))); // line 116 echo " "; } // line 117 echo " "; if ( !twig_test_empty(($context["legend"] ?? null))) { // line 118 echo " "; $context["legend"] = twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null)))); // line 119 echo " "; if ( !twig_test_empty(($context["copy"] ?? null))) { // line 120 echo " "; $context["text"] = twig_join_filter([0 => ($context["legend"] ?? null), 1 => ($context["copy"] ?? null)], " - Photo "); // line 121 echo " "; } else { // line 122 echo " "; $context["text"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null))); // line 123 echo " "; } // line 124 echo " "; } else { // line 125 echo " "; $context["text"] = ($context["copy"] ?? null); // line 126 echo " "; } // line 127 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_vignette"] ?? null)), "html", null, true); echo "\" title=\""; // line 128 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo "\" data-fancybox=\"gallery\"> "; // line 130 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["convert"] ?? null)), "html", null, true); echo " </a> "; // line 132 if ( !twig_test_empty(($context["text"] ?? null))) { // line 133 echo " "; // line 134 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo " "; } // line 137 echo " "; } else { // line 138 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => "public://LH.png"]; // line 143 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 145 echo " "; // line 147 if ((($context["origin_melody"] ?? null) == 1)) { // line 148 echo " "; } // line 153 echo " "; // line 154 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 158 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["teaser"] ?? null)), "html", null, true); echo " "; // line 160 if (($context["logged_in"] ?? null)) { // line 161 echo " "; if (((( !($context["is_abonne"] ?? null) && ($context["article_paid"] ?? null)) && (($context["court_article"] ?? null) > 1500)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 162 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" title=\"\" class=\"btn btn--red use-ajax popup--buy-article\">J’achète l’article "; // line 166 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 169 echo " "; } else { // line 170 echo " "; if (((((($context["court_article"] ?? null) > 1500) && (($context["poool_content_type"] ?? null) != "free")) && (($context["price"] ?? null) != 0)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 171 echo " <a>J’achète l’article "; // line 173 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 177 echo " "; } // line 178 echo " "; // line 179 if ( !twig_test_empty(($context["redacteurs"] ?? null))) { // line 180 echo " Par "; // line 181 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["redacteurs"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["redacteur"]) { // line 182 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.people_entity.canonical", ["people_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["entity_id"] ?? null), $context["key"], [], "array"))))]), "html", null, true); echo "\" title=\"\" class=\"article-news__link\"> "; // line 185 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_first_name", []), 0, []), "value", [])), "html", null, true); echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_last_name", []), 0, []), "value", [])), "html", null, true); echo "</a>, "; // line 186 if ( !twig_test_empty(($context["geographie"] ?? null))) { // line 187 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["geographie"] ?? null)), "html", null, true); echo " "; } // line 189 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['redacteur'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 191 echo " "; } // line 192 echo " "; if ( !twig_test_empty(($context["source"] ?? null))) { // line 193 echo " avec "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["source"] ?? null)), "html", null, true); echo " "; } // line 195 echo " Créé le "; // line 196 if (($context["created"] ?? null)) { // line 197 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; // line 198 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 200 echo " "; if ((($context["created"] ?? null) && (($context["changed"] ?? null) > (twig_date_format_filter($this->env, ($context["created"] ?? null), "U") + 9600)))) { // line 201 echo " , Mis à jour le "; // line 202 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 204 echo " "; // line 210 echo " "; // line 213 echo " "premium", 1 => "reserved", 2 => "paying"])) { echo " paywall "; } else { echo " no-paywall "; } echo "\" > "; // line 219 if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 220 echo " "; } // line 223 echo " "; if (($context["article_text"] ?? null)) { // line 224 echo " "; // line 225 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["article_text"] ?? null))); echo " Lire la suite ("; // line 228 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["characters"] ?? null)), "html", null, true); echo " caractères) "; } else { // line 231 echo " "; // line 232 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["body"] ?? null)), "html", null, true); echo " "; } // line 235 echo " "; if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 236 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" class=\"use-ajax\""; } } else { echo " href=\"\" data-modal-open=\"connexion\" class=\"open-popup article_paying\""; } echo " ></a> "; } // line 245 echo " "; // line 250 if (($context["created"] ?? null)) { // line 251 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m"), "html", null, true); echo " "; // line 252 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "Y"), "html", null, true); echo " "; } // line 254 echo " "; // line 256 if ($this->getAttribute(($context["content"] ?? null), "field_tags", [], "any", true, true)) { // line 257 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_tags", [])), "html", null, true); echo " "; } // line 259 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_documents", [], "any", true, true)) { // line 260 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_documents", [])), "html", null, true); echo " "; } // line 262 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [], "any", true, true)) { // line 263 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [])), "html", null, true); echo " "; } // line 265 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_book_cited", [], "any", true, true)) { // line 266 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_book_cited", [])), "html", null, true); echo " "; } // line 268 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_author_cited", [], "any", true, true)) { // line 269 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_author_cited", [])), "html", null, true); echo " "; } // line 271 echo " "; if ( !twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array"))) { // line 272 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", [])), "html", null, true); echo " "; } elseif (( !twig_test_empty($this->getAttribute($this->getAttribute( // line 273 ($context["content"] ?? null), "field_related_articles_automatic", []), "#items", [], "array")) && twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array")))) { // line 274 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_automatic", [])), "html", null, true); echo " "; } // line 276 echo " "; // line 279 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 286 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("block_content", 1), "html", null, true); echo " "; // line 288 if (((($context["court_article"] ?? null) > 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 289 echo " Sur le même thème "; // line 292 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 293 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 297 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 298 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 301 $context["same_topic"], "uri", [])]; // line 303 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 305 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 310 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 312 echo " </a> "; // line 314 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 315 echo " "; // line 316 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 318 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 322 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 328 echo " "; } // line 331 echo " "; // line 334 if (((($context["court_article"] ?? null) < 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 335 echo " Sur le même thème "; // line 339 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 340 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 345 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 346 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 349 $context["same_topic"], "uri", [])]; // line 351 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 353 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 358 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 360 echo " </a> "; // line 362 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 363 echo " "; // line 364 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 366 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 370 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 377 echo " "; } // line 381 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 818 => 381, 812 => 377, 799 => 370, 795 => 369, 790 => 366, 785 => 364, 782 => 363, 780 => 362, 776 => 360, 770 => 358, 767 => 353, 761 => 351, 759 => 349, 757 => 346, 755 => 345, 751 => 344, 745 => 340, 741 => 339, 735 => 335, 733 => 334, 728 => 331, 723 => 328, 711 => 322, 707 => 321, 702 => 318, 697 => 316, 694 => 315, 692 => 314, 688 => 312, 682 => 310, 679 => 305, 673 => 303, 671 => 301, 669 => 298, 667 => 297, 663 => 296, 658 => 293, 654 => 292, 649 => 289, 647 => 288, 642 => 286, 632 => 279, 627 => 276, 621 => 274, 619 => 273, 614 => 272, 611 => 271, 605 => 269, 602 => 268, 596 => 266, 593 => 265, 587 => 263, 584 => 262, 578 => 260, 575 => 259, 569 => 257, 567 => 256, 563 => 254, 558 => 252, 553 => 251, 551 => 250, 544 => 245, 519 => 240, 513 => 236, 510 => 235, 504 => 232, 501 => 231, 495 => 228, 489 => 225, 486 => 224, 483 => 223, 478 => 220, 476 => 219, 468 => 218, 461 => 213, 459 => 210, 452 => 204, 445 => 202, 442 => 201, 439 => 200, 434 => 198, 429 => 197, 427 => 196, 424 => 195, 418 => 193, 415 => 192, 412 => 191, 405 => 189, 399 => 187, 397 => 186, 391 => 185, 386 => 183, 383 => 182, 379 => 181, 376 => 180, 374 => 179, 371 => 178, 368 => 177, 361 => 173, 357 => 171, 354 => 170, 351 => 169, 345 => 166, 334 => 164, 330 => 162, 327 => 161, 325 => 160, 320 => 158, 313 => 154, 310 => 153, 303 => 148, 301 => 147, 297 => 145, 291 => 143, 288 => 138, 285 => 137, 279 => 134, 276 => 133, 274 => 132, 269 => 130, 264 => 128, 259 => 127, 256 => 126, 253 => 125, 250 => 124, 247 => 123, 244 => 122, 241 => 121, 238 => 120, 235 => 119, 232 => 118, 229 => 117, 226 => 116, 223 => 115, 221 => 114, 218 => 113, 216 => 110, 215 => 107, 212 => 106, 210 => 103, 208 => 100, 206 => 99, 199 => 95, 195 => 93, 188 => 88, 186 => 87, 181 => 85, 173 => 82, 166 => 78, 163 => 77, 157 => 74, 151 => 73, 148 => 72, 146 => 71, 121 => 49, 117 => 47, 111 => 43, 109 => 42, 97 => 32, 95 => 31, 84 => 22, 82 => 21, 77 => 18, 75 => 17, 73 => 15, 72 => 14, 71 => 12, 69 => 10, 68 => 9, 67 => 7, 65 => 6, 63 => 5, 61 => 4, 59 => 3, 57 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08', 'themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig') (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_article-entity--article--_Hej6xRDQfoDA3HKJJ0O-0puEK', '<?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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig */ class __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 1, "if" => 17, "for" => 181]; $filters = ["escape" => 49, "trim" => 115, "striptags" => 118, "join" => 120, "raw" => 164, "replace" => 164, "date" => 197]; $functions = ["url" => 5, "drupal_block" => 95, "path" => 183, "drupal_entity" => 286]; try { $this->sandbox->checkSecurity( ['set', 'if', 'for'], ['escape', 'trim', 'striptags', 'join', 'raw', 'replace', 'date'], ['url', 'drupal_block', 'path', 'drupal_entity'] ); } 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 1 $context["origin_melody"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_article_origin"], "method"), "value", []); // line 2 $context["source"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_source"], "method"), "value", []); // line 3 $context["geographie"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_geography"], "method"), "value", []); // line 4 $context["changed"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "changed"], "method"), "value", []); // line 5 $context["current_url"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""); // line 6 $context["id"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "id"], "method"), "value", []); // line 7 $context["body"] = ["#type" => "processed_text", "#text" => // line 9 ($context["article_body"] ?? null), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 10 ($context["content"] ?? null), "field_body", []), 0, []), "#format", [], "array")]; // line 12 $context["teaser"] = ["#type" => "processed_text", "#text" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 14 ($context["content"] ?? null), "field_teaser", []), 0, []), "#text", [], "array"), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 15 ($context["content"] ?? null), "field_teaser", []), 0, []), "#format", [], "array")]; // line 17 if (( !($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "free"))) { // line 18 echo " poool(\"send\", \"page-view\", \"free\"); "; } elseif (( ! // line 21 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "premium"))) { // line 22 echo " poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 31 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "reserved"))) { // line 32 echo " poool(\"config\", \"force_widget\", \"restriction\"); poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 42 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "paying"))) { // line 43 echo " poool(\"send\", \"page-view\", \"premium\"); "; } // line 47 echo " window.onload = function () { var nombreCaractere = "; // line 49 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["nb_body"] ?? null)), "html", null, true); echo "; if (window.matchMedia(\"(min-width: 480px)\").matches) { nbr_restant = nombreCaractere - 240; } else { nbr_restant = nombreCaractere - 160; } \$('#nbr_restant') .prepend('Cet article de ' + nbr_restant + ' caractères est réservé aux abonnés ou '); \$('#nbr_restant a').text('disponible à l’achat à l’acte.'); }; poool('event', 'onRelease', function (event) { \$('#article-content').css({ 'height': 'initial', }); \$('#bloc_nbr_restant').css({ 'display': 'none', }); }); "; // line 71 if ( !twig_test_empty($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array"))) { // line 72 echo " "; // line 74 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; } // line 77 echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo "\" type=\"hidden\"> "; // line 85 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 87 if ((($context["origin_melody"] ?? null) == 1)) { // line 88 echo " "; } // line 93 echo " "; // line 95 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 99 if ((($context["exist_file"] ?? null) == true)) { // line 100 echo " "; $context["image"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => // line 103 ($context["uri"] ?? null)]; // line 106 echo " "; // line 107 $context["convert"] = ["#theme" => "image_style", "#style_name" => "convert_webp", "#uri" => // line 110 ($context["destination_new"] ?? null)]; // line 113 echo " "; // line 114 if ( !twig_test_empty(($context["copyright"] ?? null))) { // line 115 echo " "; $context["copy"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["copyright"] ?? null))); // line 116 echo " "; } // line 117 echo " "; if ( !twig_test_empty(($context["legend"] ?? null))) { // line 118 echo " "; $context["legend"] = twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null)))); // line 119 echo " "; if ( !twig_test_empty(($context["copy"] ?? null))) { // line 120 echo " "; $context["text"] = twig_join_filter([0 => ($context["legend"] ?? null), 1 => ($context["copy"] ?? null)], " - Photo "); // line 121 echo " "; } else { // line 122 echo " "; $context["text"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null))); // line 123 echo " "; } // line 124 echo " "; } else { // line 125 echo " "; $context["text"] = ($context["copy"] ?? null); // line 126 echo " "; } // line 127 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_vignette"] ?? null)), "html", null, true); echo "\" title=\""; // line 128 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo "\" data-fancybox=\"gallery\"> "; // line 130 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["convert"] ?? null)), "html", null, true); echo " </a> "; // line 132 if ( !twig_test_empty(($context["text"] ?? null))) { // line 133 echo " "; // line 134 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo " "; } // line 137 echo " "; } else { // line 138 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => "public://LH.png"]; // line 143 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 145 echo " "; // line 147 if ((($context["origin_melody"] ?? null) == 1)) { // line 148 echo " "; } // line 153 echo " "; // line 154 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 158 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["teaser"] ?? null)), "html", null, true); echo " "; // line 160 if (($context["logged_in"] ?? null)) { // line 161 echo " "; if (((( !($context["is_abonne"] ?? null) && ($context["article_paid"] ?? null)) && (($context["court_article"] ?? null) > 1500)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 162 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" title=\"\" class=\"btn btn--red use-ajax popup--buy-article\">J’achète l’article "; // line 166 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 169 echo " "; } else { // line 170 echo " "; if (((((($context["court_article"] ?? null) > 1500) && (($context["poool_content_type"] ?? null) != "free")) && (($context["price"] ?? null) != 0)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 171 echo " <a>J’achète l’article "; // line 173 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 177 echo " "; } // line 178 echo " "; // line 179 if ( !twig_test_empty(($context["redacteurs"] ?? null))) { // line 180 echo " Par "; // line 181 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["redacteurs"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["redacteur"]) { // line 182 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.people_entity.canonical", ["people_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["entity_id"] ?? null), $context["key"], [], "array"))))]), "html", null, true); echo "\" title=\"\" class=\"article-news__link\"> "; // line 185 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_first_name", []), 0, []), "value", [])), "html", null, true); echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_last_name", []), 0, []), "value", [])), "html", null, true); echo "</a>, "; // line 186 if ( !twig_test_empty(($context["geographie"] ?? null))) { // line 187 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["geographie"] ?? null)), "html", null, true); echo " "; } // line 189 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['redacteur'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 191 echo " "; } // line 192 echo " "; if ( !twig_test_empty(($context["source"] ?? null))) { // line 193 echo " avec "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["source"] ?? null)), "html", null, true); echo " "; } // line 195 echo " Créé le "; // line 196 if (($context["created"] ?? null)) { // line 197 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; // line 198 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 200 echo " "; if ((($context["created"] ?? null) && (($context["changed"] ?? null) > (twig_date_format_filter($this->env, ($context["created"] ?? null), "U") + 9600)))) { // line 201 echo " , Mis à jour le "; // line 202 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 204 echo " "; // line 210 echo " "; // line 213 echo " "premium", 1 => "reserved", 2 => "paying"])) { echo " paywall "; } else { echo " no-paywall "; } echo "\" > "; // line 219 if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 220 echo " "; } // line 223 echo " "; if (($context["article_text"] ?? null)) { // line 224 echo " "; // line 225 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["article_text"] ?? null))); echo " Lire la suite ("; // line 228 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["characters"] ?? null)), "html", null, true); echo " caractères) "; } else { // line 231 echo " "; // line 232 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["body"] ?? null)), "html", null, true); echo " "; } // line 235 echo " "; if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 236 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" class=\"use-ajax\""; } } else { echo " href=\"\" data-modal-open=\"connexion\" class=\"open-popup article_paying\""; } echo " ></a> "; } // line 245 echo " "; // line 250 if (($context["created"] ?? null)) { // line 251 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m"), "html", null, true); echo " "; // line 252 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "Y"), "html", null, true); echo " "; } // line 254 echo " "; // line 256 if ($this->getAttribute(($context["content"] ?? null), "field_tags", [], "any", true, true)) { // line 257 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_tags", [])), "html", null, true); echo " "; } // line 259 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_documents", [], "any", true, true)) { // line 260 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_documents", [])), "html", null, true); echo " "; } // line 262 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [], "any", true, true)) { // line 263 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [])), "html", null, true); echo " "; } // line 265 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_book_cited", [], "any", true, true)) { // line 266 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_book_cited", [])), "html", null, true); echo " "; } // line 268 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_author_cited", [], "any", true, true)) { // line 269 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_author_cited", [])), "html", null, true); echo " "; } // line 271 echo " "; if ( !twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array"))) { // line 272 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", [])), "html", null, true); echo " "; } elseif (( !twig_test_empty($this->getAttribute($this->getAttribute( // line 273 ($context["content"] ?? null), "field_related_articles_automatic", []), "#items", [], "array")) && twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array")))) { // line 274 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_automatic", [])), "html", null, true); echo " "; } // line 276 echo " "; // line 279 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 286 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("block_content", 1), "html", null, true); echo " "; // line 288 if (((($context["court_article"] ?? null) > 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 289 echo " Sur le même thème "; // line 292 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 293 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 297 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 298 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 301 $context["same_topic"], "uri", [])]; // line 303 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 305 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 310 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 312 echo " </a> "; // line 314 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 315 echo " "; // line 316 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 318 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 322 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 328 echo " "; } // line 331 echo " "; // line 334 if (((($context["court_article"] ?? null) < 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 335 echo " Sur le même thème "; // line 339 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 340 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 345 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 346 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 349 $context["same_topic"], "uri", [])]; // line 351 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 353 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 358 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 360 echo " </a> "; // line 362 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 363 echo " "; // line 364 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 366 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 370 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 377 echo " "; } // line 381 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 818 => 381, 812 => 377, 799 => 370, 795 => 369, 790 => 366, 785 => 364, 782 => 363, 780 => 362, 776 => 360, 770 => 358, 767 => 353, 761 => 351, 759 => 349, 757 => 346, 755 => 345, 751 => 344, 745 => 340, 741 => 339, 735 => 335, 733 => 334, 728 => 331, 723 => 328, 711 => 322, 707 => 321, 702 => 318, 697 => 316, 694 => 315, 692 => 314, 688 => 312, 682 => 310, 679 => 305, 673 => 303, 671 => 301, 669 => 298, 667 => 297, 663 => 296, 658 => 293, 654 => 292, 649 => 289, 647 => 288, 642 => 286, 632 => 279, 627 => 276, 621 => 274, 619 => 273, 614 => 272, 611 => 271, 605 => 269, 602 => 268, 596 => 266, 593 => 265, 587 => 263, 584 => 262, 578 => 260, 575 => 259, 569 => 257, 567 => 256, 563 => 254, 558 => 252, 553 => 251, 551 => 250, 544 => 245, 519 => 240, 513 => 236, 510 => 235, 504 => 232, 501 => 231, 495 => 228, 489 => 225, 486 => 224, 483 => 223, 478 => 220, 476 => 219, 468 => 218, 461 => 213, 459 => 210, 452 => 204, 445 => 202, 442 => 201, 439 => 200, 434 => 198, 429 => 197, 427 => 196, 424 => 195, 418 => 193, 415 => 192, 412 => 191, 405 => 189, 399 => 187, 397 => 186, 391 => 185, 386 => 183, 383 => 182, 379 => 181, 376 => 180, 374 => 179, 371 => 178, 368 => 177, 361 => 173, 357 => 171, 354 => 170, 351 => 169, 345 => 166, 334 => 164, 330 => 162, 327 => 161, 325 => 160, 320 => 158, 313 => 154, 310 => 153, 303 => 148, 301 => 147, 297 => 145, 291 => 143, 288 => 138, 285 => 137, 279 => 134, 276 => 133, 274 => 132, 269 => 130, 264 => 128, 259 => 127, 256 => 126, 253 => 125, 250 => 124, 247 => 123, 244 => 122, 241 => 121, 238 => 120, 235 => 119, 232 => 118, 229 => 117, 226 => 116, 223 => 115, 221 => 114, 218 => 113, 216 => 110, 215 => 107, 212 => 106, 210 => 103, 208 => 100, 206 => 99, 199 => 95, 195 => 93, 188 => 88, 186 => 87, 181 => 85, 173 => 82, 166 => 78, 163 => 77, 157 => 74, 151 => 73, 148 => 72, 146 => 71, 121 => 49, 117 => 47, 111 => 43, 109 => 42, 97 => 32, 95 => 31, 84 => 22, 82 => 21, 77 => 18, 75 => 17, 73 => 15, 72 => 14, 71 => 12, 69 => 10, 68 => 9, 67 => 7, 65 => 6, 63 => 5, 61 => 4, 59 => 3, 57 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_article-entity--article--_Hej6xRDQfoDA3HKJJ0O-0puEK', '<?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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig */ class __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 1, "if" => 17, "for" => 181]; $filters = ["escape" => 49, "trim" => 115, "striptags" => 118, "join" => 120, "raw" => 164, "replace" => 164, "date" => 197]; $functions = ["url" => 5, "drupal_block" => 95, "path" => 183, "drupal_entity" => 286]; try { $this->sandbox->checkSecurity( ['set', 'if', 'for'], ['escape', 'trim', 'striptags', 'join', 'raw', 'replace', 'date'], ['url', 'drupal_block', 'path', 'drupal_entity'] ); } 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 1 $context["origin_melody"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_article_origin"], "method"), "value", []); // line 2 $context["source"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_source"], "method"), "value", []); // line 3 $context["geographie"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "field_signature_geography"], "method"), "value", []); // line 4 $context["changed"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "changed"], "method"), "value", []); // line 5 $context["current_url"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""); // line 6 $context["id"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["elements"] ?? null), "#article_entity", [], "array"), "get", [0 => "id"], "method"), "value", []); // line 7 $context["body"] = ["#type" => "processed_text", "#text" => // line 9 ($context["article_body"] ?? null), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 10 ($context["content"] ?? null), "field_body", []), 0, []), "#format", [], "array")]; // line 12 $context["teaser"] = ["#type" => "processed_text", "#text" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 14 ($context["content"] ?? null), "field_teaser", []), 0, []), "#text", [], "array"), "#format" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 15 ($context["content"] ?? null), "field_teaser", []), 0, []), "#format", [], "array")]; // line 17 if (( !($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "free"))) { // line 18 echo " poool(\"send\", \"page-view\", \"free\"); "; } elseif (( ! // line 21 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "premium"))) { // line 22 echo " poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 31 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "reserved"))) { // line 32 echo " poool(\"config\", \"force_widget\", \"restriction\"); poool(\"send\", \"page-view\", \"premium\"); poool('event', 'onLoginClick', function (event) { var elements = document.getElementById('connexion'); elements.classList.add('open'); event.originalEvent.preventDefault(); return false; }); "; } elseif (( ! // line 42 ($context["is_abonne"] ?? null) && (($context["poool_content_type"] ?? null) == "paying"))) { // line 43 echo " poool(\"send\", \"page-view\", \"premium\"); "; } // line 47 echo " window.onload = function () { var nombreCaractere = "; // line 49 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["nb_body"] ?? null)), "html", null, true); echo "; if (window.matchMedia(\"(min-width: 480px)\").matches) { nbr_restant = nombreCaractere - 240; } else { nbr_restant = nombreCaractere - 160; } \$('#nbr_restant') .prepend('Cet article de ' + nbr_restant + ' caractères est réservé aux abonnés ou '); \$('#nbr_restant a').text('disponible à l’achat à l’acte.'); }; poool('event', 'onRelease', function (event) { \$('#article-content').css({ 'height': 'initial', }); \$('#bloc_nbr_restant').css({ 'display': 'none', }); }); "; // line 71 if ( !twig_test_empty($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array"))) { // line 72 echo " "; // line 74 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_strapline", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; } // line 77 echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo "\" type=\"hidden\"> "; // line 85 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 87 if ((($context["origin_melody"] ?? null) == 1)) { // line 88 echo " "; } // line 93 echo " "; // line 95 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 99 if ((($context["exist_file"] ?? null) == true)) { // line 100 echo " "; $context["image"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => // line 103 ($context["uri"] ?? null)]; // line 106 echo " "; // line 107 $context["convert"] = ["#theme" => "image_style", "#style_name" => "convert_webp", "#uri" => // line 110 ($context["destination_new"] ?? null)]; // line 113 echo " "; // line 114 if ( !twig_test_empty(($context["copyright"] ?? null))) { // line 115 echo " "; $context["copy"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["copyright"] ?? null))); // line 116 echo " "; } // line 117 echo " "; if ( !twig_test_empty(($context["legend"] ?? null))) { // line 118 echo " "; $context["legend"] = twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null)))); // line 119 echo " "; if ( !twig_test_empty(($context["copy"] ?? null))) { // line 120 echo " "; $context["text"] = twig_join_filter([0 => ($context["legend"] ?? null), 1 => ($context["copy"] ?? null)], " - Photo "); // line 121 echo " "; } else { // line 122 echo " "; $context["text"] = twig_trim_filter($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null))); // line 123 echo " "; } // line 124 echo " "; } else { // line 125 echo " "; $context["text"] = ($context["copy"] ?? null); // line 126 echo " "; } // line 127 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_vignette"] ?? null)), "html", null, true); echo "\" title=\""; // line 128 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo "\" data-fancybox=\"gallery\"> "; // line 130 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["convert"] ?? null)), "html", null, true); echo " </a> "; // line 132 if ( !twig_test_empty(($context["text"] ?? null))) { // line 133 echo " "; // line 134 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true); echo " "; } // line 137 echo " "; } else { // line 138 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "image_full_new", "#uri" => "public://LH.png"]; // line 143 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 145 echo " "; // line 147 if ((($context["origin_melody"] ?? null) == 1)) { // line 148 echo " "; } // line 153 echo " "; // line 154 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), "html", null, true); echo " "; // line 158 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["teaser"] ?? null)), "html", null, true); echo " "; // line 160 if (($context["logged_in"] ?? null)) { // line 161 echo " "; if (((( !($context["is_abonne"] ?? null) && ($context["article_paid"] ?? null)) && (($context["court_article"] ?? null) > 1500)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 162 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" title=\"\" class=\"btn btn--red use-ajax popup--buy-article\">J’achète l’article "; // line 166 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 169 echo " "; } else { // line 170 echo " "; if (((((($context["court_article"] ?? null) > 1500) && (($context["poool_content_type"] ?? null) != "free")) && (($context["price"] ?? null) != 0)) && (($context["poool_content_type"] ?? null) != "reserved"))) { // line 171 echo " <a>J’achète l’article "; // line 173 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo " €</a> "; } // line 177 echo " "; } // line 178 echo " "; // line 179 if ( !twig_test_empty(($context["redacteurs"] ?? null))) { // line 180 echo " Par "; // line 181 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["redacteurs"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["redacteur"]) { // line 182 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.people_entity.canonical", ["people_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["entity_id"] ?? null), $context["key"], [], "array"))))]), "html", null, true); echo "\" title=\"\" class=\"article-news__link\"> "; // line 185 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_first_name", []), 0, []), "value", [])), "html", null, true); echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($context["redacteur"], "field_last_name", []), 0, []), "value", [])), "html", null, true); echo "</a>, "; // line 186 if ( !twig_test_empty(($context["geographie"] ?? null))) { // line 187 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["geographie"] ?? null)), "html", null, true); echo " "; } // line 189 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['redacteur'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 191 echo " "; } // line 192 echo " "; if ( !twig_test_empty(($context["source"] ?? null))) { // line 193 echo " avec "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["source"] ?? null)), "html", null, true); echo " "; } // line 195 echo " Créé le "; // line 196 if (($context["created"] ?? null)) { // line 197 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; // line 198 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 200 echo " "; if ((($context["created"] ?? null) && (($context["changed"] ?? null) > (twig_date_format_filter($this->env, ($context["created"] ?? null), "U") + 9600)))) { // line 201 echo " , Mis à jour le "; // line 202 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "d.m.Y"), "html", null, true); echo " à "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["changed"] ?? null)), "H\\hi"), "html", null, true); echo " "; } // line 204 echo " "; // line 210 echo " "; // line 213 echo " "premium", 1 => "reserved", 2 => "paying"])) { echo " paywall "; } else { echo " no-paywall "; } echo "\" > "; // line 219 if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 220 echo " "; } // line 223 echo " "; if (($context["article_text"] ?? null)) { // line 224 echo " "; // line 225 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["article_text"] ?? null))); echo " Lire la suite ("; // line 228 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["characters"] ?? null)), "html", null, true); echo " caractères) "; } else { // line 231 echo " "; // line 232 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["body"] ?? null)), "html", null, true); echo " "; } // line 235 echo " "; if ((( !($context["is_abonne"] ?? null) && (($context["court_article"] ?? null) > 1500)) && (((($context["poool_content_type"] ?? null) == "premium") && ($context["article_paid"] ?? null)) || (($context["poool_content_type"] ?? null) == "reserved")))) { // line 236 echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["content"] ?? null), "name", []), 0, []), "#context", [], "array"), "value", [], "array")), ["\"" => "'"])); echo "&entity=article_entity&entity_id="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null)), "html", null, true); echo "&price="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["price"] ?? null)), "html", null, true); echo "&backurl="; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_url"] ?? null)), "html", null, true); echo "\" class=\"use-ajax\""; } } else { echo " href=\"\" data-modal-open=\"connexion\" class=\"open-popup article_paying\""; } echo " ></a> "; } // line 245 echo " "; // line 250 if (($context["created"] ?? null)) { // line 251 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "d.m"), "html", null, true); echo " "; // line 252 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["created"] ?? null)), "Y"), "html", null, true); echo " "; } // line 254 echo " "; // line 256 if ($this->getAttribute(($context["content"] ?? null), "field_tags", [], "any", true, true)) { // line 257 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_tags", [])), "html", null, true); echo " "; } // line 259 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_documents", [], "any", true, true)) { // line 260 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_documents", [])), "html", null, true); echo " "; } // line 262 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [], "any", true, true)) { // line 263 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_dashboards_node", [])), "html", null, true); echo " "; } // line 265 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_book_cited", [], "any", true, true)) { // line 266 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_book_cited", [])), "html", null, true); echo " "; } // line 268 echo " "; if ($this->getAttribute(($context["content"] ?? null), "field_author_cited", [], "any", true, true)) { // line 269 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_author_cited", [])), "html", null, true); echo " "; } // line 271 echo " "; if ( !twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array"))) { // line 272 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", [])), "html", null, true); echo " "; } elseif (( !twig_test_empty($this->getAttribute($this->getAttribute( // line 273 ($context["content"] ?? null), "field_related_articles_automatic", []), "#items", [], "array")) && twig_test_empty($this->getAttribute($this->getAttribute(($context["content"] ?? null), "field_related_articles_manual", []), "#items", [], "array")))) { // line 274 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["content"] ?? null), "field_related_articles_automatic", [])), "html", null, true); echo " "; } // line 276 echo " "; // line 279 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalBlock("social_sharing_buttons_block"), "html", null, true); echo " "; // line 286 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("block_content", 1), "html", null, true); echo " "; // line 288 if (((($context["court_article"] ?? null) > 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 289 echo " Sur le même thème "; // line 292 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 293 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 297 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 298 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 301 $context["same_topic"], "uri", [])]; // line 303 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 305 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 310 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 312 echo " </a> "; // line 314 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 315 echo " "; // line 316 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 318 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 322 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 328 echo " "; } // line 331 echo " "; // line 334 if (((($context["court_article"] ?? null) < 1500) && !twig_test_empty(($context["same_topics"] ?? null)))) { // line 335 echo " Sur le même thème "; // line 339 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["same_topics"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["same_topic"]) { // line 340 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 345 if (($this->getAttribute($context["same_topic"], "uri", []) && ($this->getAttribute($context["same_topic"], "filesize", []) > 1))) { // line 346 echo " "; $context["image_same"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => $this->getAttribute( // line 349 $context["same_topic"], "uri", [])]; // line 351 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_same"] ?? null)), "html", null, true); echo " "; } else { // line 353 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "same_topic", "#uri" => "public://LH.png"]; // line 358 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 360 echo " </a> "; // line 362 if ( !twig_test_empty($this->getAttribute($context["same_topic"], "tid", []))) { // line 363 echo " "; // line 364 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "taxo_name", [])), "html", null, true); echo " "; } // line 366 echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => $this->getAttribute($context["same_topic"], "id", [])]), "html", null, true); echo "\"> "; // line 370 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["same_topic"], "name", [])), "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['same_topic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 377 echo " "; } // line 381 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 818 => 381, 812 => 377, 799 => 370, 795 => 369, 790 => 366, 785 => 364, 782 => 363, 780 => 362, 776 => 360, 770 => 358, 767 => 353, 761 => 351, 759 => 349, 757 => 346, 755 => 345, 751 => 344, 745 => 340, 741 => 339, 735 => 335, 733 => 334, 728 => 331, 723 => 328, 711 => 322, 707 => 321, 702 => 318, 697 => 316, 694 => 315, 692 => 314, 688 => 312, 682 => 310, 679 => 305, 673 => 303, 671 => 301, 669 => 298, 667 => 297, 663 => 296, 658 => 293, 654 => 292, 649 => 289, 647 => 288, 642 => 286, 632 => 279, 627 => 276, 621 => 274, 619 => 273, 614 => 272, 611 => 271, 605 => 269, 602 => 268, 596 => 266, 593 => 265, 587 => 263, 584 => 262, 578 => 260, 575 => 259, 569 => 257, 567 => 256, 563 => 254, 558 => 252, 553 => 251, 551 => 250, 544 => 245, 519 => 240, 513 => 236, 510 => 235, 504 => 232, 501 => 231, 495 => 228, 489 => 225, 486 => 224, 483 => 223, 478 => 220, 476 => 219, 468 => 218, 461 => 213, 459 => 210, 452 => 204, 445 => 202, 442 => 201, 439 => 200, 434 => 198, 429 => 197, 427 => 196, 424 => 195, 418 => 193, 415 => 192, 412 => 191, 405 => 189, 399 => 187, 397 => 186, 391 => 185, 386 => 183, 383 => 182, 379 => 181, 376 => 180, 374 => 179, 371 => 178, 368 => 177, 361 => 173, 357 => 171, 354 => 170, 351 => 169, 345 => 166, 334 => 164, 330 => 162, 327 => 161, 325 => 160, 320 => 158, 313 => 154, 310 => 153, 303 => 148, 301 => 147, 297 => 145, 291 => 143, 288 => 138, 285 => 137, 279 => 134, 276 => 133, 274 => 132, 269 => 130, 264 => 128, 259 => 127, 256 => 126, 253 => 125, 250 => 124, 247 => 123, 244 => 122, 241 => 121, 238 => 120, 235 => 119, 232 => 118, 229 => 117, 226 => 116, 223 => 115, 221 => 114, 218 => 113, 216 => 110, 215 => 107, 212 => 106, 210 => 103, 208 => 100, 206 => 99, 199 => 95, 195 => 93, 188 => 88, 186 => 87, 181 => 85, 173 => 82, 166 => 78, 163 => 77, 157 => 74, 151 => 73, 148 => 72, 146 => 71, 121 => 49, 117 => 47, 111 => 43, 109 => 42, 97 => 32, 95 => 31, 84 => 22, 82 => 21, 77 => 18, 75 => 17, 73 => 15, 72 => 14, 71 => 12, 69 => 10, 68 => 9, 67 => 7, 65 => 6, 63 => 5, 61 => 4, 59 => 3, 57 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08', 'themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig') (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/662225f691dab_block.html.twig_hzI7GvtUDevUDKRMLqoNbxyKI', 511) (Line: 95) Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/662225f691dab_block.html.twig_hzI7GvtUDevUDKRMLqoNbxyKI') (Line: 86) Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_block.html.twig_hzI7GvtUDevUDKRMLqoNbxyKI', '<?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; /* core/themes/classy/templates/block/block.html.twig */ class __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909 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 = ["set" => 29, "if" => 37, "block" => 41]; $filters = ["clean_class" => 31, "escape" => 35]; $functions = []; try { $this->sandbox->checkSecurity( ['set', 'if', 'block'], ['clean_class', '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 29 $context["classes"] = [0 => "block", 1 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute( // line 31 ($context["configuration"] ?? null), "provider", [])))), 2 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 32 ($context["plugin_id"] ?? null))))]; // line 35 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true); echo "> "; // line 36 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true); echo " "; // line 37 if (($context["label"] ?? null)) { // line 38 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 40 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true); echo " "; // line 41 $this->displayBlock('content', $context, $blocks); // line 44 echo " "; } // line 41 public function block_content($context, array $blocks = []) { // line 42 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 "core/themes/classy/templates/block/block.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 94 => 42, 91 => 41, 86 => 44, 84 => 41, 79 => 40, 71 => 38, 69 => 37, 65 => 36, 60 => 35, 58 => 32, 57 => 31, 56 => 29,); } /** @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("", "core/themes/classy/templates/block/block.html.twig", "/var/www/html/releases/20240418093520/core/themes/classy/templates/block/block.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_block.html.twig_hzI7GvtUDevUDKRMLqoNbxyKI', '<?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; /* core/themes/classy/templates/block/block.html.twig */ class __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909 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 = ["set" => 29, "if" => 37, "block" => 41]; $filters = ["clean_class" => 31, "escape" => 35]; $functions = []; try { $this->sandbox->checkSecurity( ['set', 'if', 'block'], ['clean_class', '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 29 $context["classes"] = [0 => "block", 1 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute( // line 31 ($context["configuration"] ?? null), "provider", [])))), 2 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 32 ($context["plugin_id"] ?? null))))]; // line 35 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true); echo "> "; // line 36 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true); echo " "; // line 37 if (($context["label"] ?? null)) { // line 38 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 40 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true); echo " "; // line 41 $this->displayBlock('content', $context, $blocks); // line 44 echo " "; } // line 41 public function block_content($context, array $blocks = []) { // line 42 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 "core/themes/classy/templates/block/block.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 94 => 42, 91 => 41, 86 => 44, 84 => 41, 79 => 40, 71 => 38, 69 => 37, 65 => 36, 60 => 35, 58 => 32, 57 => 31, 56 => 29,); } /** @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("", "core/themes/classy/templates/block/block.html.twig", "/var/www/html/releases/20240418093520/core/themes/classy/templates/block/block.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909', 'core/themes/classy/templates/block/block.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('core/themes/classy/templates/block/block.html.twig') (Line: 64) twig_render_template('core/themes/classy/templates/block/block.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 199) __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_block.html.twig_hzI7GvtUDevUDKRMLqoNbxyKI', '<?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; /* core/themes/classy/templates/block/block.html.twig */ class __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909 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 = ["set" => 29, "if" => 37, "block" => 41]; $filters = ["clean_class" => 31, "escape" => 35]; $functions = []; try { $this->sandbox->checkSecurity( ['set', 'if', 'block'], ['clean_class', '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 29 $context["classes"] = [0 => "block", 1 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute( // line 31 ($context["configuration"] ?? null), "provider", [])))), 2 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 32 ($context["plugin_id"] ?? null))))]; // line 35 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true); echo "> "; // line 36 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true); echo " "; // line 37 if (($context["label"] ?? null)) { // line 38 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 40 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true); echo " "; // line 41 $this->displayBlock('content', $context, $blocks); // line 44 echo " "; } // line 41 public function block_content($context, array $blocks = []) { // line 42 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 "core/themes/classy/templates/block/block.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 94 => 42, 91 => 41, 86 => 44, 84 => 41, 79 => 40, 71 => 38, 69 => 37, 65 => 36, 60 => 35, 58 => 32, 57 => 31, 56 => 29,); } /** @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("", "core/themes/classy/templates/block/block.html.twig", "/var/www/html/releases/20240418093520/core/themes/classy/templates/block/block.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_block.html.twig_hzI7GvtUDevUDKRMLqoNbxyKI', '<?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; /* core/themes/classy/templates/block/block.html.twig */ class __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909 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 = ["set" => 29, "if" => 37, "block" => 41]; $filters = ["clean_class" => 31, "escape" => 35]; $functions = []; try { $this->sandbox->checkSecurity( ['set', 'if', 'block'], ['clean_class', '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 29 $context["classes"] = [0 => "block", 1 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute( // line 31 ($context["configuration"] ?? null), "provider", [])))), 2 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 32 ($context["plugin_id"] ?? null))))]; // line 35 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true); echo "> "; // line 36 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true); echo " "; // line 37 if (($context["label"] ?? null)) { // line 38 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 40 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true); echo " "; // line 41 $this->displayBlock('content', $context, $blocks); // line 44 echo " "; } // line 41 public function block_content($context, array $blocks = []) { // line 42 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 "core/themes/classy/templates/block/block.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 94 => 42, 91 => 41, 86 => 44, 84 => 41, 79 => 40, 71 => 38, 69 => 37, 65 => 36, 60 => 35, 58 => 32, 57 => 31, 56 => 29,); } /** @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("", "core/themes/classy/templates/block/block.html.twig", "/var/www/html/releases/20240418093520/core/themes/classy/templates/block/block.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909', 'core/themes/classy/templates/block/block.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('core/themes/classy/templates/block/block.html.twig') (Line: 64) twig_render_template('core/themes/classy/templates/block/block.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 199) __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/662225f691dab_field--article-entity--fi_4S78if5EEM0gBqFfFyxicyz9G', 511) (Line: 95) Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/662225f691dab_field--article-entity--fi_4S78if5EEM0gBqFfFyxicyz9G') (Line: 86) Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_field--article-entity--fi_4S78if5EEM0gBqFfFyxicyz9G', '<?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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig */ class __TwigTemplate_936be69da7cf0bd29a8bee6d307144204e056c9f5ae98a9e908526f2f34b4169 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["for" => 2, "if" => 4]; $filters = ["escape" => 6, "length" => 10]; $functions = ["path" => 6]; try { $this->sandbox->checkSecurity( ['for', 'if'], ['escape', 'length'], ['path'] ); } 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 1 echo "<ul> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 3 echo " <li line if this->getAttribute($context["loop"], "index", []) != 1) && ($this->getAttribute($context["loop"], "index", []) != 2))) { echo " tag--s1 "; } echo "\" "; if (($this->getAttribute($context["loop"], "index", []) > 6)) { echo " style=\"display: none\" "; } echo "> <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.taxonomy_term.canonical", ["taxonomy_term" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#options", [], "array"), "entity", []), "tid", []), 0, []), "value", [])]), "html", null, true); echo "\">"; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array")), "html", null, true); echo "</a> </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</ul> "; // line 10 if ((twig_length_filter($this->env, ($context["items"] ?? null)) > 6)) { // line 11 echo " <a>plus</a> "; } } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 11, 111 => 10, 108 => 9, 89 => 6, 78 => 4, 75 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_field--article-entity--fi_4S78if5EEM0gBqFfFyxicyz9G', '<?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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig */ class __TwigTemplate_936be69da7cf0bd29a8bee6d307144204e056c9f5ae98a9e908526f2f34b4169 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["for" => 2, "if" => 4]; $filters = ["escape" => 6, "length" => 10]; $functions = ["path" => 6]; try { $this->sandbox->checkSecurity( ['for', 'if'], ['escape', 'length'], ['path'] ); } 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 1 echo "<ul> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 3 echo " <li line if this->getAttribute($context["loop"], "index", []) != 1) && ($this->getAttribute($context["loop"], "index", []) != 2))) { echo " tag--s1 "; } echo "\" "; if (($this->getAttribute($context["loop"], "index", []) > 6)) { echo " style=\"display: none\" "; } echo "> <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.taxonomy_term.canonical", ["taxonomy_term" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#options", [], "array"), "entity", []), "tid", []), 0, []), "value", [])]), "html", null, true); echo "\">"; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array")), "html", null, true); echo "</a> </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</ul> "; // line 10 if ((twig_length_filter($this->env, ($context["items"] ?? null)) > 6)) { // line 11 echo " <a>plus</a> "; } } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 11, 111 => 10, 108 => 9, 89 => 6, 78 => 4, 75 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_936be69da7cf0bd29a8bee6d307144204e056c9f5ae98a9e908526f2f34b4169', 'themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig') (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 570) __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_field--article-entity--fi_4S78if5EEM0gBqFfFyxicyz9G', '<?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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig */ class __TwigTemplate_936be69da7cf0bd29a8bee6d307144204e056c9f5ae98a9e908526f2f34b4169 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["for" => 2, "if" => 4]; $filters = ["escape" => 6, "length" => 10]; $functions = ["path" => 6]; try { $this->sandbox->checkSecurity( ['for', 'if'], ['escape', 'length'], ['path'] ); } 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 1 echo "<ul> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 3 echo " <li line if this->getAttribute($context["loop"], "index", []) != 1) && ($this->getAttribute($context["loop"], "index", []) != 2))) { echo " tag--s1 "; } echo "\" "; if (($this->getAttribute($context["loop"], "index", []) > 6)) { echo " style=\"display: none\" "; } echo "> <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.taxonomy_term.canonical", ["taxonomy_term" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#options", [], "array"), "entity", []), "tid", []), 0, []), "value", [])]), "html", null, true); echo "\">"; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array")), "html", null, true); echo "</a> </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</ul> "; // line 10 if ((twig_length_filter($this->env, ($context["items"] ?? null)) > 6)) { // line 11 echo " <a>plus</a> "; } } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 11, 111 => 10, 108 => 9, 89 => 6, 78 => 4, 75 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_field--article-entity--fi_4S78if5EEM0gBqFfFyxicyz9G', '<?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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig */ class __TwigTemplate_936be69da7cf0bd29a8bee6d307144204e056c9f5ae98a9e908526f2f34b4169 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["for" => 2, "if" => 4]; $filters = ["escape" => 6, "length" => 10]; $functions = ["path" => 6]; try { $this->sandbox->checkSecurity( ['for', 'if'], ['escape', 'length'], ['path'] ); } 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 1 echo "<ul> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 3 echo " <li line if this->getAttribute($context["loop"], "index", []) != 1) && ($this->getAttribute($context["loop"], "index", []) != 2))) { echo " tag--s1 "; } echo "\" "; if (($this->getAttribute($context["loop"], "index", []) > 6)) { echo " style=\"display: none\" "; } echo "> <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.taxonomy_term.canonical", ["taxonomy_term" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#options", [], "array"), "entity", []), "tid", []), 0, []), "value", [])]), "html", null, true); echo "\">"; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array")), "html", null, true); echo "</a> </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</ul> "; // line 10 if ((twig_length_filter($this->env, ($context["items"] ?? null)) > 6)) { // line 11 echo " <a>plus</a> "; } } public function getTemplateName() { return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 11, 111 => 10, 108 => 9, 89 => 6, 78 => 4, 75 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_936be69da7cf0bd29a8bee6d307144204e056c9f5ae98a9e908526f2f34b4169', 'themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig') (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 570) __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/662225f691dab_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', 511) (Line: 95) Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/662225f691dab_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff') (Line: 86) Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', '<?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; /* modules/custom/livreshebdo_site/templates/book_entity.html.twig */ class __TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["if" => 19]; $filters = ["escape" => 18]; $functions = []; try { $this->sandbox->checkSecurity( ['if'], ['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 18 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "book_entity"], "method")), "html", null, true); echo "> "; // line 19 if (($context["content"] ?? null)) { // line 20 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true); } // line 22 echo " "; } public function getTemplateName() { return "modules/custom/livreshebdo_site/templates/book_entity.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 65 => 22, 62 => 20, 60 => 19, 55 => 18,); } /** @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("", "modules/custom/livreshebdo_site/templates/book_entity.html.twig", "/var/www/html/releases/20240418093520/modules/custom/livreshebdo_site/templates/book_entity.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', '<?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; /* modules/custom/livreshebdo_site/templates/book_entity.html.twig */ class __TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["if" => 19]; $filters = ["escape" => 18]; $functions = []; try { $this->sandbox->checkSecurity( ['if'], ['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 18 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "book_entity"], "method")), "html", null, true); echo "> "; // line 19 if (($context["content"] ?? null)) { // line 20 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true); } // line 22 echo " "; } public function getTemplateName() { return "modules/custom/livreshebdo_site/templates/book_entity.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 65 => 22, 62 => 20, 60 => 19, 55 => 18,); } /** @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("", "modules/custom/livreshebdo_site/templates/book_entity.html.twig", "/var/www/html/releases/20240418093520/modules/custom/livreshebdo_site/templates/book_entity.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58', 'modules/custom/livreshebdo_site/templates/book_entity.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('modules/custom/livreshebdo_site/templates/book_entity.html.twig') (Line: 64) twig_render_template('modules/custom/livreshebdo_site/templates/book_entity.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('book_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82) __TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 597) __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', '<?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; /* modules/custom/livreshebdo_site/templates/book_entity.html.twig */ class __TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["if" => 19]; $filters = ["escape" => 18]; $functions = []; try { $this->sandbox->checkSecurity( ['if'], ['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 18 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "book_entity"], "method")), "html", null, true); echo "> "; // line 19 if (($context["content"] ?? null)) { // line 20 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true); } // line 22 echo " "; } public function getTemplateName() { return "modules/custom/livreshebdo_site/templates/book_entity.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 65 => 22, 62 => 20, 60 => 19, 55 => 18,); } /** @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("", "modules/custom/livreshebdo_site/templates/book_entity.html.twig", "/var/www/html/releases/20240418093520/modules/custom/livreshebdo_site/templates/book_entity.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', '<?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; /* modules/custom/livreshebdo_site/templates/book_entity.html.twig */ class __TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["if" => 19]; $filters = ["escape" => 18]; $functions = []; try { $this->sandbox->checkSecurity( ['if'], ['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 18 echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "book_entity"], "method")), "html", null, true); echo "> "; // line 19 if (($context["content"] ?? null)) { // line 20 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true); } // line 22 echo " "; } public function getTemplateName() { return "modules/custom/livreshebdo_site/templates/book_entity.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 65 => 22, 62 => 20, 60 => 19, 55 => 18,); } /** @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("", "modules/custom/livreshebdo_site/templates/book_entity.html.twig", "/var/www/html/releases/20240418093520/modules/custom/livreshebdo_site/templates/book_entity.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58', 'modules/custom/livreshebdo_site/templates/book_entity.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('modules/custom/livreshebdo_site/templates/book_entity.html.twig') (Line: 64) twig_render_template('modules/custom/livreshebdo_site/templates/book_entity.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('book_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82) __TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 597) __TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array, ) (Line: 226) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/662225f691dab_views-view-fields--last-a_PM7EOFaV3cV_LvdVqnEosoJo4', 511) (Line: 95) Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/662225f691dab_views-view-fields--last-a_PM7EOFaV3cV_LvdVqnEosoJo4') (Line: 86) Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_views-view-fields--last-a_PM7EOFaV3cV_LvdVqnEosoJo4', '<?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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig */ class __TwigTemplate_38769fadf8e320a56c227ce434a98ebc8c541fd29f1a97303be089ef104328dc extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 2, "if" => 10]; $filters = ["split" => 2, "trim" => 2, "striptags" => 2, "escape" => 3, "raw" => 30]; $functions = ["path" => 8]; try { $this->sandbox->checkSecurity( ['set', 'if'], ['split', 'trim', 'striptags', 'escape', 'raw'], ['path'] ); } 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 1 echo " "; // line 2 $context["date"] = twig_split_filter($this->env, twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_publish_date", []), "content", [])))), "."); // line 3 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 0, [], "array")), "html", null, true); echo "."; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 1, [], "array")), "html", null, true); echo " "; // line 4 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 2, [], "array")), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" class=\"article-dateLeft__img\" title=\"\"> "; // line 10 if (( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", []), ""))) && (($context["exist_file"] ?? null) == true))) { // line 11 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", [])), "html", null, true); echo " "; } else { // line 13 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "last_actuality", "#uri" => "public://LH.png"]; // line 18 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 20 echo " </a> "; // line 24 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_tags", []), "content", [])), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" title=\"\">"; // line 30 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "name", []), "content", [])))); echo "</a> "; // line 34 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_teaser", []), "content", [])))); echo " "; // line 36 if ( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", []))))) { // line 37 echo " Par "; // line 39 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", [])), "html", null, true); echo " "; } // line 42 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 138 => 42, 132 => 39, 128 => 37, 126 => 36, 121 => 34, 114 => 30, 110 => 29, 102 => 24, 96 => 20, 90 => 18, 87 => 13, 81 => 11, 79 => 10, 74 => 8, 67 => 4, 60 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_views-view-fields--last-a_PM7EOFaV3cV_LvdVqnEosoJo4', '<?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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig */ class __TwigTemplate_38769fadf8e320a56c227ce434a98ebc8c541fd29f1a97303be089ef104328dc extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 2, "if" => 10]; $filters = ["split" => 2, "trim" => 2, "striptags" => 2, "escape" => 3, "raw" => 30]; $functions = ["path" => 8]; try { $this->sandbox->checkSecurity( ['set', 'if'], ['split', 'trim', 'striptags', 'escape', 'raw'], ['path'] ); } 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 1 echo " "; // line 2 $context["date"] = twig_split_filter($this->env, twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_publish_date", []), "content", [])))), "."); // line 3 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 0, [], "array")), "html", null, true); echo "."; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 1, [], "array")), "html", null, true); echo " "; // line 4 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 2, [], "array")), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" class=\"article-dateLeft__img\" title=\"\"> "; // line 10 if (( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", []), ""))) && (($context["exist_file"] ?? null) == true))) { // line 11 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", [])), "html", null, true); echo " "; } else { // line 13 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "last_actuality", "#uri" => "public://LH.png"]; // line 18 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 20 echo " </a> "; // line 24 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_tags", []), "content", [])), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" title=\"\">"; // line 30 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "name", []), "content", [])))); echo "</a> "; // line 34 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_teaser", []), "content", [])))); echo " "; // line 36 if ( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", []))))) { // line 37 echo " Par "; // line 39 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", [])), "html", null, true); echo " "; } // line 42 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 138 => 42, 132 => 39, 128 => 37, 126 => 36, 121 => 34, 114 => 30, 110 => 29, 102 => 24, 96 => 20, 90 => 18, 87 => 13, 81 => 11, 79 => 10, 74 => 8, 67 => 4, 60 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_38769fadf8e320a56c227ce434a98ebc8c541fd29f1a97303be089ef104328dc', 'themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig') (Line: 64) twig_render_template('themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('views_view_fields__last_actuality__last_article', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 61) __TwigTemplate_cca9c78e6f02f64e8d0db2384cc8e8740acc165c32b0287b95469c3e19528875->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('views_view_unformatted__last_actuality__last_article', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 126) __TwigTemplate_b7c95cfe258b2082c6a6dca508055574d243d0fc6656c7bbb6bd36b16fc5b5ad->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/themes/classy/templates/views/views-view.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('views_view', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 95) __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909->block_content(Array, Array) (Line: 216) Twig\Template->displayBlock('content', Array, Array) (Line: 84) __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/themes/classy/templates/block/block.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 185) __TwigTemplate_3b21e48be208a9a1f0fd19b02cabbcfc72e6ef124007495b50ab32ce6214a365->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/page/page--article-entity.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 482) __TwigTemplate_1457e8b3bc37d631e84928441df35525869934da4e0b9954660cf1b3c114310b->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/html/html.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 147) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662225f691dab_views-view-fields--last-a_PM7EOFaV3cV_LvdVqnEosoJo4', '<?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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig */ class __TwigTemplate_38769fadf8e320a56c227ce434a98ebc8c541fd29f1a97303be089ef104328dc extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 2, "if" => 10]; $filters = ["split" => 2, "trim" => 2, "striptags" => 2, "escape" => 3, "raw" => 30]; $functions = ["path" => 8]; try { $this->sandbox->checkSecurity( ['set', 'if'], ['split', 'trim', 'striptags', 'escape', 'raw'], ['path'] ); } 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 1 echo " "; // line 2 $context["date"] = twig_split_filter($this->env, twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_publish_date", []), "content", [])))), "."); // line 3 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 0, [], "array")), "html", null, true); echo "."; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 1, [], "array")), "html", null, true); echo " "; // line 4 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 2, [], "array")), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" class=\"article-dateLeft__img\" title=\"\"> "; // line 10 if (( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", []), ""))) && (($context["exist_file"] ?? null) == true))) { // line 11 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", [])), "html", null, true); echo " "; } else { // line 13 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "last_actuality", "#uri" => "public://LH.png"]; // line 18 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 20 echo " </a> "; // line 24 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_tags", []), "content", [])), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" title=\"\">"; // line 30 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "name", []), "content", [])))); echo "</a> "; // line 34 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_teaser", []), "content", [])))); echo " "; // line 36 if ( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", []))))) { // line 37 echo " Par "; // line 39 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", [])), "html", null, true); echo " "; } // line 42 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 138 => 42, 132 => 39, 128 => 37, 126 => 36, 121 => 34, 114 => 30, 110 => 29, 102 => 24, 96 => 20, 90 => 18, 87 => 13, 81 => 11, 79 => 10, 74 => 8, 67 => 4, 60 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"); } } ') (Line: 111) Drupal\Core\Template\TwigPhpStorageCache->write('662225f691dab_views-view-fields--last-a_PM7EOFaV3cV_LvdVqnEosoJo4', '<?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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig */ class __TwigTemplate_38769fadf8e320a56c227ce434a98ebc8c541fd29f1a97303be089ef104328dc extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $tags = ["set" => 2, "if" => 10]; $filters = ["split" => 2, "trim" => 2, "striptags" => 2, "escape" => 3, "raw" => 30]; $functions = ["path" => 8]; try { $this->sandbox->checkSecurity( ['set', 'if'], ['split', 'trim', 'striptags', 'escape', 'raw'], ['path'] ); } 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 1 echo " "; // line 2 $context["date"] = twig_split_filter($this->env, twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_publish_date", []), "content", [])))), "."); // line 3 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 0, [], "array")), "html", null, true); echo "."; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 1, [], "array")), "html", null, true); echo " "; // line 4 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["date"] ?? null), 2, [], "array")), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" class=\"article-dateLeft__img\" title=\"\"> "; // line 10 if (( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", []), ""))) && (($context["exist_file"] ?? null) == true))) { // line 11 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_article_media", []), "content", [])), "html", null, true); echo " "; } else { // line 13 echo " "; $context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "last_actuality", "#uri" => "public://LH.png"]; // line 18 echo " "; echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true); echo " "; } // line 20 echo " </a> "; // line 24 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_tags", []), "content", [])), "html", null, true); echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.article_entity.canonical", ["article_entity" => twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "id", []), "content", []))))]), "html", null, true); echo "\" title=\"\">"; // line 30 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "name", []), "content", [])))); echo "</a> "; // line 34 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_teaser", []), "content", [])))); echo " "; // line 36 if ( !twig_test_empty(twig_trim_filter(strip_tags($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", []))))) { // line 37 echo " Par "; // line 39 echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_people", []), "content", [])), "html", null, true); echo " "; } // line 42 echo " "; } public function getTemplateName() { return "themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 138 => 42, 132 => 39, 128 => 37, 126 => 36, 121 => 34, 114 => 30, 110 => 29, 102 => 24, 96 => 20, 90 => 18, 87 => 13, 81 => 11, 79 => 10, 74 => 8, 67 => 4, 60 => 3, 58 => 2, 55 => 1,); } /** @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/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig", "/var/www/html/releases/20240418093520/themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig"); } } ') (Line: 487) Twig\Environment->loadClass('__TwigTemplate_38769fadf8e320a56c227ce434a98ebc8c541fd29f1a97303be089ef104328dc', 'themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig', NULL) (Line: 445) Twig\Environment->loadTemplate('themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig') (Line: 64) twig_render_template('themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('views_view_fields__last_actuality__last_article', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 61) __TwigTemplate_cca9c78e6f02f64e8d0db2384cc8e8740acc165c32b0287b95469c3e19528875->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('views_view_unformatted__last_actuality__last_article', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 126) __TwigTemplate_b7c95cfe258b2082c6a6dca508055574d243d0fc6656c7bbb6bd36b16fc5b5ad->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/themes/classy/templates/views/views-view.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('views_view', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 95) __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909->block_content(Array, Array) (Line: 216) Twig\Template->displayBlock('content', Array, Array) (Line: 84) __TwigTemplate_e155cf71ed51979850ca284f01186bae4abd71da216d503350e16c1035357909->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('core/themes/classy/templates/block/block.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array) (Line: 444) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 185) __TwigTemplate_3b21e48be208a9a1f0fd19b02cabbcfc72e6ef124007495b50ab32ce6214a365->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/page/page--article-entity.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 501) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 482) __TwigTemplate_1457e8b3bc37d631e84928441df35525869934da4e0b9954660cf1b3c114310b->doDisplay(Array, Array) (Line: 455) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422) Twig\Template->display(Array) (Line: 434) Twig\Template->render(Array) (Line: 64) twig_render_template('themes/livreshebdo/template/html/html.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200) Drupal\Core\Render\Renderer->render(Array) (Line: 147) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Académie Française
Six candidatures ont été enregistrées pour le fauteuil de François Jacob à l'Académie française.
Par
Marie-Christine Imbault,
Créé le
15.05.2014
à 20h40
Livres cités
Sur le même thème
Dominique Barberis lauréate du prix du Roman de l’Académie française 2023
Les finalistes du Grand Prix du roman de l'Académie française 2023
La première sélection du Grand Prix du roman de l'Académie française 2023
Les dernières
actualités
Essais et document
Spécialiste des outils et des techniques, l'historien Pascal Reigniez s'intéresse aux couverts de table, des origines à nos jours.
Par Jean-Claude Perrier
Edition
20 ans des éditions Jonglez: « Nous sommes plus exigeants que n’importe quel guide de voyage ! »
Les éditions Jonglez célèbrent leurs 20 ans cette année. L'occasion de revenir sur la genèse et l'évolution de la maison spécialisée dans le voyage avec son fondateur Thomas Jonglez.
Par Antoine Masset
édition indépendante
Le projet de plateforme numérique de solution de gestion métier porté par la Fédération des éditeurs indépendants (FEDEI) doit atteindre les 30 000 euros de capitalisation pour lancer sa Coopérative, attendue fin mai.
Par Éric Dupuy
Abonnez-vous à Livres Hebdo
Également disponibles sur notre boutique :
Numéros à l'unité, hors-séries, annuaire et planisphère.
Nous contacter
Electre respecte votre vie privée. Nous vous rappelons qu’en application de la loi n° 78-17 du 6 janvier 1978 relative à l’informatique, aux fichiers et aux libertés, vous disposez des droits d’opposition (article 26 de la loi), d’accès (articles 34 à 38 de la loi) et de rectification (article 36 de la loi) des données vous concernant.
Pour exercer ce droit, vous pouvez vous adresser à Livres Hebdo 35, rue Grégoire de Tours 75006 Paris.
Inscrivez-vous à la newsletter
Electre respecte votre vie privée. Nous vous rappelons qu’en application de la loi n° 78-17 du 6 janvier 1978 relative à l’informatique, aux fichiers et aux libertés, vous disposez des droits d’opposition (article 26 de la loi), d’accès (articles 34 à 38 de la loi) et de rectification (article 36 de la loi) des données vous concernant.
Pour exercer ce droit, vous pouvez vous adresser à Livres Hebdo 35, rue Grègoire de Tours 75006 Paris.
Inscrivez-vous
Pourquoi s’inscrire sur Livres Hebdo ?
La newsletter de référence du secteur tous les matins dans votre boite mail
Des articles premium supplémentaires offerts chaque mois sur le site
Et retrouvez tous vos articles achetés dans votre espace personnel
En cliquant sur "S’inscrire", vous acceptez les CGU de Livres Hebdo. Nous gardons vos données strictement confidentielles.
Le nombre limite de connexions simultanées de votre abonnement a été atteint
Je me connecte
Une autre connexion de votre abonnement
Livres Hebdo sera interrompue.
Vous souhaitez bénéficier de davantage de connexions simultanées ?
Contactez abonnement@livreshebdo.fr
pour une offre multi-accès.