User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 145 of core/lib/Drupal/Component/PhpStorage/FileStorage.php). Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig/6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig/6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8', '<?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/redaction/views-view--redaction.html.twig */
class __TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175 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" => 14];
$filters = ["clean_class" => 3, "escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['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 1
$context["classes"] = [0 => "view", 1 => ("view-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 3
($context["id"] ?? null)))), 2 => ("view-id-" . $this->sandbox->ensureToStringAllowed( // line 4
($context["id"] ?? null))), 3 => ("view-display-id-" . $this->sandbox->ensureToStringAllowed( // line 5
($context["display_id"] ?? null))), 4 => (( // line 6
($context["dom_id"] ?? null)) ? (("js-view-dom-id-" . $this->sandbox->ensureToStringAllowed(($context["dom_id"] ?? null)))) : (""))];
// line 8
echo "
";
// line 9
$context["class_section"] = [0 => ((($this->getAttribute( // line 10
($context["path_args"] ?? null), 1, [], "array") == "article_entity")) ? ("section-black section-black--article") : ("section-black section-black--s3"))];
// line 13
echo "
";
// line 14
if (((($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity") || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "book_entity")) || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "eventmedia_entity"))) {
// line 15
$context["class_where_stop"] = [0 => "where-stop"];
}
// line 17
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 ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["class_section"] ?? null), 1 => ($context["class_where_stop"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 23
if (($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity")) {
// line 24
echo " On vous
RECOMMANDE
";
} else {
// line 27
echo " La rédaction VOUS
RECOMMANDE
";
}
// line 30
echo "
";
// line 33
if (($context["rows"] ?? null)) {
// line 34
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rows"] ?? null)), "html", null, true);
echo "
";
} elseif ( // line 35
($context["empty"] ?? null)) {
// line 36
echo "
";
// line 37
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["empty"] ?? null)), "html", null, true);
echo "
";
}
// line 40
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 40, 118 => 37, 115 => 36, 113 => 35, 108 => 34, 106 => 33, 101 => 30, 96 => 27, 91 => 24, 89 => 23, 83 => 20, 78 => 18, 75 => 17, 72 => 15, 70 => 14, 67 => 13, 65 => 10, 64 => 9, 61 => 8, 59 => 6, 58 => 5, 57 => 4, 56 => 3, 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/redaction/views-view--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8', '<?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/redaction/views-view--redaction.html.twig */
class __TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175 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" => 14];
$filters = ["clean_class" => 3, "escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['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 1
$context["classes"] = [0 => "view", 1 => ("view-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 3
($context["id"] ?? null)))), 2 => ("view-id-" . $this->sandbox->ensureToStringAllowed( // line 4
($context["id"] ?? null))), 3 => ("view-display-id-" . $this->sandbox->ensureToStringAllowed( // line 5
($context["display_id"] ?? null))), 4 => (( // line 6
($context["dom_id"] ?? null)) ? (("js-view-dom-id-" . $this->sandbox->ensureToStringAllowed(($context["dom_id"] ?? null)))) : (""))];
// line 8
echo "
";
// line 9
$context["class_section"] = [0 => ((($this->getAttribute( // line 10
($context["path_args"] ?? null), 1, [], "array") == "article_entity")) ? ("section-black section-black--article") : ("section-black section-black--s3"))];
// line 13
echo "
";
// line 14
if (((($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity") || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "book_entity")) || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "eventmedia_entity"))) {
// line 15
$context["class_where_stop"] = [0 => "where-stop"];
}
// line 17
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 ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["class_section"] ?? null), 1 => ($context["class_where_stop"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 23
if (($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity")) {
// line 24
echo " On vous
RECOMMANDE
";
} else {
// line 27
echo " La rédaction VOUS
RECOMMANDE
";
}
// line 30
echo "
";
// line 33
if (($context["rows"] ?? null)) {
// line 34
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rows"] ?? null)), "html", null, true);
echo "
";
} elseif ( // line 35
($context["empty"] ?? null)) {
// line 36
echo "
";
// line 37
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["empty"] ?? null)), "html", null, true);
echo "
";
}
// line 40
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 40, 118 => 37, 115 => 36, 113 => 35, 108 => 34, 106 => 33, 101 => 30, 96 => 27, 91 => 24, 89 => 23, 83 => 20, 78 => 18, 75 => 17, 72 => 15, 70 => 14, 67 => 13, 65 => 10, 64 => 9, 61 => 8, 59 => 6, 58 => 5, 57 => 4, 56 => 3, 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/redaction/views-view--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175', 'themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view__redaction', 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: 159)
__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)
Warning: rename(sites/default/files/php/twig/.4pD_epWWj_99XZH2dsO049Mm0OM,sites/default/files/php/twig/6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8/qMm4zdz4J0p2WnAfEhG3Qtyg8TV1UkiyUl6fryY9JRA.php): No such file or directory in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php). Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8', '<?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/redaction/views-view--redaction.html.twig */
class __TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175 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" => 14];
$filters = ["clean_class" => 3, "escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['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 1
$context["classes"] = [0 => "view", 1 => ("view-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 3
($context["id"] ?? null)))), 2 => ("view-id-" . $this->sandbox->ensureToStringAllowed( // line 4
($context["id"] ?? null))), 3 => ("view-display-id-" . $this->sandbox->ensureToStringAllowed( // line 5
($context["display_id"] ?? null))), 4 => (( // line 6
($context["dom_id"] ?? null)) ? (("js-view-dom-id-" . $this->sandbox->ensureToStringAllowed(($context["dom_id"] ?? null)))) : (""))];
// line 8
echo "
";
// line 9
$context["class_section"] = [0 => ((($this->getAttribute( // line 10
($context["path_args"] ?? null), 1, [], "array") == "article_entity")) ? ("section-black section-black--article") : ("section-black section-black--s3"))];
// line 13
echo "
";
// line 14
if (((($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity") || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "book_entity")) || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "eventmedia_entity"))) {
// line 15
$context["class_where_stop"] = [0 => "where-stop"];
}
// line 17
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 ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["class_section"] ?? null), 1 => ($context["class_where_stop"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 23
if (($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity")) {
// line 24
echo " On vous
RECOMMANDE
";
} else {
// line 27
echo " La rédaction VOUS
RECOMMANDE
";
}
// line 30
echo "
";
// line 33
if (($context["rows"] ?? null)) {
// line 34
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rows"] ?? null)), "html", null, true);
echo "
";
} elseif ( // line 35
($context["empty"] ?? null)) {
// line 36
echo "
";
// line 37
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["empty"] ?? null)), "html", null, true);
echo "
";
}
// line 40
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 40, 118 => 37, 115 => 36, 113 => 35, 108 => 34, 106 => 33, 101 => 30, 96 => 27, 91 => 24, 89 => 23, 83 => 20, 78 => 18, 75 => 17, 72 => 15, 70 => 14, 67 => 13, 65 => 10, 64 => 9, 61 => 8, 59 => 6, 58 => 5, 57 => 4, 56 => 3, 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/redaction/views-view--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6622276c8b3fd_views-view--redaction.htm_9DdpxlOVg_UeSruf1qF2Qcdi8', '<?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/redaction/views-view--redaction.html.twig */
class __TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175 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" => 14];
$filters = ["clean_class" => 3, "escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['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 1
$context["classes"] = [0 => "view", 1 => ("view-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 3
($context["id"] ?? null)))), 2 => ("view-id-" . $this->sandbox->ensureToStringAllowed( // line 4
($context["id"] ?? null))), 3 => ("view-display-id-" . $this->sandbox->ensureToStringAllowed( // line 5
($context["display_id"] ?? null))), 4 => (( // line 6
($context["dom_id"] ?? null)) ? (("js-view-dom-id-" . $this->sandbox->ensureToStringAllowed(($context["dom_id"] ?? null)))) : (""))];
// line 8
echo "
";
// line 9
$context["class_section"] = [0 => ((($this->getAttribute( // line 10
($context["path_args"] ?? null), 1, [], "array") == "article_entity")) ? ("section-black section-black--article") : ("section-black section-black--s3"))];
// line 13
echo "
";
// line 14
if (((($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity") || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "book_entity")) || ($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "eventmedia_entity"))) {
// line 15
$context["class_where_stop"] = [0 => "where-stop"];
}
// line 17
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 ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["class_section"] ?? null), 1 => ($context["class_where_stop"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 23
if (($this->getAttribute(($context["path_args"] ?? null), 1, [], "array") == "article_entity")) {
// line 24
echo " On vous
RECOMMANDE
";
} else {
// line 27
echo " La rédaction VOUS
RECOMMANDE
";
}
// line 30
echo "
";
// line 33
if (($context["rows"] ?? null)) {
// line 34
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rows"] ?? null)), "html", null, true);
echo "
";
} elseif ( // line 35
($context["empty"] ?? null)) {
// line 36
echo "
";
// line 37
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["empty"] ?? null)), "html", null, true);
echo "
";
}
// line 40
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 40, 118 => 37, 115 => 36, 113 => 35, 108 => 34, 106 => 33, 101 => 30, 96 => 27, 91 => 24, 89 => 23, 83 => 20, 78 => 18, 75 => 17, 72 => 15, 70 => 14, 67 => 13, 65 => 10, 64 => 9, 61 => 8, 59 => 6, 58 => 5, 57 => 4, 56 => 3, 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/redaction/views-view--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175', 'themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/views/redaction/views-view--redaction.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view__redaction', 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: 159)
__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)