- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_field.html.twig_1ug3asUBwARn-Rk487qQRU6n8', '<?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/field/field.html.twig */
class __TwigTemplate_bb360a017ec2784e9454cd94d427c28fe1211700b62a16f06add53315289333b 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" => 41, "if" => 56, "for" => 59];
$filters = ["clean_class" => 43, "escape" => 58];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['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 41
$context["classes"] = [0 => "field", 1 => ("field--name-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 43
($context["field_name"] ?? null)))), 2 => ("field--type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 44
($context["field_type"] ?? null)))), 3 => ("field--label-" . $this->sandbox->ensureToStringAllowed( // line 45
($context["label_display"] ?? null))), 4 => ((( // line 46
($context["label_display"] ?? null) == "inline")) ? ("clearfix") : (""))];
// line 50
$context["title_classes"] = [0 => "field__label", 1 => ((( // line 52
($context["label_display"] ?? null) == "visually_hidden")) ? ("visually-hidden") : (""))];
// line 55
echo "
";
// line 56
if (($context["label_hidden"] ?? null)) {
// line 57
echo " ";
if (($context["multiple"] ?? null)) {
// line 58
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null), 1 => "field__items"], "method")), "html", null, true);
echo ">
";
// line 59
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 60
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "attributes", []), "addClass", [0 => "field__item"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo "
";
} else {
// line 64
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 65
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null), 1 => "field__item"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo " ";
}
} else {
// line 69
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["title_attributes"] ?? null), "addClass", [0 => ($context["title_classes"] ?? null)], "method")), "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 71
if (($context["multiple"] ?? null)) {
// line 72
echo "
";
}
// line 74
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 75
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "attributes", []), "addClass", [0 => "field__item"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 77
echo " ";
if (($context["multiple"] ?? null)) {
// line 78
echo "
";
}
// line 80
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 156 => 80, 152 => 78, 149 => 77, 138 => 75, 133 => 74, 129 => 72, 127 => 71, 121 => 70, 116 => 69, 112 => 67, 101 => 65, 96 => 64, 92 => 62, 81 => 60, 77 => 59, 72 => 58, 69 => 57, 67 => 56, 64 => 55, 62 => 52, 61 => 50, 59 => 46, 58 => 45, 57 => 44, 56 => 43, 55 => 41,);
}
/** @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/field/field.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/field.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_field.html.twig_1ug3asUBwARn-Rk487qQRU6n8', '<?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/field/field.html.twig */
class __TwigTemplate_bb360a017ec2784e9454cd94d427c28fe1211700b62a16f06add53315289333b 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" => 41, "if" => 56, "for" => 59];
$filters = ["clean_class" => 43, "escape" => 58];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['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 41
$context["classes"] = [0 => "field", 1 => ("field--name-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 43
($context["field_name"] ?? null)))), 2 => ("field--type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 44
($context["field_type"] ?? null)))), 3 => ("field--label-" . $this->sandbox->ensureToStringAllowed( // line 45
($context["label_display"] ?? null))), 4 => ((( // line 46
($context["label_display"] ?? null) == "inline")) ? ("clearfix") : (""))];
// line 50
$context["title_classes"] = [0 => "field__label", 1 => ((( // line 52
($context["label_display"] ?? null) == "visually_hidden")) ? ("visually-hidden") : (""))];
// line 55
echo "
";
// line 56
if (($context["label_hidden"] ?? null)) {
// line 57
echo " ";
if (($context["multiple"] ?? null)) {
// line 58
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null), 1 => "field__items"], "method")), "html", null, true);
echo ">
";
// line 59
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 60
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "attributes", []), "addClass", [0 => "field__item"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo "
";
} else {
// line 64
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 65
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null), 1 => "field__item"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo " ";
}
} else {
// line 69
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["title_attributes"] ?? null), "addClass", [0 => ($context["title_classes"] ?? null)], "method")), "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 71
if (($context["multiple"] ?? null)) {
// line 72
echo "
";
}
// line 74
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 75
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "attributes", []), "addClass", [0 => "field__item"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 77
echo " ";
if (($context["multiple"] ?? null)) {
// line 78
echo "
";
}
// line 80
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 156 => 80, 152 => 78, 149 => 77, 138 => 75, 133 => 74, 129 => 72, 127 => 71, 121 => 70, 116 => 69, 112 => 67, 101 => 65, 96 => 64, 92 => 62, 81 => 60, 77 => 59, 72 => 58, 69 => 57, 67 => 56, 64 => 55, 62 => 52, 61 => 50, 59 => 46, 58 => 45, 57 => 44, 56 => 43, 55 => 41,);
}
/** @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/field/field.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/field.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_bb360a017ec2784e9454cd94d427c28fe1211700b62a16f06add53315289333b', 'core/themes/classy/templates/field/field.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/field/field.html.twig') (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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a___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('662356f400e9a___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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_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/20240418101126/themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_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/20240418101126/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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_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/20240418101126/core/themes/classy/templates/block/block.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_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/20240418101126/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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_better-social-sharing-but_nkg9AR3o3mI6xzzZuR0JFkArN', '<?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/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig */
class __TwigTemplate_5ae96dcbb33e07452d4e598e9668aa36b92b87ead9f7eb9532c4298ec53f743e 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" => 3, "set" => 4, "include" => 13];
$filters = ["escape" => 1, "t" => 18];
$functions = ["attach_library" => 1, "url" => 43];
try {
$this->sandbox->checkSecurity(
['if', 'set', 'include'],
['escape', 't'],
['attach_library', 'url']
);
} 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 $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("better_social_sharing_buttons/styling"), "html", null, true);
echo "
";
// line 3
if ($this->getAttribute(($context["items"] ?? null), "width", [])) {
// line 4
echo " ";
$context["width"] = (($this->getAttribute(($context["items"] ?? null), "width", [])) ? ((("width=" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "width", []))) . "")) : (""));
// line 5
echo " ";
$context["height"] = (($this->getAttribute(($context["items"] ?? null), "width", [])) ? ((("height=" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "width", []))) . "")) : (""));
}
// line 7
echo "
";
// line 8
if ($this->getAttribute(($context["items"] ?? null), "radius", [])) {
// line 9
echo " ";
$context["radius"] = (($this->getAttribute(($context["items"] ?? null), "radius", [])) ? ((("style=border-radius:" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "radius", []))) . ";")) : (""));
}
// line 11
echo "
";
// line 13
echo "";
$this->loadTemplate(($context["social_buttons_sprite"] ?? null), "modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig", 13)->display($context);
echo "
";
// line 17
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "facebook", [])) {
// line 18
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook\" class=\"bloc-share__link\" rel=\"noopener\">
fb
</a>
";
}
// line 23
echo "
";
// line 25
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "twitter", [])) {
// line 26
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "+";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Twitter\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Twitter\" class=\"bloc-share__link\" rel=\"noopener\">
twitter
</a>
";
}
// line 31
echo "
";
// line 33
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "whatsapp", [])) {
// line 34
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " WhatsApp\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " WhatsApp\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#whatsapp\" />
</a>
";
}
// line 40
echo "
";
// line 42
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "facebook_messenger", [])) {
// line 43
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "facebook_app_id", [])), "html", null, true);
echo "&link=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&redirect_uri=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""));
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook Messenger\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook Messenger\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#messenger\" />
</a>
";
}
// line 49
echo "
";
// line 51
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "pinterest", [])) {
// line 52
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&description=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Pinterest\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Pinterest\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#pinterest\" />
</a>
";
}
// line 58
echo "
";
// line 60
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "linkedin", [])) {
// line 61
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Linkedin\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Linkedin\" class=\"bloc-share__link\" rel=\"noopener\">
social
</a>
";
}
// line 66
echo "
";
// line 68
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "digg", [])) {
// line 69
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Digg\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Digg\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#digg\" />
</a>
";
}
// line 75
echo "
";
// line 77
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "stumbleupon", [])) {
// line 78
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " StumbleUpon\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " StumbleUpon\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#stumbleupon\" />
</a>
";
}
// line 84
echo "
";
// line 86
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "slashdot", [])) {
// line 87
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Slashdot\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Slashdot\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#slashdot\" />
</a>
";
}
// line 93
echo "
";
// line 95
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "tumblr", [])) {
// line 96
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&t=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Tumblr\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Tumblr\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#tumblr\" />
</a>
";
}
// line 102
echo "
";
// line 104
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "reddit", [])) {
// line 105
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Reddit\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Reddit\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#reddit\" />
</a>
";
}
// line 111
echo "
";
// line 113
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "evernote", [])) {
// line 114
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Evernote\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Evernote\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#evernote\" />
</a>
";
}
// line 120
echo "
";
// line 122
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "email", [])) {
// line 123
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " E-mail\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " E-mail\" class=\"bloc-share__link\" target=\"_blank\" rel=\"noopener\">
email
</a>
";
}
// line 128
echo "
";
// line 130
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "copy", [])) {
// line 131
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("better_social_sharing_buttons/copy-current-url"), "html", null, true);
echo "
<a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#copy\" />
";
// line 136
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Copied to clipboard"));
echo "
</a>
";
}
// line 139
echo "
";
// line 141
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "print", [])) {
// line 142
echo " ";
if ($this->getAttribute(($context["items"] ?? null), "print_css", [])) {
// line 143
echo " ";
$context["href"] = "#";
// line 144
echo " ";
$context["rel"] = $this->getAttribute(($context["items"] ?? null), "print_css", []);
// line 145
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("better_social_sharing_buttons/print-css"), "html", null, true);
echo "
";
} else {
// line 147
echo " ";
$context["href"] = "javascript:window.print()";
// line 148
echo " ";
}
// line 149
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["href"] ?? null)), "html", null, true);
echo "\" rel=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rel"] ?? null)), "html", null, true);
echo "\" id=\"printlink\" class=\"bloc-share__link hide-os\">
print
</a>
";
}
// line 154
echo "
";
}
public function getTemplateName()
{
return "modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 522 => 154, 511 => 149, 508 => 148, 505 => 147, 499 => 145, 496 => 144, 493 => 143, 490 => 142, 488 => 141, 484 => 139, 478 => 136, 473 => 134, 465 => 133, 459 => 131, 457 => 130, 453 => 128, 440 => 123, 438 => 122, 434 => 120, 427 => 116, 419 => 115, 408 => 114, 406 => 113, 402 => 111, 395 => 107, 387 => 106, 376 => 105, 374 => 104, 370 => 102, 363 => 98, 355 => 97, 344 => 96, 342 => 95, 338 => 93, 331 => 89, 323 => 88, 312 => 87, 310 => 86, 306 => 84, 299 => 80, 291 => 79, 280 => 78, 278 => 77, 274 => 75, 267 => 71, 259 => 70, 248 => 69, 246 => 68, 242 => 66, 229 => 61, 227 => 60, 223 => 58, 216 => 54, 208 => 53, 197 => 52, 195 => 51, 191 => 49, 184 => 45, 176 => 44, 163 => 43, 161 => 42, 157 => 40, 150 => 36, 142 => 35, 133 => 34, 131 => 33, 127 => 31, 112 => 26, 110 => 25, 106 => 23, 91 => 18, 89 => 17, 81 => 13, 78 => 11, 74 => 9, 72 => 8, 69 => 7, 65 => 5, 62 => 4, 60 => 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("", "modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig", "/var/www/html/releases/20240418101126/modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_better-social-sharing-but_nkg9AR3o3mI6xzzZuR0JFkArN', '<?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/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig */
class __TwigTemplate_5ae96dcbb33e07452d4e598e9668aa36b92b87ead9f7eb9532c4298ec53f743e 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" => 3, "set" => 4, "include" => 13];
$filters = ["escape" => 1, "t" => 18];
$functions = ["attach_library" => 1, "url" => 43];
try {
$this->sandbox->checkSecurity(
['if', 'set', 'include'],
['escape', 't'],
['attach_library', 'url']
);
} 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 $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("better_social_sharing_buttons/styling"), "html", null, true);
echo "
";
// line 3
if ($this->getAttribute(($context["items"] ?? null), "width", [])) {
// line 4
echo " ";
$context["width"] = (($this->getAttribute(($context["items"] ?? null), "width", [])) ? ((("width=" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "width", []))) . "")) : (""));
// line 5
echo " ";
$context["height"] = (($this->getAttribute(($context["items"] ?? null), "width", [])) ? ((("height=" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "width", []))) . "")) : (""));
}
// line 7
echo "
";
// line 8
if ($this->getAttribute(($context["items"] ?? null), "radius", [])) {
// line 9
echo " ";
$context["radius"] = (($this->getAttribute(($context["items"] ?? null), "radius", [])) ? ((("style=border-radius:" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "radius", []))) . ";")) : (""));
}
// line 11
echo "
";
// line 13
echo "";
$this->loadTemplate(($context["social_buttons_sprite"] ?? null), "modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig", 13)->display($context);
echo "
";
// line 17
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "facebook", [])) {
// line 18
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook\" class=\"bloc-share__link\" rel=\"noopener\">
fb
</a>
";
}
// line 23
echo "
";
// line 25
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "twitter", [])) {
// line 26
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "+";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Twitter\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Twitter\" class=\"bloc-share__link\" rel=\"noopener\">
twitter
</a>
";
}
// line 31
echo "
";
// line 33
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "whatsapp", [])) {
// line 34
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " WhatsApp\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " WhatsApp\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#whatsapp\" />
</a>
";
}
// line 40
echo "
";
// line 42
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "facebook_messenger", [])) {
// line 43
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "facebook_app_id", [])), "html", null, true);
echo "&link=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&redirect_uri=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""));
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook Messenger\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Facebook Messenger\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#messenger\" />
</a>
";
}
// line 49
echo "
";
// line 51
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "pinterest", [])) {
// line 52
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&description=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Pinterest\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Pinterest\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#pinterest\" />
</a>
";
}
// line 58
echo "
";
// line 60
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "linkedin", [])) {
// line 61
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Linkedin\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Linkedin\" class=\"bloc-share__link\" rel=\"noopener\">
social
</a>
";
}
// line 66
echo "
";
// line 68
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "digg", [])) {
// line 69
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Digg\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Digg\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#digg\" />
</a>
";
}
// line 75
echo "
";
// line 77
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "stumbleupon", [])) {
// line 78
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " StumbleUpon\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " StumbleUpon\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#stumbleupon\" />
</a>
";
}
// line 84
echo "
";
// line 86
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "slashdot", [])) {
// line 87
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Slashdot\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Slashdot\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#slashdot\" />
</a>
";
}
// line 93
echo "
";
// line 95
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "tumblr", [])) {
// line 96
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&t=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Tumblr\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Tumblr\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#tumblr\" />
</a>
";
}
// line 102
echo "
";
// line 104
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "reddit", [])) {
// line 105
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Reddit\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Reddit\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#reddit\" />
</a>
";
}
// line 111
echo "
";
// line 113
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "evernote", [])) {
// line 114
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "&title=";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "title", [])), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Evernote\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " Evernote\" class=\"social-sharing-buttons__button\" rel=\"noopener\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#evernote\" />
</a>
";
}
// line 120
echo "
";
// line 122
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "email", [])) {
// line 123
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["items"] ?? null), "page_url", [])), "html", null, true);
echo "\" title=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " E-mail\" aria-label=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Share to"));
echo " E-mail\" class=\"bloc-share__link\" target=\"_blank\" rel=\"noopener\">
email
</a>
";
}
// line 128
echo "
";
// line 130
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "copy", [])) {
// line 131
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("better_social_sharing_buttons/copy-current-url"), "html", null, true);
echo "
<a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["radius"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["social_buttons_sprite"] ?? null)), "html", null, true);
echo "#copy\" />
";
// line 136
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Copied to clipboard"));
echo "
</a>
";
}
// line 139
echo "
";
// line 141
if ($this->getAttribute($this->getAttribute(($context["items"] ?? null), "services", []), "print", [])) {
// line 142
echo " ";
if ($this->getAttribute(($context["items"] ?? null), "print_css", [])) {
// line 143
echo " ";
$context["href"] = "#";
// line 144
echo " ";
$context["rel"] = $this->getAttribute(($context["items"] ?? null), "print_css", []);
// line 145
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("better_social_sharing_buttons/print-css"), "html", null, true);
echo "
";
} else {
// line 147
echo " ";
$context["href"] = "javascript:window.print()";
// line 148
echo " ";
}
// line 149
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["href"] ?? null)), "html", null, true);
echo "\" rel=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rel"] ?? null)), "html", null, true);
echo "\" id=\"printlink\" class=\"bloc-share__link hide-os\">
print
</a>
";
}
// line 154
echo "
";
}
public function getTemplateName()
{
return "modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 522 => 154, 511 => 149, 508 => 148, 505 => 147, 499 => 145, 496 => 144, 493 => 143, 490 => 142, 488 => 141, 484 => 139, 478 => 136, 473 => 134, 465 => 133, 459 => 131, 457 => 130, 453 => 128, 440 => 123, 438 => 122, 434 => 120, 427 => 116, 419 => 115, 408 => 114, 406 => 113, 402 => 111, 395 => 107, 387 => 106, 376 => 105, 374 => 104, 370 => 102, 363 => 98, 355 => 97, 344 => 96, 342 => 95, 338 => 93, 331 => 89, 323 => 88, 312 => 87, 310 => 86, 306 => 84, 299 => 80, 291 => 79, 280 => 78, 278 => 77, 274 => 75, 267 => 71, 259 => 70, 248 => 69, 246 => 68, 242 => 66, 229 => 61, 227 => 60, 223 => 58, 216 => 54, 208 => 53, 197 => 52, 195 => 51, 191 => 49, 184 => 45, 176 => 44, 163 => 43, 161 => 42, 157 => 40, 150 => 36, 142 => 35, 133 => 34, 131 => 33, 127 => 31, 112 => 26, 110 => 25, 106 => 23, 91 => 18, 89 => 17, 81 => 13, 78 => 11, 74 => 9, 72 => 8, 69 => 7, 65 => 5, 62 => 4, 60 => 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("", "modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig", "/var/www/html/releases/20240418101126/modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_5ae96dcbb33e07452d4e598e9668aa36b92b87ead9f7eb9532c4298ec53f743e', 'modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig') (Line: 64)
twig_render_template('modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('better_social_sharing_buttons', 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: 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: 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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_social-icons--square.svg_bsHAVXIFLA7Ow_tQZy7nrgQUW', '<?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/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg */
class __TwigTemplate_1d1a68e1add09be2ec8cb84fabcea8ebb97f7f85c11186104b9c4d7551646edb 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 = [];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} 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 "
";
}
public function getTemplateName()
{
return "/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg";
}
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("", "/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg", "/var/www/html/releases/20240418101126/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_social-icons--square.svg_bsHAVXIFLA7Ow_tQZy7nrgQUW', '<?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/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg */
class __TwigTemplate_1d1a68e1add09be2ec8cb84fabcea8ebb97f7f85c11186104b9c4d7551646edb 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 = [];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} 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 "
";
}
public function getTemplateName()
{
return "/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg";
}
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("", "/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg", "/var/www/html/releases/20240418101126/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_1d1a68e1add09be2ec8cb84fabcea8ebb97f7f85c11186104b9c4d7551646edb', '/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg', NULL) (Line: 445)
Twig\Environment->loadTemplate('/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg', NULL) (Line: 377)
Twig\Template->loadTemplate('/modules/custom/better_social_sharing_buttons/assets/dist/sprites/social-icons--square.svg', 'modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig', 13) (Line: 82)
__TwigTemplate_5ae96dcbb33e07452d4e598e9668aa36b92b87ead9f7eb9532c4298ec53f743e->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('modules/custom/better_social_sharing_buttons/templates/better-social-sharing-buttons.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('better_social_sharing_buttons', 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: 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: 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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_image-style.html.twig_QEAK2N5cTY3l-PR-GmhK6YQQ2', '<?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/field/image-style.html.twig */
class __TwigTemplate_5cc03caf506e6d061e71c5a49f8c9426126f59a1f74584ad279a083dfc0a9908 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" => 1];
$filters = ["escape" => 3];
$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 1
if ((($context["style_image"] ?? null) == "convert_webp")) {
// line 2
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["srcset_new"] ?? null)), "html", null, true);
echo "\" type=\"image/webp\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["src_new"] ?? null)), "html", null, true);
echo "\">
";
} else {
// line 7
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "themes/livreshebdo/template/field/image-style.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 7, 64 => 4, 60 => 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/field/image-style.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/field/image-style.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_image-style.html.twig_QEAK2N5cTY3l-PR-GmhK6YQQ2', '<?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/field/image-style.html.twig */
class __TwigTemplate_5cc03caf506e6d061e71c5a49f8c9426126f59a1f74584ad279a083dfc0a9908 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" => 1];
$filters = ["escape" => 3];
$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 1
if ((($context["style_image"] ?? null) == "convert_webp")) {
// line 2
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["srcset_new"] ?? null)), "html", null, true);
echo "\" type=\"image/webp\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["src_new"] ?? null)), "html", null, true);
echo "\">
";
} else {
// line 7
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "themes/livreshebdo/template/field/image-style.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 7, 64 => 4, 60 => 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/field/image-style.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/field/image-style.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_5cc03caf506e6d061e71c5a49f8c9426126f59a1f74584ad279a083dfc0a9908', 'themes/livreshebdo/template/field/image-style.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/field/image-style.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/field/image-style.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('image_style', 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: 269)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_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/20240418101126/themes/livreshebdo/template/entity/article/full/field--article-entity--field-tags.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_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/20240418101126/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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_field--field-gpt-ad.html._9u_CxlFr_KDAYMsS6bsa1VUWP', '<?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/field/field--field-gpt-ad.html.twig */
class __TwigTemplate_cd074bbf139d6d0345ca4f3dc49f344cf8023f6d00662e70583fae882a250ab5 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" => 1, "if" => 2];
$filters = ["escape" => 7];
$functions = [];
try {
$this->sandbox->checkSecurity(
['for', '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 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 2
echo " ";
if (($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119790565-0")) {
// line 3
echo "
if (window.innerWidth > 767) {
var googletaginterval = window.setInterval(function () {
if (\$(\".sidebar .leader-board--right\").length && !\$(\"#div-gpt-ad-1648119790565-0\").length) {
\$(\".sidebar .leader-board--right\").append('env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "\" style=\"min-width: 300px; min-height: 250px;\">');
googletag.cmd.push(function () {
googletag.display('";
// line 9
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "');
});
stickyVar.updateSticky();
clearInterval(googletaginterval);
}
}, 4000);
} else {
\$(\".sidebar .leader-board--right\")
.append('env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "\" style=\"min-width: 300px; min-height: 250px;\">');
googletag.cmd.push(function () {
googletag.display('";
// line 19
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "');
});
}
";
} elseif (($this->getAttribute($this->getAttribute($this->getAttribute( // line 23
$context["item"], "content", []), "#context", [], "array"), "value", []) == "1061232")) {
// line 24
echo " tag on every page
of your site.-->
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "\"
async=\"async\">
";
} else {
// line 33
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "' ";
if (($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119735456-0")) {
echo " style='min-width: 320px; min-height: 50px;' ";
} elseif (($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119768093-0")) {
echo " style='min-width: 728px; min-height: 90px;' ";
} elseif ((($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119816805-0") || ($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119844495-0"))) {
echo " style='min-width: 300px; min-height: 250px;' ";
}
echo ">
googletag.cmd.push(function () {
googletag.display('";
// line 36
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "');
});
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "themes/livreshebdo/template/field/field--field-gpt-ad.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 127 => 36, 112 => 33, 105 => 29, 98 => 24, 96 => 23, 89 => 19, 84 => 17, 73 => 9, 68 => 7, 62 => 3, 59 => 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/field/field--field-gpt-ad.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/field/field--field-gpt-ad.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_field--field-gpt-ad.html._9u_CxlFr_KDAYMsS6bsa1VUWP', '<?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/field/field--field-gpt-ad.html.twig */
class __TwigTemplate_cd074bbf139d6d0345ca4f3dc49f344cf8023f6d00662e70583fae882a250ab5 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" => 1, "if" => 2];
$filters = ["escape" => 7];
$functions = [];
try {
$this->sandbox->checkSecurity(
['for', '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 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 2
echo " ";
if (($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119790565-0")) {
// line 3
echo "
if (window.innerWidth > 767) {
var googletaginterval = window.setInterval(function () {
if (\$(\".sidebar .leader-board--right\").length && !\$(\"#div-gpt-ad-1648119790565-0\").length) {
\$(\".sidebar .leader-board--right\").append('env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "\" style=\"min-width: 300px; min-height: 250px;\">');
googletag.cmd.push(function () {
googletag.display('";
// line 9
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "');
});
stickyVar.updateSticky();
clearInterval(googletaginterval);
}
}, 4000);
} else {
\$(\".sidebar .leader-board--right\")
.append('env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "\" style=\"min-width: 300px; min-height: 250px;\">');
googletag.cmd.push(function () {
googletag.display('";
// line 19
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "');
});
}
";
} elseif (($this->getAttribute($this->getAttribute($this->getAttribute( // line 23
$context["item"], "content", []), "#context", [], "array"), "value", []) == "1061232")) {
// line 24
echo " tag on every page
of your site.-->
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "\"
async=\"async\">
";
} else {
// line 33
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "' ";
if (($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119735456-0")) {
echo " style='min-width: 320px; min-height: 50px;' ";
} elseif (($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119768093-0")) {
echo " style='min-width: 728px; min-height: 90px;' ";
} elseif ((($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119816805-0") || ($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#context", [], "array"), "value", []) == "div-gpt-ad-1648119844495-0"))) {
echo " style='min-width: 300px; min-height: 250px;' ";
}
echo ">
googletag.cmd.push(function () {
googletag.display('";
// line 36
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "');
});
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "themes/livreshebdo/template/field/field--field-gpt-ad.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 127 => 36, 112 => 33, 105 => 29, 98 => 24, 96 => 23, 89 => 19, 84 => 17, 73 => 9, 68 => 7, 62 => 3, 59 => 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/field/field--field-gpt-ad.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/field/field--field-gpt-ad.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_cd074bbf139d6d0345ca4f3dc49f344cf8023f6d00662e70583fae882a250ab5', 'themes/livreshebdo/template/field/field--field-gpt-ad.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/field/field--field-gpt-ad.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/field/field--field-gpt-ad.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', 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: 642)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_image.html.twig_FRyQgFjBOy7D4fNEvI6A7pHaD', '<?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/field/image.html.twig */
class __TwigTemplate_1f6022b4f80fa745af8e9ff2bf0af951c3620be746bced41d5aa1fed15dba589 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" => 14];
$filters = ["clean_class" => 15, "escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['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 14
$context["classes"] = [0 => (( // line 15
($context["style_name"] ?? null)) ? (("image-style-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["style_name"] ?? null))))) : (""))];
// line 18
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 " />
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/image.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 18, 56 => 15, 55 => 14,);
}
/** @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/field/image.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/image.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_image.html.twig_FRyQgFjBOy7D4fNEvI6A7pHaD', '<?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/field/image.html.twig */
class __TwigTemplate_1f6022b4f80fa745af8e9ff2bf0af951c3620be746bced41d5aa1fed15dba589 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" => 14];
$filters = ["clean_class" => 15, "escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['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 14
$context["classes"] = [0 => (( // line 15
($context["style_name"] ?? null)) ? (("image-style-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["style_name"] ?? null))))) : (""))];
// line 18
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 " />
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/image.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 18, 56 => 15, 55 => 14,);
}
/** @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/field/image.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/image.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_1f6022b4f80fa745af8e9ff2bf0af951c3620be746bced41d5aa1fed15dba589', 'core/themes/classy/templates/field/image.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/field/image.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/field/image.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('image', 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: 71)
__TwigTemplate_5cc03caf506e6d061e71c5a49f8c9426126f59a1f74584ad279a083dfc0a9908->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/field/image-style.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('image_style', 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: 674)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_image-formatter.html.twig_DinZ10o9ngNZQ91_n0WWpT5ty', '<?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/field/image-formatter.html.twig */
class __TwigTemplate_40b894bc75e4c2609ec91cc5b562be1f4fff59e7e07a2bea417fc07caf432029 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" => 14];
$filters = ["escape" => 15];
$functions = ["link" => 15];
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
['link']
);
} 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 14
if (($context["url"] ?? null)) {
// line 15
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getLink($this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["url"] ?? null))), "html", null, true);
echo "
";
} else {
// line 17
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/image-formatter.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 17, 57 => 15, 55 => 14,);
}
/** @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/field/image-formatter.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/image-formatter.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_image-formatter.html.twig_DinZ10o9ngNZQ91_n0WWpT5ty', '<?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/field/image-formatter.html.twig */
class __TwigTemplate_40b894bc75e4c2609ec91cc5b562be1f4fff59e7e07a2bea417fc07caf432029 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" => 14];
$filters = ["escape" => 15];
$functions = ["link" => 15];
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
['link']
);
} 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 14
if (($context["url"] ?? null)) {
// line 15
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getLink($this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["url"] ?? null))), "html", null, true);
echo "
";
} else {
// line 17
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/image-formatter.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 17, 57 => 15, 55 => 14,);
}
/** @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/field/image-formatter.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/image-formatter.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_40b894bc75e4c2609ec91cc5b562be1f4fff59e7e07a2bea417fc07caf432029', 'core/themes/classy/templates/field/image-formatter.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/field/image-formatter.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/field/image-formatter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('image_formatter', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 1656)
field_tokens('entity', Array, Array, Array, Object)
call_user_func_array('field_tokens', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 304)
Drupal\Core\Utility\Token->generate('entity', Array, Array, Array, Object) (Line: 958)
token_tokens('media', Array, Array, Array, Object)
call_user_func_array('token_tokens', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 304)
Drupal\Core\Utility\Token->generate('media', Array, Array, Array, Object) (Line: 1729)
field_tokens('field_article_media', Array, Array, Array, Object)
call_user_func_array('field_tokens', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 304)
Drupal\Core\Utility\Token->generate('field_article_media', Array, Array, Array, Object) (Line: 1680)
field_tokens('entity', Array, Array, Array, Object)
call_user_func_array('field_tokens', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 304)
Drupal\Core\Utility\Token->generate('entity', Array, Array, Array, Object) (Line: 958)
token_tokens('article_entity', Array, Array, Array, Object)
call_user_func_array('token_tokens', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 304)
Drupal\Core\Utility\Token->generate('article_entity', Array, Array, Array, Object) (Line: 196)
Drupal\Core\Utility\Token->replace('[article_entity:field_article_media:entity:thumbnail],[site:url]/sites/default/files/styles/menu_actualite/public/LH.png', Array, Array, Object) (Line: 66)
Drupal\metatag\MetatagToken->replace('[article_entity:field_article_media:entity:thumbnail],[site:url]/sites/default/files/styles/menu_actualite/public/LH.png', Array, Array, NULL) (Line: 577)
Drupal\metatag\MetatagManager->generateRawElements(Array, Object) (Line: 493)
Drupal\metatag\MetatagManager->generateElements(Array, Object) (Line: 528)
metatag_get_tags_from_route() (Line: 126)
metatag_page_attachments(Array) (Line: 297)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 273)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_antibot-no-js.html.twig_foB0R-Pm4d2oYyBu8W_pH5ltK', '<?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/antibot/templates/antibot-no-js.html.twig */
class __TwigTemplate_f22eaec074b6bdd865835624d1ef8da0be1ce3527fa25943f8bc40af4cf68c03 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 = ["escape" => 15];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 14
echo "
";
// line 15
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["message"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "modules/antibot/templates/antibot-no-js.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 15, 55 => 14,);
}
/** @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/antibot/templates/antibot-no-js.html.twig", "/var/www/html/releases/20240418101126/modules/antibot/templates/antibot-no-js.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_antibot-no-js.html.twig_foB0R-Pm4d2oYyBu8W_pH5ltK', '<?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/antibot/templates/antibot-no-js.html.twig */
class __TwigTemplate_f22eaec074b6bdd865835624d1ef8da0be1ce3527fa25943f8bc40af4cf68c03 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 = ["escape" => 15];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 14
echo "
";
// line 15
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["message"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "modules/antibot/templates/antibot-no-js.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 15, 55 => 14,);
}
/** @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/antibot/templates/antibot-no-js.html.twig", "/var/www/html/releases/20240418101126/modules/antibot/templates/antibot-no-js.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_f22eaec074b6bdd865835624d1ef8da0be1ce3527fa25943f8bc40af4cf68c03', 'modules/antibot/templates/antibot-no-js.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/antibot/templates/antibot-no-js.html.twig') (Line: 64)
twig_render_template('modules/antibot/templates/antibot-no-js.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('antibot_no_js', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 718)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_input.html.twig_-zmtom2rpnpl5iVW5C3fqZQIb', '<?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/form/input.html.twig */
class __TwigTemplate_2880847dcaeef2b64251ccc349f38d0bb39c6f28fd3dc0efb66fd40afcfdc846 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo " />";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/input.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 13,);
}
/** @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/form/input.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/input.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_input.html.twig_-zmtom2rpnpl5iVW5C3fqZQIb', '<?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/form/input.html.twig */
class __TwigTemplate_2880847dcaeef2b64251ccc349f38d0bb39c6f28fd3dc0efb66fd40afcfdc846 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo " />";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/input.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 13,);
}
/** @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/form/input.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/input.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_2880847dcaeef2b64251ccc349f38d0bb39c6f28fd3dc0efb66fd40afcfdc846', 'core/themes/classy/templates/form/input.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/input.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/input.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('input', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 718)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_form-element.html.twig_oOEYaaWtyuwevEDmg_mvAWFis', '<?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/form/form-element.html.twig */
class __TwigTemplate_e9dcbe586e4ff110ddc737efdb6556f520ea440719a67946be00f70885634ab9 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" => 48, "if" => 67];
$filters = ["clean_class" => 51, "escape" => 66];
$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 48
$context["classes"] = [0 => "js-form-item", 1 => "form-item", 2 => ("js-form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 51
($context["type"] ?? null)))), 3 => ("form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 52
($context["type"] ?? null)))), 4 => ("js-form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 53
($context["name"] ?? null)))), 5 => ("form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 54
($context["name"] ?? null)))), 6 => ((!twig_in_filter( // line 55
($context["title_display"] ?? null), [0 => "after", 1 => "before"])) ? ("form-no-label") : ("")), 7 => ((( // line 56
($context["disabled"] ?? null) == "disabled")) ? ("form-disabled") : ("")), 8 => (( // line 57
($context["errors"] ?? null)) ? ("form-item--error") : (""))];
// line 61
$context["description_classes"] = [0 => "description", 1 => ((( // line 63
($context["description_display"] ?? null) == "invisible")) ? ("visually-hidden") : (""))];
// line 66
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 67
if (twig_in_filter(($context["label_display"] ?? null), [0 => "before", 1 => "invisible"])) {
// line 68
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 70
echo " ";
if ( !twig_test_empty(($context["prefix"] ?? null))) {
// line 71
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null)), "html", null, true);
echo "
";
}
// line 73
echo " ";
if (((($context["description_display"] ?? null) == "before") && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 74
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "attributes", [])), "html", null, true);
echo ">
";
// line 75
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 78
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 79
if ( !twig_test_empty(($context["suffix"] ?? null))) {
// line 80
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null)), "html", null, true);
echo "
";
}
// line 82
echo " ";
if ((($context["label_display"] ?? null) == "after")) {
// line 83
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 85
echo " ";
if (($context["errors"] ?? null)) {
// line 86
echo "
<strong>";
// line 87
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null)), "html", null, true);
echo "</strong>
";
}
// line 90
echo " ";
if ((twig_in_filter(($context["description_display"] ?? null), [0 => "after", 1 => "invisible"]) && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 91
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["description"] ?? null), "attributes", []), "addClass", [0 => ($context["description_classes"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 92
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 95
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/form-element.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 151 => 95, 145 => 92, 140 => 91, 137 => 90, 131 => 87, 128 => 86, 125 => 85, 119 => 83, 116 => 82, 110 => 80, 108 => 79, 103 => 78, 97 => 75, 92 => 74, 89 => 73, 83 => 71, 80 => 70, 74 => 68, 72 => 67, 67 => 66, 65 => 63, 64 => 61, 62 => 57, 61 => 56, 60 => 55, 59 => 54, 58 => 53, 57 => 52, 56 => 51, 55 => 48,);
}
/** @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/form/form-element.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/form-element.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_form-element.html.twig_oOEYaaWtyuwevEDmg_mvAWFis', '<?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/form/form-element.html.twig */
class __TwigTemplate_e9dcbe586e4ff110ddc737efdb6556f520ea440719a67946be00f70885634ab9 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" => 48, "if" => 67];
$filters = ["clean_class" => 51, "escape" => 66];
$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 48
$context["classes"] = [0 => "js-form-item", 1 => "form-item", 2 => ("js-form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 51
($context["type"] ?? null)))), 3 => ("form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 52
($context["type"] ?? null)))), 4 => ("js-form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 53
($context["name"] ?? null)))), 5 => ("form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 54
($context["name"] ?? null)))), 6 => ((!twig_in_filter( // line 55
($context["title_display"] ?? null), [0 => "after", 1 => "before"])) ? ("form-no-label") : ("")), 7 => ((( // line 56
($context["disabled"] ?? null) == "disabled")) ? ("form-disabled") : ("")), 8 => (( // line 57
($context["errors"] ?? null)) ? ("form-item--error") : (""))];
// line 61
$context["description_classes"] = [0 => "description", 1 => ((( // line 63
($context["description_display"] ?? null) == "invisible")) ? ("visually-hidden") : (""))];
// line 66
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 67
if (twig_in_filter(($context["label_display"] ?? null), [0 => "before", 1 => "invisible"])) {
// line 68
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 70
echo " ";
if ( !twig_test_empty(($context["prefix"] ?? null))) {
// line 71
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null)), "html", null, true);
echo "
";
}
// line 73
echo " ";
if (((($context["description_display"] ?? null) == "before") && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 74
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "attributes", [])), "html", null, true);
echo ">
";
// line 75
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 78
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 79
if ( !twig_test_empty(($context["suffix"] ?? null))) {
// line 80
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null)), "html", null, true);
echo "
";
}
// line 82
echo " ";
if ((($context["label_display"] ?? null) == "after")) {
// line 83
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 85
echo " ";
if (($context["errors"] ?? null)) {
// line 86
echo "
<strong>";
// line 87
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null)), "html", null, true);
echo "</strong>
";
}
// line 90
echo " ";
if ((twig_in_filter(($context["description_display"] ?? null), [0 => "after", 1 => "invisible"]) && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 91
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["description"] ?? null), "attributes", []), "addClass", [0 => ($context["description_classes"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 92
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 95
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/form-element.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 151 => 95, 145 => 92, 140 => 91, 137 => 90, 131 => 87, 128 => 86, 125 => 85, 119 => 83, 116 => 82, 110 => 80, 108 => 79, 103 => 78, 97 => 75, 92 => 74, 89 => 73, 83 => 71, 80 => 70, 74 => 68, 72 => 67, 67 => 66, 65 => 63, 64 => 61, 62 => 57, 61 => 56, 60 => 55, 59 => 54, 58 => 53, 57 => 52, 56 => 51, 55 => 48,);
}
/** @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/form/form-element.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/form-element.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_e9dcbe586e4ff110ddc737efdb6556f520ea440719a67946be00f70885634ab9', 'core/themes/classy/templates/form/form-element.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/form-element.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/form-element.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 718)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_form-element-label.html.t_vh6E5WRQX7LxmUoAiv9ocfqwQ', '<?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/form/form-element-label.html.twig */
class __TwigTemplate_d064801ff6135ab08241478e6659e8f3daff685016ccec8c9af59107f9d211e7 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" => 16, "if" => 23];
$filters = ["escape" => 24];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', '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 16
$context["classes"] = [0 => ((( // line 17
($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 1 => ((( // line 18
($context["title_display"] ?? null) == "invisible")) ? ("visually-hidden") : ("")), 2 => (( // line 19
($context["required"] ?? null)) ? ("js-form-required") : ("")), 3 => (( // line 20
($context["required"] ?? null)) ? ("form-required") : (""))];
// line 23
if (( !twig_test_empty(($context["title"] ?? null)) || ($context["required"] ?? null))) {
// line 24
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 ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "";
}
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/form-element-label.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 24, 61 => 23, 59 => 20, 58 => 19, 57 => 18, 56 => 17, 55 => 16,);
}
/** @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/form/form-element-label.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/form-element-label.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_form-element-label.html.t_vh6E5WRQX7LxmUoAiv9ocfqwQ', '<?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/form/form-element-label.html.twig */
class __TwigTemplate_d064801ff6135ab08241478e6659e8f3daff685016ccec8c9af59107f9d211e7 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" => 16, "if" => 23];
$filters = ["escape" => 24];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', '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 16
$context["classes"] = [0 => ((( // line 17
($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 1 => ((( // line 18
($context["title_display"] ?? null) == "invisible")) ? ("visually-hidden") : ("")), 2 => (( // line 19
($context["required"] ?? null)) ? ("js-form-required") : ("")), 3 => (( // line 20
($context["required"] ?? null)) ? ("form-required") : (""))];
// line 23
if (( !twig_test_empty(($context["title"] ?? null)) || ($context["required"] ?? null))) {
// line 24
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 ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "";
}
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/form-element-label.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 24, 61 => 23, 59 => 20, 58 => 19, 57 => 18, 56 => 17, 55 => 16,);
}
/** @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/form/form-element-label.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/form-element-label.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_d064801ff6135ab08241478e6659e8f3daff685016ccec8c9af59107f9d211e7', 'core/themes/classy/templates/form/form-element-label.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/form-element-label.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/form-element-label.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element_label', 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: 75)
__TwigTemplate_e9dcbe586e4ff110ddc737efdb6556f520ea440719a67946be00f70885634ab9->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/form/form-element.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 718)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_container.html.twig_aBprAJxDYxLXse8dYBmiZdEJU', '<?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/form/container.html.twig */
class __TwigTemplate_9e1ff41790bb1f4eac02ca251d16cc779217a4959c49162ba0f014dfd9e58fe7 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" => 23];
$filters = ["escape" => 28];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['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 23
$context["classes"] = [0 => (( // line 24
($context["has_parent"] ?? null)) ? ("js-form-wrapper") : ("")), 1 => (( // line 25
($context["has_parent"] ?? null)) ? ("form-wrapper") : (""))];
// line 28
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 ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 28, 57 => 25, 56 => 24, 55 => 23,);
}
/** @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/form/container.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/container.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_container.html.twig_aBprAJxDYxLXse8dYBmiZdEJU', '<?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/form/container.html.twig */
class __TwigTemplate_9e1ff41790bb1f4eac02ca251d16cc779217a4959c49162ba0f014dfd9e58fe7 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" => 23];
$filters = ["escape" => 28];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['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 23
$context["classes"] = [0 => (( // line 24
($context["has_parent"] ?? null)) ? ("js-form-wrapper") : ("")), 1 => (( // line 25
($context["has_parent"] ?? null)) ? ("form-wrapper") : (""))];
// line 28
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 ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 28, 57 => 25, 56 => 24, 55 => 23,);
}
/** @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/form/container.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/container.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_9e1ff41790bb1f4eac02ca251d16cc779217a4959c49162ba0f014dfd9e58fe7', 'core/themes/classy/templates/form/container.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/container.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/container.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('container', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 718)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_form.html.twig_VnBtaMqehB9moV5gH1BY3FWx6', '<?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/form/form.html.twig */
class __TwigTemplate_b47931f19d01356abfc93134547589bf262257efdc3ccb8792127af06cc1b87b 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 14
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 60 => 14, 55 => 13,);
}
/** @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/form/form.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/form.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_form.html.twig_VnBtaMqehB9moV5gH1BY3FWx6', '<?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/form/form.html.twig */
class __TwigTemplate_b47931f19d01356abfc93134547589bf262257efdc3ccb8792127af06cc1b87b 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 14
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 60 => 14, 55 => 13,);
}
/** @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/form/form.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/form.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_b47931f19d01356abfc93134547589bf262257efdc3ccb8792127af06cc1b87b', 'core/themes/classy/templates/form/form.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/form.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/form.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 718)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_file-upload-help.html.twi_3w8jjXpmmdm1RSOumLPyjU4Py', '<?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/content-edit/file-upload-help.html.twig */
class __TwigTemplate_c912641744d986cf1168be260c694a9b9978112d98fe824b3be45d0284ced088 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 = ["safe_join" => 12];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['safe_join'],
[]
);
} 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 12
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["descriptions"] ?? null)), ""));
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/content-edit/file-upload-help.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 12,);
}
/** @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/content-edit/file-upload-help.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/content-edit/file-upload-help.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_file-upload-help.html.twi_3w8jjXpmmdm1RSOumLPyjU4Py', '<?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/content-edit/file-upload-help.html.twig */
class __TwigTemplate_c912641744d986cf1168be260c694a9b9978112d98fe824b3be45d0284ced088 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 = ["safe_join" => 12];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['safe_join'],
[]
);
} 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 12
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["descriptions"] ?? null)), ""));
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/content-edit/file-upload-help.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 12,);
}
/** @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/content-edit/file-upload-help.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/content-edit/file-upload-help.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c912641744d986cf1168be260c694a9b9978112d98fe824b3be45d0284ced088', 'core/themes/classy/templates/content-edit/file-upload-help.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/content-edit/file-upload-help.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/content-edit/file-upload-help.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('file_upload_help', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 264)
Drupal\file\Plugin\Field\FieldWidget\FileWidget->formElement(Object, 0, Array, Array, Object) (Line: 143)
Drupal\image\Plugin\Field\FieldWidget\ImageWidget->formElement(Object, 0, Array, Array, Object) (Line: 344)
Drupal\Core\Field\WidgetBase->formSingleElement(Object, 0, Array, Array, Object) (Line: 162)
Drupal\file\Plugin\Field\FieldWidget\FileWidget->formMultipleElements(Object, Array, Object) (Line: 116)
Drupal\image\Plugin\Field\FieldWidget\ImageWidget->formMultipleElements(Object, Array, Object) (Line: 113)
Drupal\Core\Field\WidgetBase->form(Object, Array, Object) (Line: 178)
Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm(Object, Array, Object) (Line: 125)
Drupal\Core\Entity\ContentEntityForm->form(Array, Object, Object) (Line: 307)
Drupal\user\AccountForm->form(Array, Object, Object) (Line: 54)
Drupal\user\RegisterForm->form(Array, Object) (Line: 149)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 532)
Drupal\Core\Form\FormBuilder->retrieveForm('user_register_form', Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 61)
Drupal\Core\Entity\EntityFormBuilder->getForm(Object, 'register', Array) (Line: 723)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_radios.html.twig_kiF6vSKfwsHTbEpr-JIrssB-O', '<?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/form/radios.html.twig */
class __TwigTemplate_99624e0b696d837cd0a7b7cd6b165421581d718b7c6bc734397773f7b8e084ac 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "form-radios"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/radios.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 13,);
}
/** @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/form/radios.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/radios.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_radios.html.twig_kiF6vSKfwsHTbEpr-JIrssB-O', '<?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/form/radios.html.twig */
class __TwigTemplate_99624e0b696d837cd0a7b7cd6b165421581d718b7c6bc734397773f7b8e084ac 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "form-radios"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/radios.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 13,);
}
/** @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/form/radios.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/radios.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_99624e0b696d837cd0a7b7cd6b165421581d718b7c6bc734397773f7b8e084ac', 'core/themes/classy/templates/form/radios.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/radios.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/radios.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('radios', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 724)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_fieldset.html.twig_zjyy_SyndG6-Uoi2-CT56FI-J', '<?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/form/fieldset.html.twig */
class __TwigTemplate_a110f7e29fc46d86c2ea07d1d11546e2a0756b39e423a712ef93f683f1df60ad 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" => 24, "if" => 44];
$filters = ["escape" => 31];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', '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 24
$context["classes"] = [0 => "js-form-item", 1 => "form-item", 2 => "js-form-wrapper", 3 => "form-wrapper"];
// line 31
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 33
$context["legend_span_classes"] = [0 => "fieldset-legend", 1 => (( // line 35
($context["required"] ?? null)) ? ("js-form-required") : ("")), 2 => (( // line 36
($context["required"] ?? null)) ? ("form-required") : (""))];
// line 39
echo " ";
// line 40
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["legend"] ?? null), "attributes", [])), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["legend_span"] ?? null), "attributes", []), "addClass", [0 => ($context["legend_span_classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["legend"] ?? null), "title", [])), "html", null, true);
echo "
";
// line 44
if (($context["errors"] ?? null)) {
// line 45
echo "
<strong>";
// line 46
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null)), "html", null, true);
echo "</strong>
";
}
// line 49
echo " ";
if (($context["prefix"] ?? null)) {
// line 50
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null)), "html", null, true);
echo "
";
}
// line 52
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 53
if (($context["suffix"] ?? null)) {
// line 54
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null)), "html", null, true);
echo "
";
}
// line 56
echo " ";
if ($this->getAttribute(($context["description"] ?? null), "content", [])) {
// line 57
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["description"] ?? null), "attributes", []), "addClass", [0 => "description"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 59
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/fieldset.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 125 => 59, 117 => 57, 114 => 56, 108 => 54, 106 => 53, 101 => 52, 95 => 50, 92 => 49, 86 => 46, 83 => 45, 81 => 44, 73 => 41, 68 => 40, 66 => 39, 64 => 36, 63 => 35, 62 => 33, 57 => 31, 55 => 24,);
}
/** @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/form/fieldset.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/fieldset.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_fieldset.html.twig_zjyy_SyndG6-Uoi2-CT56FI-J', '<?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/form/fieldset.html.twig */
class __TwigTemplate_a110f7e29fc46d86c2ea07d1d11546e2a0756b39e423a712ef93f683f1df60ad 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" => 24, "if" => 44];
$filters = ["escape" => 31];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', '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 24
$context["classes"] = [0 => "js-form-item", 1 => "form-item", 2 => "js-form-wrapper", 3 => "form-wrapper"];
// line 31
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 33
$context["legend_span_classes"] = [0 => "fieldset-legend", 1 => (( // line 35
($context["required"] ?? null)) ? ("js-form-required") : ("")), 2 => (( // line 36
($context["required"] ?? null)) ? ("form-required") : (""))];
// line 39
echo " ";
// line 40
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["legend"] ?? null), "attributes", [])), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["legend_span"] ?? null), "attributes", []), "addClass", [0 => ($context["legend_span_classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["legend"] ?? null), "title", [])), "html", null, true);
echo "
";
// line 44
if (($context["errors"] ?? null)) {
// line 45
echo "
<strong>";
// line 46
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null)), "html", null, true);
echo "</strong>
";
}
// line 49
echo " ";
if (($context["prefix"] ?? null)) {
// line 50
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null)), "html", null, true);
echo "
";
}
// line 52
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 53
if (($context["suffix"] ?? null)) {
// line 54
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null)), "html", null, true);
echo "
";
}
// line 56
echo " ";
if ($this->getAttribute(($context["description"] ?? null), "content", [])) {
// line 57
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["description"] ?? null), "attributes", []), "addClass", [0 => "description"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 59
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/fieldset.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 125 => 59, 117 => 57, 114 => 56, 108 => 54, 106 => 53, 101 => 52, 95 => 50, 92 => 49, 86 => 46, 83 => 45, 81 => 44, 73 => 41, 68 => 40, 66 => 39, 64 => 36, 63 => 35, 62 => 33, 57 => 31, 55 => 24,);
}
/** @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/form/fieldset.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/fieldset.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a110f7e29fc46d86c2ea07d1d11546e2a0756b39e423a712ef93f683f1df60ad', 'core/themes/classy/templates/form/fieldset.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/fieldset.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/fieldset.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('fieldset', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 724)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_select.html.twig_RqFeHydD-niXsNDufPTrD2ovk', '<?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/form/select.html.twig */
class __TwigTemplate_8d11faca17f3273b831636bceec9f9250064c36fee03359d61b6e7de6fc05db4 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 = ["spaceless" => 13, "for" => 15, "if" => 16];
$filters = ["escape" => 14];
$functions = [];
try {
$this->sandbox->checkSecurity(
['spaceless', 'for', '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 13
ob_start(function () { return ''; });
// line 14
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 16
echo " ";
if (($this->getAttribute($context["option"], "type", []) == "optgroup")) {
// line 17
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["option"], "label", [])), "html", null, true);
echo "\">
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["option"], "options", []));
foreach ($context['_seq'] as $context["_key"] => $context["sub_option"]) {
// line 19
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["sub_option"], "value", [])), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar((($this->getAttribute($context["sub_option"], "selected", [])) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["sub_option"], "label", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 21
echo "
";
} elseif (($this->getAttribute( // line 22
$context["option"], "type", []) == "option")) {
// line 23
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["option"], "value", [])), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar((($this->getAttribute($context["option"], "selected", [])) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["option"], "label", [])), "html", null, true);
echo "
";
}
// line 25
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 26
echo "
";
echo trim(preg_replace('/>\s+<', ob_get_clean()));
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/select.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 112 => 26, 106 => 25, 96 => 23, 94 => 22, 91 => 21, 78 => 19, 74 => 18, 69 => 17, 66 => 16, 62 => 15, 57 => 14, 55 => 13,);
}
/** @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/form/select.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/select.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_select.html.twig_RqFeHydD-niXsNDufPTrD2ovk', '<?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/form/select.html.twig */
class __TwigTemplate_8d11faca17f3273b831636bceec9f9250064c36fee03359d61b6e7de6fc05db4 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 = ["spaceless" => 13, "for" => 15, "if" => 16];
$filters = ["escape" => 14];
$functions = [];
try {
$this->sandbox->checkSecurity(
['spaceless', 'for', '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 13
ob_start(function () { return ''; });
// line 14
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 16
echo " ";
if (($this->getAttribute($context["option"], "type", []) == "optgroup")) {
// line 17
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["option"], "label", [])), "html", null, true);
echo "\">
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["option"], "options", []));
foreach ($context['_seq'] as $context["_key"] => $context["sub_option"]) {
// line 19
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["sub_option"], "value", [])), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar((($this->getAttribute($context["sub_option"], "selected", [])) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["sub_option"], "label", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 21
echo "
";
} elseif (($this->getAttribute( // line 22
$context["option"], "type", []) == "option")) {
// line 23
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["option"], "value", [])), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar((($this->getAttribute($context["option"], "selected", [])) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["option"], "label", [])), "html", null, true);
echo "
";
}
// line 25
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 26
echo "
";
echo trim(preg_replace('/>\s+<', ob_get_clean()));
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/select.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 112 => 26, 106 => 25, 96 => 23, 94 => 22, 91 => 21, 78 => 19, 74 => 18, 69 => 17, 66 => 16, 62 => 15, 57 => 14, 55 => 13,);
}
/** @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/form/select.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/select.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_8d11faca17f3273b831636bceec9f9250064c36fee03359d61b6e7de6fc05db4', 'core/themes/classy/templates/form/select.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/select.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/select.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('select', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 724)
livreshebdo_preprocess_html(Array, 'html', Array) (Line: 287)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_html.html.twig_EnUvHdKA4Fzsukag-vFhCwOG1', '<?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/html/html.html.twig */
class __TwigTemplate_1457e8b3bc37d631e84928441df35525869934da4e0b9954660cf1b3c114310b 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" => 26, "if" => 45];
$filters = ["clean_class" => 29, "escape" => 35, "raw" => 57, "replace" => 57, "safe_join" => 57, "trim" => 217, "striptags" => 217, "render" => 217, "t" => 245];
$functions = ["url" => 44, "drupal_entity" => 357];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape', 'raw', 'replace', 'safe_join', 'trim', 'striptags', 'render', 't'],
['url', '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 26
$context["body_classes"] = [0 => "pad-userSub", 1 => (( // line 28
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), 2 => (( ! // line 29
($context["root_path"] ?? null)) ? ("path-frontpage") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null)))))), 3 => (( // line 30
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null))))) : ("")), 4 => (( // line 31
($context["db_offline"] ?? null)) ? ("db-offline") : (""))];
// line 34
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null)), "html", null, true);
echo ">
";
// line 44
$context["currentPath"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl("");
// line 45
echo " ";
if (twig_in_filter("https://pp-fr-lh.livreshebdo.fr/", ($context["currentPath"] ?? null))) {
// line 46
echo "
";
}
// line 48
echo " ";
if ((($context["meta_desc"] ?? null) == true)) {
// line 49
echo "
";
}
// line 51
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
";
// line 57
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null)), " | "), ["TITRE" => "", "nom" => "", "'" => "'"]));
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function () {
googletag.defineSlot('/21985444565/LH_MBAN', [[728, 90], [970, 90], [320, 100], [320, 50], [970, 250]], 'div-gpt-ad-1648119307903-0').addService(googletag.pubads());
";
// line 66
if (($context["is_front"] ?? null)) {
// line 67
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1648119768093-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MBAN_BTF', [[320, 50], [970, 250], [970, 90], [728, 90]], 'div-gpt-ad-1648119735456-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119790565-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU3_BTF', [[300, 250], [300, 600]], 'div-gpt-ad-1648119844495-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE_MOB', [320, 100], 'div-gpt-ad-1684750149174-0').addService(googletag.pubads());
";
} elseif ((( // line 73
($context["current_page"] ?? null) == "que_lire") || (($context["current_page"] ?? null) == "prix-litteraires"))) {
// line 74
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1648119768093-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119790565-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
";
} elseif (( // line 77
($context["current_page"] ?? null) == "meilleuresVentes")) {
// line 78
echo " googletag.defineSlot('/21985444565/LH_MPU3_BTF', [[300, 250], [300, 600]], 'div-gpt-ad-1648119844495-0').addService(googletag.pubads());
";
} elseif ((( // line 79
($context["current_page"] ?? null) == "agenda") || (($context["current_page"] ?? null) == "tous-prix"))) {
// line 80
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1648119768093-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
";
} elseif ((((((((((((((( // line 82
($context["current_page"] ?? null) == "articles") || (($context["current_page"] ?? null) == "article")) || (($context["current_page"] ?? null) == "tag_menu")) || (($context["current_page"] ?? null) == "thematiques")) || (($context["current_page"] ?? null) == "tribunes")) || (($context["current_page"] ?? null) == "coup-de-boll")) || (($context["current_page"] ?? null) == "diaporamas")) || (($context["current_page"] ?? null) == "dossiers")) || (($context["current_page"] ?? null) == "blogs")) || (($context["current_page"] ?? null) == "meilleures-ventes")) || (($context["current_page"] ?? null) == "livres")) || (($context["current_page"] ?? null) == "medias")) || (($context["current_page"] ?? null) == "detail-prix")) || (($context["current_page"] ?? null) == "personne"))) {
// line 83
echo " googletag.defineSlot('/21985444565/LH_MPU_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119790565-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
";
}
// line 86
echo " ";
if (((($context["current_page"] ?? null) == "articles") || (($context["current_page"] ?? null) == "article"))) {
// line 87
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 90], [970, 250], [728, 90]], 'div-gpt-ad-1677689996002-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE_MOB', [320, 100], 'div-gpt-ad-1684750149174-0').addService(googletag.pubads());
";
}
// line 90
echo " googletag.pubads().setRequestNonPersonalizedAds(0);
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
var tag = new ATInternet.Tracker.Tag({secure: true});
tag.page.set({name:document.title});
tag.publisher.set({
impression: {
campaignId: '[Background_header]',
}
});
tag.dispatch();
//at_ tagging
const params = new URLSearchParams(window.location.search)
for (const param of params) {
console.log(param)
}
function force() {
tag.privacy.setVisitorOptin();
tag.events.send('click.action', {
\"click\": \"clic optin\",
\"src_medium\": params.get('at_medium'),
\"src_campaign\": params.get('at_campaign'),
\"b:src_force\": true
}
);
}
tag.privacy.extendIncludeBuffer(\"stc/device\");
tag.privacy.extendIncludeBuffer(\"s2\");
tarteaucitron.services.pooolservice = {
\"key\": \"pooolservice\",
\"type\": \"analytic\",
\"name\": \"PooolService\",
\"needConsent\": true,
\"cookies\": ['poool'],
\"js\": function () {
\"use strict\";
// Quand l'utilisateur accepte les cookies
poool('config', 'cookies_enabled', true);
tarteaucitron.reloadThePage = true;
},
\"fallback\": function () {
\"use strict\";
// Quand l'utilisateur refuse les cookies ou qu'il ne les a pas encore accepté
poool('config', 'cookies_enabled', false);
tarteaucitron.reloadThePage = true;
}
};
//AT Internet
tarteaucitron.services.atinternet = {
\"key\": \"atinternet\",
\"type\": \"analytic\",
\"name\": \"AT Internet\",
\"needConsent\": true,
\"cookies\": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
\"js\": function () {
\"use strict\";
tarteaucitron.reloadThePage = true;
},
\"fallback\": function () {
\"use strict\";
// when use deny cookie
tarteaucitron.reloadThePage = true;
}
};
!function(w,d,s,u,p,t,o){
w[p]=w[p]||function(){(w[p]._q=w[p]._q||[]).push(arguments)},
t=d.createElement(s),o=d.getElementsByTagName(s)[0],
t.async=1,t.src=u,o.parentNode.insertBefore(t,o)
}(window, document, \"script\", \"https://assets.poool.fr/poool.min.js\", \"poool\");
poool(\"init\", \"PQ2MF-PZF8F-MX9C8-SRU8V\");
";
// line 168
if (($context["is_front"] ?? null)) {
// line 169
echo " poool(\"send\", \"page-view\", \"page\");
";
}
// line 171
echo " ";
if (($context["abonne"] ?? null)) {
// line 172
echo " poool(\"config\", \"custom_segment\", \"Abonne\");
";
}
// line 174
echo " ";
if (($context["membre"] ?? null)) {
// line 175
echo " poool(\"config\", \"custom_segment\", \"Membre\");
";
}
// line 177
echo " ";
if (($context["reseauxsociaux"] ?? null)) {
// line 178
echo " poool(\"config\", \"custom_segment\", \"reseauxsociaux\");
";
}
// line 180
echo " let x = document.cookie;
if (x.indexOf(\"pooolservice=true\") >= 0) {
poool('config', 'cookies_enabled', true);
poool('config', 'ati_auto_tracking_enabled', true);
}
(tarteaucitron.job = tarteaucitron.job || []).push('pooolservice');
(tarteaucitron.job = tarteaucitron.job || []).push('atinternet');
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '699370784177628');
fbq('track', 'PageView');
";
// line 208
if ((($context["current_page"] ?? null) == "article")) {
// line 209
echo "
{
\"@context\": \"https://schema.org\",
\"@type\": \"newsarticle\",
\"mainEntityOfPage\": {
\"@type\": \"WebPage\",
\"@id\": \"";
// line 215
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""), "#markup", [], "array")), ["http://" => "https://"]), "html", null, true);
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_html"] ?? null)), "html", null, true);
echo "\"
},
\"headline\": \"";
// line 217
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter(twig_trim_filter(strip_tags($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["headline"] ?? null))))), ["\"" => "'", "'" => "'"]));
echo "\",
\"image\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 220
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), "html", null, true);
echo "\",
\"caption\": \"";
// line 221
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null)))));
echo "\"
},
\"datePublished\": \"";
// line 223
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["datePublished"] ?? null)), "html", null, true);
echo "\",
\"dateModified\": \"";
// line 224
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dateModified"] ?? null)), "html", null, true);
echo "\",
\"author\": ";
// line 225
if (($context["authors"] ?? null)) {
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["authors"] ?? null)));
echo " ";
} else {
echo " \"\"";
}
echo ",
\"description\": \"";
// line 226
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter(twig_trim_filter(strip_tags($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["description"] ?? null))))), ["'" => " "]), "html", null, true);
echo "\",
\"isAccessibleForFree\": \"";
// line 227
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["is_free"] ?? null)), "html", null, true);
echo "\",
\"hasPart\":
{
\"@type\": \"WebPageElement\",
\"isAccessibleForFree\": \"";
// line 231
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["is_free"] ?? null)), "html", null, true);
echo "\",
\"cssSelector\" : \"";
// line 232
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["class_paywall"] ?? null)), "html", null, true);
echo "\",
\"value\" : \"";
// line 233
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter(twig_trim_filter(strip_tags($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["value"] ?? null))))), ["'" => "'", "\"" => "'", "
" => "", "
" => "", "\t" => ""]));
echo "\"
}
}
";
}
// line 238
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["body_classes"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 244
echo "<a>
";
// line 245
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Skip to main content"));
echo "
</a>
<ul>
<li>
<a>Menu</a>
</li>
<li>
<a>Lien utile</a>
</li>
</ul>
";
// line 331
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null)), "html", null, true);
echo "
";
// line 332
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null)), "html", null, true);
echo "
";
// line 333
$context["base_url"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl("");
// line 334
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
Nous contacter
";
// line 357
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("webform", "nous_contacter"), "html", null, true);
echo "
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.
";
// line 376
if ( !($context["logged_in"] ?? null)) {
// line 377
echo "
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
Inscrivez-vous à la newsletter
";
// line 398
echo "
";
// line 399
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["newsletter_subscription_form"] ?? null)), "html", null, true);
echo "
<a>J'ai déjà un compte Livres Hebdo</a>
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.
";
}
// line 418
echo "
";
// line 421
if ( !($context["logged_in"] ?? null)) {
// line 422
echo "
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
Connectez-vous
Email
Mot de passe
Se souvenir de moi
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["forgot_pass_url"] ?? null)), "html", null, true);
echo "\" target=\"_blank\" title>Mot de passe oublié ?</a>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["base_url"] ?? null)), "html", null, true);
echo "faq\" title>Consultez notre foire aux questions</a>
Connexion
Vous n'êtes pas encore inscrit ?
<a title>Inscrivez-vous</a>
";
}
// line 490
echo "
";
// line 493
if ( !($context["logged_in"] ?? null)) {
// line 494
echo "
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
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
";
// line 523
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["register_form"] ?? null)), "html", null, true);
echo "
En cliquant sur \"S’inscrire\", vous acceptez les
<a title>CGU de Livres Hebdo</a>. Nous gardons vos données strictement confidentielles.
Déjà inscrit ?
<a title>Connectez-vous</a>
";
}
// line 540
echo "
<a>
Close modal
</a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["base_url"] ?? null), "#markup", [], "array")), ["http://" => "https://"]), "html", null, true);
echo "themes/livreshebdo/assets/images/Mockup-popup.png\"
alt=\"\"/>
Le nombre limite de connexions simultanées de votre abonnement a été atteint
<a>
Je me connecte
</a>
Une autre connexion de votre abonnement Livres Hebdo sera interrompue.
Vous souhaitez bénéficier de davantage de connexions simultanées ?
Contactez <a>abonnement@livreshebdo.fr</a>
pour une offre multi-accès.
Back
Votre navigateur ne reconnaît pas les scripts.
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_audio"] ?? null)), "html", null, true);
echo "\">
var _nAdzq=_nAdzq||[];(function(){
_nAdzq.push([\"setIds\",\"2dc46c8927f841af\"]);
_nAdzq.push([\"startR\"]);
var e=\"https://notifpush.com/scripts/\";
var t=document.createElement(\"script\");
t.type=\"text/javascript\";
t.defer=true;
t.async=true;
t.src=e+\"nadz-sdk.js\";
var s=document.getElementsByTagName(\"script\")[0];
s.parentNode.insertBefore(t,s)})();
var _nAdzqTriggers=_nAdzqTriggers || [];
var runNadzTriggers = function() {
_nAdzqTriggers.push([\"setIds\", \"2dc46c8927f841af\"]);
var e=\"https://notifpush.com/scripts/\";
var t=document.createElement(\"script\");
t.type=\"text/javascript\";
t.defer=true;t.async=true;
t.src=e+\"full-script-trigger.min.js\";
var s=document.getElementsByTagName(\"script\")[0];
s.parentNode.insertBefore(t,s);
};
runNadzTriggers();
if (typeof jQuery.cookie('tarteaucitron') !== \"undefined\") {
var pooolCookie = jQuery.cookie('tarteaucitron');
// if (pooolCookie.includes('pooolservice=true')) {
// poool('config', 'cookies_enabled', true);
// poool('config', 'ati_auto_tracking_enabled', true);
// } else {
// poool('config', 'cookies_enabled', false);
// poool('config', 'ati_auto_tracking_enabled', false);
// }
if (pooolCookie.includes('atinternet=true')) {
tag.privacy.setVisitorOptin();
tag.dispatch();
} else {
tag.privacy.setVisitorMode('cnil', 'exempt');
tag.dispatch();
}
}
";
// line 632
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("block_content", 7), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/html/html.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 828 => 632, 776 => 583, 741 => 551, 728 => 540, 708 => 523, 677 => 494, 675 => 493, 670 => 490, 646 => 469, 640 => 466, 594 => 422, 592 => 421, 587 => 418, 565 => 399, 562 => 398, 540 => 377, 538 => 376, 516 => 357, 491 => 335, 487 => 334, 485 => 333, 481 => 332, 477 => 331, 388 => 245, 385 => 244, 381 => 239, 378 => 238, 369 => 233, 365 => 232, 361 => 231, 354 => 227, 350 => 226, 340 => 225, 336 => 224, 332 => 223, 327 => 221, 323 => 220, 317 => 217, 311 => 215, 303 => 209, 301 => 208, 271 => 180, 267 => 178, 264 => 177, 260 => 175, 257 => 174, 253 => 172, 250 => 171, 246 => 169, 244 => 168, 164 => 90, 159 => 87, 156 => 86, 151 => 83, 149 => 82, 145 => 80, 143 => 79, 140 => 78, 138 => 77, 133 => 74, 131 => 73, 123 => 67, 121 => 66, 111 => 59, 107 => 58, 103 => 57, 99 => 56, 92 => 51, 88 => 49, 85 => 48, 81 => 46, 78 => 45, 76 => 44, 64 => 35, 61 => 34, 59 => 31, 58 => 30, 57 => 29, 56 => 28, 55 => 26,);
}
/** @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/html/html.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/html/html.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_html.html.twig_EnUvHdKA4Fzsukag-vFhCwOG1', '<?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/html/html.html.twig */
class __TwigTemplate_1457e8b3bc37d631e84928441df35525869934da4e0b9954660cf1b3c114310b 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" => 26, "if" => 45];
$filters = ["clean_class" => 29, "escape" => 35, "raw" => 57, "replace" => 57, "safe_join" => 57, "trim" => 217, "striptags" => 217, "render" => 217, "t" => 245];
$functions = ["url" => 44, "drupal_entity" => 357];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape', 'raw', 'replace', 'safe_join', 'trim', 'striptags', 'render', 't'],
['url', '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 26
$context["body_classes"] = [0 => "pad-userSub", 1 => (( // line 28
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), 2 => (( ! // line 29
($context["root_path"] ?? null)) ? ("path-frontpage") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null)))))), 3 => (( // line 30
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null))))) : ("")), 4 => (( // line 31
($context["db_offline"] ?? null)) ? ("db-offline") : (""))];
// line 34
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null)), "html", null, true);
echo ">
";
// line 44
$context["currentPath"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl("");
// line 45
echo " ";
if (twig_in_filter("https://pp-fr-lh.livreshebdo.fr/", ($context["currentPath"] ?? null))) {
// line 46
echo "
";
}
// line 48
echo " ";
if ((($context["meta_desc"] ?? null) == true)) {
// line 49
echo "
";
}
// line 51
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
";
// line 57
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null)), " | "), ["TITRE" => "", "nom" => "", "'" => "'"]));
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function () {
googletag.defineSlot('/21985444565/LH_MBAN', [[728, 90], [970, 90], [320, 100], [320, 50], [970, 250]], 'div-gpt-ad-1648119307903-0').addService(googletag.pubads());
";
// line 66
if (($context["is_front"] ?? null)) {
// line 67
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1648119768093-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MBAN_BTF', [[320, 50], [970, 250], [970, 90], [728, 90]], 'div-gpt-ad-1648119735456-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119790565-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU3_BTF', [[300, 250], [300, 600]], 'div-gpt-ad-1648119844495-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE_MOB', [320, 100], 'div-gpt-ad-1684750149174-0').addService(googletag.pubads());
";
} elseif ((( // line 73
($context["current_page"] ?? null) == "que_lire") || (($context["current_page"] ?? null) == "prix-litteraires"))) {
// line 74
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1648119768093-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119790565-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
";
} elseif (( // line 77
($context["current_page"] ?? null) == "meilleuresVentes")) {
// line 78
echo " googletag.defineSlot('/21985444565/LH_MPU3_BTF', [[300, 250], [300, 600]], 'div-gpt-ad-1648119844495-0').addService(googletag.pubads());
";
} elseif ((( // line 79
($context["current_page"] ?? null) == "agenda") || (($context["current_page"] ?? null) == "tous-prix"))) {
// line 80
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1648119768093-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
";
} elseif ((((((((((((((( // line 82
($context["current_page"] ?? null) == "articles") || (($context["current_page"] ?? null) == "article")) || (($context["current_page"] ?? null) == "tag_menu")) || (($context["current_page"] ?? null) == "thematiques")) || (($context["current_page"] ?? null) == "tribunes")) || (($context["current_page"] ?? null) == "coup-de-boll")) || (($context["current_page"] ?? null) == "diaporamas")) || (($context["current_page"] ?? null) == "dossiers")) || (($context["current_page"] ?? null) == "blogs")) || (($context["current_page"] ?? null) == "meilleures-ventes")) || (($context["current_page"] ?? null) == "livres")) || (($context["current_page"] ?? null) == "medias")) || (($context["current_page"] ?? null) == "detail-prix")) || (($context["current_page"] ?? null) == "personne"))) {
// line 83
echo " googletag.defineSlot('/21985444565/LH_MPU_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119790565-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MPU2_BTF', [[300, 600], [300, 250]], 'div-gpt-ad-1648119816805-0').addService(googletag.pubads());
";
}
// line 86
echo " ";
if (((($context["current_page"] ?? null) == "articles") || (($context["current_page"] ?? null) == "article"))) {
// line 87
echo " googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE', [[970, 90], [970, 250], [728, 90]], 'div-gpt-ad-1677689996002-0').addService(googletag.pubads());
googletag.defineSlot('/21985444565/LH_MBAN_BTF_ALAUNE_MOB', [320, 100], 'div-gpt-ad-1684750149174-0').addService(googletag.pubads());
";
}
// line 90
echo " googletag.pubads().setRequestNonPersonalizedAds(0);
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
var tag = new ATInternet.Tracker.Tag({secure: true});
tag.page.set({name:document.title});
tag.publisher.set({
impression: {
campaignId: '[Background_header]',
}
});
tag.dispatch();
//at_ tagging
const params = new URLSearchParams(window.location.search)
for (const param of params) {
console.log(param)
}
function force() {
tag.privacy.setVisitorOptin();
tag.events.send('click.action', {
\"click\": \"clic optin\",
\"src_medium\": params.get('at_medium'),
\"src_campaign\": params.get('at_campaign'),
\"b:src_force\": true
}
);
}
tag.privacy.extendIncludeBuffer(\"stc/device\");
tag.privacy.extendIncludeBuffer(\"s2\");
tarteaucitron.services.pooolservice = {
\"key\": \"pooolservice\",
\"type\": \"analytic\",
\"name\": \"PooolService\",
\"needConsent\": true,
\"cookies\": ['poool'],
\"js\": function () {
\"use strict\";
// Quand l'utilisateur accepte les cookies
poool('config', 'cookies_enabled', true);
tarteaucitron.reloadThePage = true;
},
\"fallback\": function () {
\"use strict\";
// Quand l'utilisateur refuse les cookies ou qu'il ne les a pas encore accepté
poool('config', 'cookies_enabled', false);
tarteaucitron.reloadThePage = true;
}
};
//AT Internet
tarteaucitron.services.atinternet = {
\"key\": \"atinternet\",
\"type\": \"analytic\",
\"name\": \"AT Internet\",
\"needConsent\": true,
\"cookies\": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
\"js\": function () {
\"use strict\";
tarteaucitron.reloadThePage = true;
},
\"fallback\": function () {
\"use strict\";
// when use deny cookie
tarteaucitron.reloadThePage = true;
}
};
!function(w,d,s,u,p,t,o){
w[p]=w[p]||function(){(w[p]._q=w[p]._q||[]).push(arguments)},
t=d.createElement(s),o=d.getElementsByTagName(s)[0],
t.async=1,t.src=u,o.parentNode.insertBefore(t,o)
}(window, document, \"script\", \"https://assets.poool.fr/poool.min.js\", \"poool\");
poool(\"init\", \"PQ2MF-PZF8F-MX9C8-SRU8V\");
";
// line 168
if (($context["is_front"] ?? null)) {
// line 169
echo " poool(\"send\", \"page-view\", \"page\");
";
}
// line 171
echo " ";
if (($context["abonne"] ?? null)) {
// line 172
echo " poool(\"config\", \"custom_segment\", \"Abonne\");
";
}
// line 174
echo " ";
if (($context["membre"] ?? null)) {
// line 175
echo " poool(\"config\", \"custom_segment\", \"Membre\");
";
}
// line 177
echo " ";
if (($context["reseauxsociaux"] ?? null)) {
// line 178
echo " poool(\"config\", \"custom_segment\", \"reseauxsociaux\");
";
}
// line 180
echo " let x = document.cookie;
if (x.indexOf(\"pooolservice=true\") >= 0) {
poool('config', 'cookies_enabled', true);
poool('config', 'ati_auto_tracking_enabled', true);
}
(tarteaucitron.job = tarteaucitron.job || []).push('pooolservice');
(tarteaucitron.job = tarteaucitron.job || []).push('atinternet');
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '699370784177628');
fbq('track', 'PageView');
";
// line 208
if ((($context["current_page"] ?? null) == "article")) {
// line 209
echo "
{
\"@context\": \"https://schema.org\",
\"@type\": \"newsarticle\",
\"mainEntityOfPage\": {
\"@type\": \"WebPage\",
\"@id\": \"";
// line 215
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute($this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl(""), "#markup", [], "array")), ["http://" => "https://"]), "html", null, true);
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_html"] ?? null)), "html", null, true);
echo "\"
},
\"headline\": \"";
// line 217
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter(twig_trim_filter(strip_tags($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["headline"] ?? null))))), ["\"" => "'", "'" => "'"]));
echo "\",
\"image\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 220
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image"] ?? null)), "html", null, true);
echo "\",
\"caption\": \"";
// line 221
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_trim_filter(strip_tags($this->sandbox->ensureToStringAllowed(($context["legend"] ?? null)))));
echo "\"
},
\"datePublished\": \"";
// line 223
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["datePublished"] ?? null)), "html", null, true);
echo "\",
\"dateModified\": \"";
// line 224
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dateModified"] ?? null)), "html", null, true);
echo "\",
\"author\": ";
// line 225
if (($context["authors"] ?? null)) {
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["authors"] ?? null)));
echo " ";
} else {
echo " \"\"";
}
echo ",
\"description\": \"";
// line 226
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter(twig_trim_filter(strip_tags($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["description"] ?? null))))), ["'" => " "]), "html", null, true);
echo "\",
\"isAccessibleForFree\": \"";
// line 227
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["is_free"] ?? null)), "html", null, true);
echo "\",
\"hasPart\":
{
\"@type\": \"WebPageElement\",
\"isAccessibleForFree\": \"";
// line 231
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["is_free"] ?? null)), "html", null, true);
echo "\",
\"cssSelector\" : \"";
// line 232
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["class_paywall"] ?? null)), "html", null, true);
echo "\",
\"value\" : \"";
// line 233
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_replace_filter(twig_trim_filter(strip_tags($this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["value"] ?? null))))), ["'" => "'", "\"" => "'", "
" => "", "
" => "", "\t" => ""]));
echo "\"
}
}
";
}
// line 238
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["body_classes"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 244
echo "<a>
";
// line 245
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Skip to main content"));
echo "
</a>
<ul>
<li>
<a>Menu</a>
</li>
<li>
<a>Lien utile</a>
</li>
</ul>
";
// line 331
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null)), "html", null, true);
echo "
";
// line 332
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null)), "html", null, true);
echo "
";
// line 333
$context["base_url"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl("");
// line 334
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)), "html", null, true);
echo "\">
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
Nous contacter
";
// line 357
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("webform", "nous_contacter"), "html", null, true);
echo "
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.
";
// line 376
if ( !($context["logged_in"] ?? null)) {
// line 377
echo "
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
Inscrivez-vous à la newsletter
";
// line 398
echo "
";
// line 399
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["newsletter_subscription_form"] ?? null)), "html", null, true);
echo "
<a>J'ai déjà un compte Livres Hebdo</a>
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.
";
}
// line 418
echo "
";
// line 421
if ( !($context["logged_in"] ?? null)) {
// line 422
echo "
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
Connectez-vous
Email
Mot de passe
Se souvenir de moi
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["forgot_pass_url"] ?? null)), "html", null, true);
echo "\" target=\"_blank\" title>Mot de passe oublié ?</a>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["base_url"] ?? null)), "html", null, true);
echo "faq\" title>Consultez notre foire aux questions</a>
Connexion
Vous n'êtes pas encore inscrit ?
<a title>Inscrivez-vous</a>
";
}
// line 490
echo "
";
// line 493
if ( !($context["logged_in"] ?? null)) {
// line 494
echo "
<a>
Close modal
</a>
<a>
User Account
</a>
<a>
logo
</a>
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
";
// line 523
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["register_form"] ?? null)), "html", null, true);
echo "
En cliquant sur \"S’inscrire\", vous acceptez les
<a title>CGU de Livres Hebdo</a>. Nous gardons vos données strictement confidentielles.
Déjà inscrit ?
<a title>Connectez-vous</a>
";
}
// line 540
echo "
<a>
Close modal
</a>
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["base_url"] ?? null), "#markup", [], "array")), ["http://" => "https://"]), "html", null, true);
echo "themes/livreshebdo/assets/images/Mockup-popup.png\"
alt=\"\"/>
Le nombre limite de connexions simultanées de votre abonnement a été atteint
<a>
Je me connecte
</a>
Une autre connexion de votre abonnement Livres Hebdo sera interrompue.
Vous souhaitez bénéficier de davantage de connexions simultanées ?
Contactez <a>abonnement@livreshebdo.fr</a>
pour une offre multi-accès.
Back
Votre navigateur ne reconnaît pas les scripts.
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_audio"] ?? null)), "html", null, true);
echo "\">
var _nAdzq=_nAdzq||[];(function(){
_nAdzq.push([\"setIds\",\"2dc46c8927f841af\"]);
_nAdzq.push([\"startR\"]);
var e=\"https://notifpush.com/scripts/\";
var t=document.createElement(\"script\");
t.type=\"text/javascript\";
t.defer=true;
t.async=true;
t.src=e+\"nadz-sdk.js\";
var s=document.getElementsByTagName(\"script\")[0];
s.parentNode.insertBefore(t,s)})();
var _nAdzqTriggers=_nAdzqTriggers || [];
var runNadzTriggers = function() {
_nAdzqTriggers.push([\"setIds\", \"2dc46c8927f841af\"]);
var e=\"https://notifpush.com/scripts/\";
var t=document.createElement(\"script\");
t.type=\"text/javascript\";
t.defer=true;t.async=true;
t.src=e+\"full-script-trigger.min.js\";
var s=document.getElementsByTagName(\"script\")[0];
s.parentNode.insertBefore(t,s);
};
runNadzTriggers();
if (typeof jQuery.cookie('tarteaucitron') !== \"undefined\") {
var pooolCookie = jQuery.cookie('tarteaucitron');
// if (pooolCookie.includes('pooolservice=true')) {
// poool('config', 'cookies_enabled', true);
// poool('config', 'ati_auto_tracking_enabled', true);
// } else {
// poool('config', 'cookies_enabled', false);
// poool('config', 'ati_auto_tracking_enabled', false);
// }
if (pooolCookie.includes('atinternet=true')) {
tag.privacy.setVisitorOptin();
tag.dispatch();
} else {
tag.privacy.setVisitorMode('cnil', 'exempt');
tag.dispatch();
}
}
";
// line 632
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\twig_tweak\TwigExtension')->drupalEntity("block_content", 7), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/html/html.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 828 => 632, 776 => 583, 741 => 551, 728 => 540, 708 => 523, 677 => 494, 675 => 493, 670 => 490, 646 => 469, 640 => 466, 594 => 422, 592 => 421, 587 => 418, 565 => 399, 562 => 398, 540 => 377, 538 => 376, 516 => 357, 491 => 335, 487 => 334, 485 => 333, 481 => 332, 477 => 331, 388 => 245, 385 => 244, 381 => 239, 378 => 238, 369 => 233, 365 => 232, 361 => 231, 354 => 227, 350 => 226, 340 => 225, 336 => 224, 332 => 223, 327 => 221, 323 => 220, 317 => 217, 311 => 215, 303 => 209, 301 => 208, 271 => 180, 267 => 178, 264 => 177, 260 => 175, 257 => 174, 253 => 172, 250 => 171, 246 => 169, 244 => 168, 164 => 90, 159 => 87, 156 => 86, 151 => 83, 149 => 82, 145 => 80, 143 => 79, 140 => 78, 138 => 77, 133 => 74, 131 => 73, 123 => 67, 121 => 66, 111 => 59, 107 => 58, 103 => 57, 99 => 56, 92 => 51, 88 => 49, 85 => 48, 81 => 46, 78 => 45, 76 => 44, 64 => 35, 61 => 34, 59 => 31, 58 => 30, 57 => 29, 56 => 28, 55 => 26,);
}
/** @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/html/html.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/html/html.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_1457e8b3bc37d631e84928441df35525869934da4e0b9954660cf1b3c114310b', 'themes/livreshebdo/template/html/html.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/html/html.html.twig') (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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_page--article-entity.html_fKitALcn0tI9edGyXgi--Vfbp', '<?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/page/page--article-entity.html.twig */
class __TwigTemplate_3b21e48be208a9a1f0fd19b02cabbcfc72e6ef124007495b50ab32ce6214a365 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" => 18];
$filters = ["escape" => 3];
$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 1
echo "
";
// line 3
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "header", [])), "html", null, true);
echo "
<a>
share
</a>
";
// line 18
if (((($context["header_on_other"] ?? null) == 1) && !twig_test_empty(($context["image_header_other"] ?? null)))) {
// line 19
echo "
";
}
// line 21
echo "
";
// line 22
if (((($context["header_on_other"] ?? null) == 1) && !twig_test_empty(($context["image_header_other"] ?? null)))) {
// line 23
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_habillage_other"] ?? null)), "html", null, true);
echo "\" onclick=\"return tag.publisher.send({elem:this,click:{campaignId:'[Background_header]'}});\" class=\"ad-background-link\"
target=\"_blank\">env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_header_other"] ?? null)), "html", null, true);
echo "\" alt=\"\"></a>
";
}
// line 29
echo "
";
// line 33
if ( !twig_test_empty(($context["image_header_other"] ?? null))) {
// line 34
echo "
";
}
// line 36
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "grand_pub_header", [])), "html", null, true);
echo "
";
// line 37
if ( !twig_test_empty(($context["image_header_other"] ?? null))) {
// line 38
echo "
";
}
// line 40
echo "
";
// line 41
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "content", [])), "html", null, true);
echo "
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1677689996002-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1684750149174-0'); });
";
// line 61
if ($this->getAttribute(($context["page"] ?? null), "recommandation", [])) {
// line 62
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "recommandation", [])), "html", null, true);
echo "
";
}
// line 64
echo "
";
// line 66
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "pub_carre_center", [])), "html", null, true);
echo "
Les dernières
actualités
";
// line 80
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "last_article", [])), "html", null, true);
echo "
<a>
Voir toute l’actualité
</a>
";
// line 92
if (((($context["header_on_other"] ?? null) == 1) && !twig_test_empty(($context["image_header_other"] ?? null)))) {
// line 93
echo "
";
}
// line 95
echo "
";
// line 97
if ($this->getAttribute(($context["page"] ?? null), "subscribe", [])) {
// line 98
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "subscribe", [])), "html", null, true);
echo "
";
}
// line 100
echo "
";
// line 101
if ($this->getAttribute(($context["page"] ?? null), "footer", [])) {
// line 102
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "footer", [])), "html", null, true);
echo "
";
}
// line 104
echo "
<a>
Close modal
</a>
Partager
<a>
facebook
</a>
<a>
twitter
</a>
<a>
whatsapp
</a>
<a>
email
</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/page/page--article-entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 229 => 104, 223 => 102, 221 => 101, 218 => 100, 212 => 98, 210 => 97, 206 => 95, 202 => 93, 200 => 92, 185 => 80, 168 => 66, 164 => 64, 158 => 62, 156 => 61, 133 => 41, 130 => 40, 126 => 38, 124 => 37, 119 => 36, 115 => 34, 113 => 33, 105 => 30, 102 => 29, 96 => 26, 91 => 24, 88 => 23, 86 => 22, 83 => 21, 79 => 19, 77 => 18, 59 => 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/page/page--article-entity.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/page/page--article-entity.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_page--article-entity.html_fKitALcn0tI9edGyXgi--Vfbp', '<?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/page/page--article-entity.html.twig */
class __TwigTemplate_3b21e48be208a9a1f0fd19b02cabbcfc72e6ef124007495b50ab32ce6214a365 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" => 18];
$filters = ["escape" => 3];
$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 1
echo "
";
// line 3
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "header", [])), "html", null, true);
echo "
<a>
share
</a>
";
// line 18
if (((($context["header_on_other"] ?? null) == 1) && !twig_test_empty(($context["image_header_other"] ?? null)))) {
// line 19
echo "
";
}
// line 21
echo "
";
// line 22
if (((($context["header_on_other"] ?? null) == 1) && !twig_test_empty(($context["image_header_other"] ?? null)))) {
// line 23
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url_habillage_other"] ?? null)), "html", null, true);
echo "\" onclick=\"return tag.publisher.send({elem:this,click:{campaignId:'[Background_header]'}});\" class=\"ad-background-link\"
target=\"_blank\">env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_header_other"] ?? null)), "html", null, true);
echo "\" alt=\"\"></a>
";
}
// line 29
echo "
";
// line 33
if ( !twig_test_empty(($context["image_header_other"] ?? null))) {
// line 34
echo "
";
}
// line 36
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "grand_pub_header", [])), "html", null, true);
echo "
";
// line 37
if ( !twig_test_empty(($context["image_header_other"] ?? null))) {
// line 38
echo "
";
}
// line 40
echo "
";
// line 41
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "content", [])), "html", null, true);
echo "
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1677689996002-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1684750149174-0'); });
";
// line 61
if ($this->getAttribute(($context["page"] ?? null), "recommandation", [])) {
// line 62
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "recommandation", [])), "html", null, true);
echo "
";
}
// line 64
echo "
";
// line 66
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "pub_carre_center", [])), "html", null, true);
echo "
Les dernières
actualités
";
// line 80
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "last_article", [])), "html", null, true);
echo "
<a>
Voir toute l’actualité
</a>
";
// line 92
if (((($context["header_on_other"] ?? null) == 1) && !twig_test_empty(($context["image_header_other"] ?? null)))) {
// line 93
echo "
";
}
// line 95
echo "
";
// line 97
if ($this->getAttribute(($context["page"] ?? null), "subscribe", [])) {
// line 98
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "subscribe", [])), "html", null, true);
echo "
";
}
// line 100
echo "
";
// line 101
if ($this->getAttribute(($context["page"] ?? null), "footer", [])) {
// line 102
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "footer", [])), "html", null, true);
echo "
";
}
// line 104
echo "
<a>
Close modal
</a>
Partager
<a>
facebook
</a>
<a>
twitter
</a>
<a>
whatsapp
</a>
<a>
email
</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/page/page--article-entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 229 => 104, 223 => 102, 221 => 101, 218 => 100, 212 => 98, 210 => 97, 206 => 95, 202 => 93, 200 => 92, 185 => 80, 168 => 66, 164 => 64, 158 => 62, 156 => 61, 133 => 41, 130 => 40, 126 => 38, 124 => 37, 119 => 36, 115 => 34, 113 => 33, 105 => 30, 102 => 29, 96 => 26, 91 => 24, 88 => 23, 86 => 22, 83 => 21, 79 => 19, 77 => 18, 59 => 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/page/page--article-entity.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/page/page--article-entity.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_3b21e48be208a9a1f0fd19b02cabbcfc72e6ef124007495b50ab32ce6214a365', 'themes/livreshebdo/template/page/page--article-entity.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/page/page--article-entity.html.twig') (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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_block--views-exposed-filt_ve6hoxItR05x9FQGAuC1W7axR', '<?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/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig */
class __TwigTemplate_17432e0314ab18585d3ef25e944ecbe7fa4341db5c5bf1d515249286de3adeca 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 = ["block" => 6];
$filters = ["escape" => 7];
$functions = [];
try {
$this->sandbox->checkSecurity(
['block'],
['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 "
<a>
Close subBlock
</a>
";
// line 6
$this->displayBlock('content', $context, $blocks);
// line 9
echo "
";
}
// line 6
public function block_content($context, array $blocks = [])
{
// line 7
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 "themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig";
}
public function getDebugInfo()
{
return array ( 74 => 7, 71 => 6, 65 => 9, 63 => 6, 56 => 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/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_block--views-exposed-filt_ve6hoxItR05x9FQGAuC1W7axR', '<?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/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig */
class __TwigTemplate_17432e0314ab18585d3ef25e944ecbe7fa4341db5c5bf1d515249286de3adeca 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 = ["block" => 6];
$filters = ["escape" => 7];
$functions = [];
try {
$this->sandbox->checkSecurity(
['block'],
['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 "
<a>
Close subBlock
</a>
";
// line 6
$this->displayBlock('content', $context, $blocks);
// line 9
echo "
";
}
// line 6
public function block_content($context, array $blocks = [])
{
// line 7
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 "themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig";
}
public function getDebugInfo()
{
return array ( 74 => 7, 71 => 6, 65 => 9, 63 => 6, 56 => 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/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_17432e0314ab18585d3ef25e944ecbe7fa4341db5c5bf1d515249286de3adeca', 'themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.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: 59)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_views-exposed-form--page-_0X6uYMLu0LUbeBjy9QhqXzwqr', '<?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/views-exposed-form--page-de-recherche.html.twig */
class __TwigTemplate_6c828f13a8a0448309d497129b801642aea5842b77cc80ecb6e1642f9b7824f5 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 = [];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} 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 12
echo "
Rechercher
<a>
search
</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig";
}
public function getDebugInfo()
{
return array ( 55 => 12,);
}
/** @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/views-exposed-form--page-de-recherche.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_views-exposed-form--page-_0X6uYMLu0LUbeBjy9QhqXzwqr', '<?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/views-exposed-form--page-de-recherche.html.twig */
class __TwigTemplate_6c828f13a8a0448309d497129b801642aea5842b77cc80ecb6e1642f9b7824f5 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 = [];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} 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 12
echo "
Rechercher
<a>
search
</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig";
}
public function getDebugInfo()
{
return array ( 55 => 12,);
}
/** @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/views-exposed-form--page-de-recherche.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_6c828f13a8a0448309d497129b801642aea5842b77cc80ecb6e1642f9b7824f5', 'themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/views/views-exposed-form--page-de-recherche.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_exposed_form__page_de_recherche', 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: 75)
__TwigTemplate_17432e0314ab18585d3ef25e944ecbe7fa4341db5c5bf1d515249286de3adeca->block_content(Array, Array) (Line: 216)
Twig\Template->displayBlock('content', Array, Array) (Line: 63)
__TwigTemplate_17432e0314ab18585d3ef25e944ecbe7fa4341db5c5bf1d515249286de3adeca->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/bloc/block--views-exposed-filter-block--page-de-recherche-page-1.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: 59)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_region--header.html.twig_lQqfxIskC21sXzt8kFZXeZExm', '<?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/region/region--header.html.twig */
class __TwigTemplate_ce7bcb0cbcc09fc12b00f95b21f8bff24613fdf2627b699664f5e34a1720e935 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" => 15];
$filters = ["escape" => 6, "replace" => 6];
$functions = ["url" => 1, "path" => 58];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape', 'replace'],
['url', '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
$context["frontUrl"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl("");
// line 2
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["frontUrl"] ?? null), "#markup", [], "array")), ["http://" => "https://"]), "html", null, true);
echo "\" title=\"\">
";
// line 15
if (($context["is_front"] ?? null)) {
// line 16
echo " LivresHebdo
";
} else {
// line 18
echo " LivresHebdo
";
}
// line 20
echo " </a>
<a>
open menu
</a>
Rechercher
<a>
search
</a>
";
// line 42
if (($context["content"] ?? null)) {
// line 43
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 44
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
// line 47
echo "
getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
echo " connecte ";
}
echo "\">
<ul>
<li>
<a data-color>
Search
</a>
</li>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], []), "html", null, true);
echo "\" title=\"\" class=\"menu-right__link\" ";
if ( !($context["connected"] ?? null)) {
echo " data-modal-open=\"connexion\" ";
}
echo ">
";
// line 59
if (!twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method"))) {
// line 60
echo " ";
if ((( !twig_test_empty(($context["uri_file"] ?? null)) && (($context["exist_file"] ?? null) == true)) && (($context["file_icon_LH"] ?? null) != ($context["file_id"] ?? null)))) {
// line 61
echo " ";
$context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "icon_user_header", "#class" => "profil-image", "#uri" => // line 65
($context["uri_file"] ?? null)];
// line 67
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true);
echo "
";
} else {
// line 69
echo "
";
}
}
// line 72
if ((($context["connected"] ?? null) && !twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 73
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_user_name"] ?? null)), "html", null, true);
echo "
";
}
// line 75
if ( !($context["connected"] ?? null)) {
// line 76
echo " Connexion
";
}
// line 78
echo "</a>
";
// line 79
if ((($context["connected"] ?? null) && !twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 80
echo "
<ul>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], []), "html", null, true);
echo "\">Mon Compte</a>
";
// line 87
if ((($context["connected"] ?? null) && twig_in_filter("abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 88
echo " Abonné
";
} elseif ((( // line 89
($context["connected"] ?? null) && twig_in_filter("membre", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method"))) && !twig_in_filter("abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 90
echo " Non Abonné
";
}
// line 92
echo "
";
// line 93
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_user_email"] ?? null)), "html", null, true);
echo "
</li>
<li>
<ul>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], ["fragment" => "abonnement"]), "html", null, true);
echo "\" title>Mon abonnement</a>
</li>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], ["fragment" => "newsletters"]), "html", null, true);
echo "\">Mes newsletters</a>
</li>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], ["fragment" => "achat"]), "html", null, true);
echo "\">Mes achats d'articles</a>
</li>
<li>
<a>Se déconnecter</a>
</li>
</ul>
</li>
</ul>
<a>
Mes magazines
</a>
Besoin d'aide ?
<a title> Consulter notre FAQ</a>
";
}
// line 130
echo "</li>
<li>
";
// line 132
if (($context["connected"] ?? null)) {
// line 133
echo "<a>
Mes magazines
</a>
";
} else {
// line 137
echo "<a>
Abonnez-vous
</a>
";
}
// line 141
echo "</li>
</ul>
";
// line 145
if (($context["connected"] ?? null)) {
// line 146
echo " <a>
Mes magazines
</a>
";
} else {
// line 150
echo " <a>
Abonnez-vous
</a>
";
}
// line 154
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/region/region--header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 300 => 154, 294 => 150, 288 => 146, 286 => 145, 280 => 141, 274 => 137, 268 => 133, 266 => 132, 262 => 130, 233 => 104, 227 => 101, 221 => 98, 213 => 93, 210 => 92, 206 => 90, 204 => 89, 201 => 88, 199 => 87, 194 => 85, 187 => 80, 185 => 79, 182 => 78, 178 => 76, 176 => 75, 170 => 73, 168 => 72, 163 => 69, 157 => 67, 155 => 65, 153 => 61, 150 => 60, 148 => 59, 140 => 58, 126 => 49, 122 => 47, 116 => 44, 111 => 43, 109 => 42, 85 => 20, 81 => 18, 77 => 16, 75 => 15, 63 => 6, 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/region/region--header.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/region/region--header.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_region--header.html.twig_lQqfxIskC21sXzt8kFZXeZExm', '<?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/region/region--header.html.twig */
class __TwigTemplate_ce7bcb0cbcc09fc12b00f95b21f8bff24613fdf2627b699664f5e34a1720e935 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" => 15];
$filters = ["escape" => 6, "replace" => 6];
$functions = ["url" => 1, "path" => 58];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape', 'replace'],
['url', '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
$context["frontUrl"] = $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getUrl("");
// line 2
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["frontUrl"] ?? null), "#markup", [], "array")), ["http://" => "https://"]), "html", null, true);
echo "\" title=\"\">
";
// line 15
if (($context["is_front"] ?? null)) {
// line 16
echo " LivresHebdo
";
} else {
// line 18
echo " LivresHebdo
";
}
// line 20
echo " </a>
<a>
open menu
</a>
Rechercher
<a>
search
</a>
";
// line 42
if (($context["content"] ?? null)) {
// line 43
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 44
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
// line 47
echo "
getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
echo " connecte ";
}
echo "\">
<ul>
<li>
<a data-color>
Search
</a>
</li>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], []), "html", null, true);
echo "\" title=\"\" class=\"menu-right__link\" ";
if ( !($context["connected"] ?? null)) {
echo " data-modal-open=\"connexion\" ";
}
echo ">
";
// line 59
if (!twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method"))) {
// line 60
echo " ";
if ((( !twig_test_empty(($context["uri_file"] ?? null)) && (($context["exist_file"] ?? null) == true)) && (($context["file_icon_LH"] ?? null) != ($context["file_id"] ?? null)))) {
// line 61
echo " ";
$context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "icon_user_header", "#class" => "profil-image", "#uri" => // line 65
($context["uri_file"] ?? null)];
// line 67
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true);
echo "
";
} else {
// line 69
echo "
";
}
}
// line 72
if ((($context["connected"] ?? null) && !twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 73
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_user_name"] ?? null)), "html", null, true);
echo "
";
}
// line 75
if ( !($context["connected"] ?? null)) {
// line 76
echo " Connexion
";
}
// line 78
echo "</a>
";
// line 79
if ((($context["connected"] ?? null) && !twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 80
echo "
<ul>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], []), "html", null, true);
echo "\">Mon Compte</a>
";
// line 87
if ((($context["connected"] ?? null) && twig_in_filter("abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 88
echo " Abonné
";
} elseif ((( // line 89
($context["connected"] ?? null) && twig_in_filter("membre", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method"))) && !twig_in_filter("abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 90
echo " Non Abonné
";
}
// line 92
echo "
";
// line 93
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["current_user_email"] ?? null)), "html", null, true);
echo "
</li>
<li>
<ul>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], ["fragment" => "abonnement"]), "html", null, true);
echo "\" title>Mon abonnement</a>
</li>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], ["fragment" => "newsletters"]), "html", null, true);
echo "\">Mes newsletters</a>
</li>
<li>
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => ($context["current_user_uid"] ?? null)], ["fragment" => "achat"]), "html", null, true);
echo "\">Mes achats d'articles</a>
</li>
<li>
<a>Se déconnecter</a>
</li>
</ul>
</li>
</ul>
<a>
Mes magazines
</a>
Besoin d'aide ?
<a title> Consulter notre FAQ</a>
";
}
// line 130
echo "</li>
<li>
";
// line 132
if (($context["connected"] ?? null)) {
// line 133
echo "<a>
Mes magazines
</a>
";
} else {
// line 137
echo "<a>
Abonnez-vous
</a>
";
}
// line 141
echo "</li>
</ul>
";
// line 145
if (($context["connected"] ?? null)) {
// line 146
echo " <a>
Mes magazines
</a>
";
} else {
// line 150
echo " <a>
Abonnez-vous
</a>
";
}
// line 154
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/region/region--header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 300 => 154, 294 => 150, 288 => 146, 286 => 145, 280 => 141, 274 => 137, 268 => 133, 266 => 132, 262 => 130, 233 => 104, 227 => 101, 221 => 98, 213 => 93, 210 => 92, 206 => 90, 204 => 89, 201 => 88, 199 => 87, 194 => 85, 187 => 80, 185 => 79, 182 => 78, 178 => 76, 176 => 75, 170 => 73, 168 => 72, 163 => 69, 157 => 67, 155 => 65, 153 => 61, 150 => 60, 148 => 59, 140 => 58, 126 => 49, 122 => 47, 116 => 44, 111 => 43, 109 => 42, 85 => 20, 81 => 18, 77 => 16, 75 => 15, 63 => 6, 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/region/region--header.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/region/region--header.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_ce7bcb0cbcc09fc12b00f95b21f8bff24613fdf2627b699664f5e34a1720e935', 'themes/livreshebdo/template/region/region--header.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/region/region--header.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/region/region--header.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 487)
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: 59)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_region.html.twig_Vxd38KPEiH-S7RYOUujCfOpFV', '<?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/layout/region.html.twig */
class __TwigTemplate_2fa3fdcc3872a934ce305f268ccb832da68da5cde778cc36e1383aacae968242 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" => 16, "if" => 21];
$filters = ["clean_class" => 18, "escape" => 22];
$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 16
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null))))];
// line 21
if (($context["content"] ?? null)) {
// line 22
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 23
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/layout/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 23, 60 => 22, 58 => 21, 56 => 18, 55 => 16,);
}
/** @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/layout/region.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/layout/region.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_region.html.twig_Vxd38KPEiH-S7RYOUujCfOpFV', '<?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/layout/region.html.twig */
class __TwigTemplate_2fa3fdcc3872a934ce305f268ccb832da68da5cde778cc36e1383aacae968242 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" => 16, "if" => 21];
$filters = ["clean_class" => 18, "escape" => 22];
$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 16
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null))))];
// line 21
if (($context["content"] ?? null)) {
// line 22
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 23
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/layout/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 23, 60 => 22, 58 => 21, 56 => 18, 55 => 16,);
}
/** @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/layout/region.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/layout/region.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_2fa3fdcc3872a934ce305f268ccb832da68da5cde778cc36e1383aacae968242', 'core/themes/classy/templates/layout/region.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/layout/region.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/layout/region.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 487)
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: 120)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_seo-checklist-getting-sta_mImIy5yQeo6rX9Cje9mVjR5L4', '<?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/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig */
class __TwigTemplate_8c3321a9695f364d80187c068339797a25756583832f038ef8ce7c40e19c6d1e 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 = ["escape" => 20];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 12
echo "
Getting started with Drupal 8 SEO
Please read these instructions to get the most out of your Drupal Search Engine Optimization efforts.
Module + book/guide = Drupal SEO shortcut
This module was created along with the book <a>Drupal 8 SEO</a> by Ben Finklea. While the module explains <em>what to do</em>, the book tells you <em>how to do it</em>. They're designed to work together to give you a significant shortcut to your technical SEO efforts. We’ve also adapted the book (and updated the content) into an online <a>Drupal SEO Guide</a>.
Technical SEO -vs- content marketing
This checklist is a guide to technical SEO but it doesn't help you with content optimization, keyword research, marketing strategy, etc. If you need help with these things, consider using a Drupal-specific Internet Marketing consultant like <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["ga_query_string"] ?? null)), "html", null, true);
echo "\">Volacci</a> or ask your Drupal developer for a recommendation.
Getting started
Each time you open the SEO Checklist, it will look to see if any tasks have already been completed. For example, if you've already turned on clean URLs then that item will be checked. You still need to click \"Save\" to time and date stamp the automatically-checked items.
The best way to proceed is to start at the top and work your way through each tab until you're done, clicking save after each completed item.
How it's organized
The sections are listed from most important to least important. The tasks in each section are also ordered from most to least important. A notable exception to this is the Be Efficient section.
<ul>
<li><strong>Be Efficient:</strong> This section contains items that will help you get things done faster. They are not necessary for good SEO, but they are highly recommended.</li>
<li><strong>Save Button:</strong> Be sure to click the save button after you check off each item. This will create a time and date stamp so that you can easily see when each task was completed.</li>
<li><strong>Links:</strong> Many tasks have links next to them. Some links are to drupal.org, outside websites, or to admin sections of your own site. Links to outside resources will open in a new window.</li>
<li><strong>Help:</strong> Some items have \"More info\" links. These will take you to appropriate documentation pages where you can read more about a module or important concept.</li>
</ul>
A note about pre-release modules
<em>Some recommended modules may not be considered ready for production websites. These modules are usually marked with \"beta\" or \"dev\" or \"alpha\" on Drupal.org. Please be very careful when installing any module—even those that have been fully tested and released—but be especially careful with dev, alpha, or beta modules.</em>
Credits
The Drupal SEO Checklist was created by <a>Ben Finklea</a>, author of <a>Drupal 8 SEO</a>, CEO of <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["ga_query_string"] ?? null)), "html", null, true);
echo "\">Volacci</a> and a long-time Drupal community member. Development was paid for exclusively by Volacci.
Special thanks to <a>Travis Carden</a> who created the <a>Checklist API module</a> and did the development work on this module.
";
}
public function getTemplateName()
{
return "modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 39, 65 => 20, 55 => 12,);
}
/** @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/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig", "/var/www/html/releases/20240418101126/modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_seo-checklist-getting-sta_mImIy5yQeo6rX9Cje9mVjR5L4', '<?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/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig */
class __TwigTemplate_8c3321a9695f364d80187c068339797a25756583832f038ef8ce7c40e19c6d1e 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 = ["escape" => 20];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 12
echo "
Getting started with Drupal 8 SEO
Please read these instructions to get the most out of your Drupal Search Engine Optimization efforts.
Module + book/guide = Drupal SEO shortcut
This module was created along with the book <a>Drupal 8 SEO</a> by Ben Finklea. While the module explains <em>what to do</em>, the book tells you <em>how to do it</em>. They're designed to work together to give you a significant shortcut to your technical SEO efforts. We’ve also adapted the book (and updated the content) into an online <a>Drupal SEO Guide</a>.
Technical SEO -vs- content marketing
This checklist is a guide to technical SEO but it doesn't help you with content optimization, keyword research, marketing strategy, etc. If you need help with these things, consider using a Drupal-specific Internet Marketing consultant like <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["ga_query_string"] ?? null)), "html", null, true);
echo "\">Volacci</a> or ask your Drupal developer for a recommendation.
Getting started
Each time you open the SEO Checklist, it will look to see if any tasks have already been completed. For example, if you've already turned on clean URLs then that item will be checked. You still need to click \"Save\" to time and date stamp the automatically-checked items.
The best way to proceed is to start at the top and work your way through each tab until you're done, clicking save after each completed item.
How it's organized
The sections are listed from most important to least important. The tasks in each section are also ordered from most to least important. A notable exception to this is the Be Efficient section.
<ul>
<li><strong>Be Efficient:</strong> This section contains items that will help you get things done faster. They are not necessary for good SEO, but they are highly recommended.</li>
<li><strong>Save Button:</strong> Be sure to click the save button after you check off each item. This will create a time and date stamp so that you can easily see when each task was completed.</li>
<li><strong>Links:</strong> Many tasks have links next to them. Some links are to drupal.org, outside websites, or to admin sections of your own site. Links to outside resources will open in a new window.</li>
<li><strong>Help:</strong> Some items have \"More info\" links. These will take you to appropriate documentation pages where you can read more about a module or important concept.</li>
</ul>
A note about pre-release modules
<em>Some recommended modules may not be considered ready for production websites. These modules are usually marked with \"beta\" or \"dev\" or \"alpha\" on Drupal.org. Please be very careful when installing any module—even those that have been fully tested and released—but be especially careful with dev, alpha, or beta modules.</em>
Credits
The Drupal SEO Checklist was created by <a>Ben Finklea</a>, author of <a>Drupal 8 SEO</a>, CEO of <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["ga_query_string"] ?? null)), "html", null, true);
echo "\">Volacci</a> and a long-time Drupal community member. Development was paid for exclusively by Volacci.
Special thanks to <a>Travis Carden</a> who created the <a>Checklist API module</a> and did the development work on this module.
";
}
public function getTemplateName()
{
return "modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 39, 65 => 20, 55 => 12,);
}
/** @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/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig", "/var/www/html/releases/20240418101126/modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_8c3321a9695f364d80187c068339797a25756583832f038ef8ce7c40e19c6d1e', 'modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig') (Line: 64)
twig_render_template('modules/contrib/seo_checklist/templates/seo-checklist-getting-started.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('seo_checklist_getting_started', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 45)
seo_checklist_checklistapi_checklist_items() (Line: 75)
checklistapi_add_checklist_items(Array) (Line: 112)
checklistapi_get_checklist_info() (Line: 133)
checklistapi_help('entity.article_entity.canonical', Object)
call_user_func_array('checklistapi_help', Array) (Line: 392)
Drupal\Core\Extension\ModuleHandler->invoke('checklistapi', 'help', Array) (Line: 102)
Drupal\help\Plugin\Block\HelpBlock->build() (Line: 171)
Drupal\block\BlockViewBuilder::preRender(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: 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: 133)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a___string_template__6a2704_ZImrXLnsb0JnoqsUdnBnsIVPU', '<?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__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b */
class __TwigTemplate_7bf910f0e9db22c363c467330f78965017b8d70a6be1e1c87628bf60e77226b9 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 = ["safe_join" => 1];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['safe_join'],
[]
);
} 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 $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["separator"] ?? null))));
}
public function getTemplateName()
{
return "__string_template__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b";
}
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__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b", "");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a___string_template__6a2704_ZImrXLnsb0JnoqsUdnBnsIVPU', '<?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__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b */
class __TwigTemplate_7bf910f0e9db22c363c467330f78965017b8d70a6be1e1c87628bf60e77226b9 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 = ["safe_join" => 1];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['safe_join'],
[]
);
} 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 $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["separator"] ?? null))));
}
public function getTemplateName()
{
return "__string_template__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b";
}
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__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b", "");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_7bf910f0e9db22c363c467330f78965017b8d70a6be1e1c87628bf60e77226b9', '__string_template__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b', NULL) (Line: 445)
Twig\Environment->loadTemplate('__string_template__6a27047eeba00af1c60ff2f4c59e9e614903a38f7c90d62ed5441a2edb82b31b') (Line: 542)
Twig\Environment->createTemplate('{# inline_template_start #}{{ items | safe_join(separator) }}') (Line: 173)
Drupal\Core\Template\TwigEnvironment->renderInline('{# inline_template_start #}{{ items | safe_join(separator) }}', 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: 727)
Drupal\views\Plugin\views\field\EntityField->renderItems(Array) (Line: 1179)
Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender(Object) (Line: 238)
template_preprocess_views_view_field(Array, 'views_view_field', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('views_view_field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 1746)
Drupal\views\Plugin\views\field\FieldPluginBase->theme(Object) (Line: 771)
Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow(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: 710)
Drupal\views\Plugin\views\style\StylePluginBase->renderFields(Array) (Line: 577)
Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping(Array, Array, 1) (Line: 468)
Drupal\views\Plugin\views\style\StylePluginBase->render(Array) (Line: 2170)
Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1533)
Drupal\views\ViewExecutable->render() (Line: 138)
Drupal\views\Plugin\views\display\Block->execute() (Line: 1630)
Drupal\views\ViewExecutable->executeDisplay('redaction', Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array) (Line: 59)
Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 171)
Drupal\block\BlockViewBuilder::preRender(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: 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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_views-view-field.html.twi_C0rc2Oo3VLPsRrbxxMl_2Wbd0', '<?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/stable/templates/views/views-view-field.html.twig */
class __TwigTemplate_739c398b837232fb4333bd33fd79fc06289f8a2306403f34f87c49440877b685 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 = ["escape" => 21];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 21
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["output"] ?? null)), "html", null, true);
}
public function getTemplateName()
{
return "core/themes/stable/templates/views/views-view-field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 21,);
}
/** @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/stable/templates/views/views-view-field.html.twig", "/var/www/html/releases/20240418101126/core/themes/stable/templates/views/views-view-field.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_views-view-field.html.twi_C0rc2Oo3VLPsRrbxxMl_2Wbd0', '<?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/stable/templates/views/views-view-field.html.twig */
class __TwigTemplate_739c398b837232fb4333bd33fd79fc06289f8a2306403f34f87c49440877b685 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 = ["escape" => 21];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 21
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["output"] ?? null)), "html", null, true);
}
public function getTemplateName()
{
return "core/themes/stable/templates/views/views-view-field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 21,);
}
/** @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/stable/templates/views/views-view-field.html.twig", "/var/www/html/releases/20240418101126/core/themes/stable/templates/views/views-view-field.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_739c398b837232fb4333bd33fd79fc06289f8a2306403f34f87c49440877b685', 'core/themes/stable/templates/views/views-view-field.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/views/views-view-field.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/views/views-view-field.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view_field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 1746)
Drupal\views\Plugin\views\field\FieldPluginBase->theme(Object) (Line: 771)
Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow(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: 710)
Drupal\views\Plugin\views\style\StylePluginBase->renderFields(Array) (Line: 577)
Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping(Array, Array, 1) (Line: 468)
Drupal\views\Plugin\views\style\StylePluginBase->render(Array) (Line: 2170)
Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1533)
Drupal\views\ViewExecutable->render() (Line: 138)
Drupal\views\Plugin\views\display\Block->execute() (Line: 1630)
Drupal\views\ViewExecutable->executeDisplay('redaction', Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array) (Line: 59)
Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 171)
Drupal\block\BlockViewBuilder::preRender(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: 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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_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('662356f400e9a_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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_views-view-unformatted--r_ZZIPwRpzhrkbcLF6AXZoqqPUH', '<?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-unformatted--redaction--redaction.html.twig */
class __TwigTemplate_6dc825b0444e1aa3b2a28561fbf3526d01c77a754b18d61b36ff377562153d0f 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" => 3];
$filters = ["escape" => 6];
$functions = [];
try {
$this->sandbox->checkSecurity(
['for'],
['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 "
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["rows"] ?? null));
foreach ($context['_seq'] as $context["i"] => $context["row"]) {
// line 4
echo "
";
// line 6
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["row"], "content", [])), "html", null, true);
// line 7
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 10
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 10, 68 => 7, 66 => 6, 63 => 4, 59 => 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-unformatted--redaction--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_views-view-unformatted--r_ZZIPwRpzhrkbcLF6AXZoqqPUH', '<?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-unformatted--redaction--redaction.html.twig */
class __TwigTemplate_6dc825b0444e1aa3b2a28561fbf3526d01c77a754b18d61b36ff377562153d0f 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" => 3];
$filters = ["escape" => 6];
$functions = [];
try {
$this->sandbox->checkSecurity(
['for'],
['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 "
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["rows"] ?? null));
foreach ($context['_seq'] as $context["i"] => $context["row"]) {
// line 4
echo "
";
// line 6
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["row"], "content", [])), "html", null, true);
// line 7
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 10
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 10, 68 => 7, 66 => 6, 63 => 4, 59 => 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-unformatted--redaction--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_6dc825b0444e1aa3b2a28561fbf3526d01c77a754b18d61b36ff377562153d0f', 'themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/views/redaction/views-view-unformatted--redaction--redaction.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view_unformatted__redaction__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: 109)
__TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175->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/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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_views-view-fields--redact_kI2YAX8XR5LxUdDYR29JE0jFj', '<?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-fields--redaction--redaction.html.twig */
class __TwigTemplate_3832e02d2a4b572fd48f9c8dea9d0cd72f24f90d05079506987f3d57da9a37ad 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" => 5, "set" => 8];
$filters = ["escape" => 2, "trim" => 2, "striptags" => 2, "raw" => 17, "capitalize" => 17];
$functions = ["path" => 2];
try {
$this->sandbox->checkSecurity(
['if', 'set'],
['escape', 'trim', 'striptags', 'raw', 'capitalize'],
['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 "<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=\"\" class=\"article-border__link\">
";
// line 5
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 6
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 8
echo " ";
$context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "redaction", "#uri" => "public://LH.png"];
// line 13
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true);
echo "
";
}
// line 15
echo "
";
// line 17
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_capitalize_string_filter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_tags", []), "content", []))));
echo "
";
// line 19
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>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 90 => 19, 85 => 17, 81 => 15, 75 => 13, 72 => 8, 66 => 6, 64 => 5, 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/redaction/views-view-fields--redaction--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_views-view-fields--redact_kI2YAX8XR5LxUdDYR29JE0jFj', '<?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-fields--redaction--redaction.html.twig */
class __TwigTemplate_3832e02d2a4b572fd48f9c8dea9d0cd72f24f90d05079506987f3d57da9a37ad 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" => 5, "set" => 8];
$filters = ["escape" => 2, "trim" => 2, "striptags" => 2, "raw" => 17, "capitalize" => 17];
$functions = ["path" => 2];
try {
$this->sandbox->checkSecurity(
['if', 'set'],
['escape', 'trim', 'striptags', 'raw', 'capitalize'],
['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 "<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=\"\" class=\"article-border__link\">
";
// line 5
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 6
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 8
echo " ";
$context["imagestyle"] = ["#theme" => "image_style", "#style_name" => "redaction", "#uri" => "public://LH.png"];
// line 13
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["imagestyle"] ?? null)), "html", null, true);
echo "
";
}
// line 15
echo "
";
// line 17
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(twig_capitalize_string_filter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["fields"] ?? null), "field_tags", []), "content", []))));
echo "
";
// line 19
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>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 90 => 19, 85 => 17, 81 => 15, 75 => 13, 72 => 8, 66 => 6, 64 => 5, 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/redaction/views-view-fields--redaction--redaction.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_3832e02d2a4b572fd48f9c8dea9d0cd72f24f90d05079506987f3d57da9a37ad', 'themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/views/redaction/views-view-fields--redaction--redaction.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view_fields__redaction__redaction', 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: 66)
__TwigTemplate_6dc825b0444e1aa3b2a28561fbf3526d01c77a754b18d61b36ff377562153d0f->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/redaction/views-view-unformatted--redaction--redaction.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('views_view_unformatted__redaction__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: 109)
__TwigTemplate_8c59017a0b75315df8a2466fa6def02af33ccc01ba368e716227e8179fc92175->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/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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_time.html.twig_vW48IlqCTM-Fjhv2WZfmrgeL7', '<?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/field/time.html.twig */
class __TwigTemplate_112b9768e6ec909f64c21e00531f3ff5c41fa73df85e4213e27cfb5a09493cd6 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 = ["escape" => 22];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 22
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "datetime"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/time.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 22,);
}
/** @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/field/time.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/time.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_time.html.twig_vW48IlqCTM-Fjhv2WZfmrgeL7', '<?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/field/time.html.twig */
class __TwigTemplate_112b9768e6ec909f64c21e00531f3ff5c41fa73df85e4213e27cfb5a09493cd6 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 = ["escape" => 22];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 22
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "datetime"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["text"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/field/time.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 22,);
}
/** @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/field/time.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/field/time.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_112b9768e6ec909f64c21e00531f3ff5c41fa73df85e4213e27cfb5a09493cd6', 'core/themes/classy/templates/field/time.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/field/time.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/field/time.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('time', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 875)
render(Array) (Line: 947)
Drupal\views\Plugin\views\field\EntityField->render_item(0, Array) (Line: 1167)
Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender(Object) (Line: 238)
template_preprocess_views_view_field(Array, 'views_view_field', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('views_view_field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 1746)
Drupal\views\Plugin\views\field\FieldPluginBase->theme(Object) (Line: 771)
Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow(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: 710)
Drupal\views\Plugin\views\style\StylePluginBase->renderFields(Array) (Line: 577)
Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping(Array, Array, 1) (Line: 468)
Drupal\views\Plugin\views\style\StylePluginBase->render(Array) (Line: 2170)
Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1533)
Drupal\views\ViewExecutable->render() (Line: 138)
Drupal\views\Plugin\views\display\Block->execute() (Line: 1630)
Drupal\views\ViewExecutable->executeDisplay('last_article', Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array) (Line: 59)
Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 171)
Drupal\block\BlockViewBuilder::preRender(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: 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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_views-view.html.twig_r_yzFdZRWjZutjbAI-HnO8B0I', '<?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/views/views-view.html.twig */
class __TwigTemplate_b7c95cfe258b2082c6a6dca508055574d243d0fc6656c7bbb6bd36b16fc5b5ad 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" => 34, "if" => 44];
$filters = ["clean_class" => 36, "escape" => 42];
$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 34
$context["classes"] = [0 => "view", 1 => ("view-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 36
($context["id"] ?? null)))), 2 => ("view-id-" . $this->sandbox->ensureToStringAllowed( // line 37
($context["id"] ?? null))), 3 => ("view-display-id-" . $this->sandbox->ensureToStringAllowed( // line 38
($context["display_id"] ?? null))), 4 => (( // line 39
($context["dom_id"] ?? null)) ? (("js-view-dom-id-" . $this->sandbox->ensureToStringAllowed(($context["dom_id"] ?? null)))) : (""))];
// line 42
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 43
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 44
if (($context["title"] ?? null)) {
// line 45
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "
";
}
// line 47
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 48
if (($context["header"] ?? null)) {
// line 49
echo "
";
// line 50
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["header"] ?? null)), "html", null, true);
echo "
";
}
// line 53
echo " ";
if (($context["exposed"] ?? null)) {
// line 54
echo "
";
// line 55
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["exposed"] ?? null)), "html", null, true);
echo "
";
}
// line 58
echo " ";
if (($context["attachment_before"] ?? null)) {
// line 59
echo "
";
// line 60
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attachment_before"] ?? null)), "html", null, true);
echo "
";
}
// line 63
echo "
";
// line 64
if (($context["rows"] ?? null)) {
// line 65
echo "
";
// line 66
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rows"] ?? null)), "html", null, true);
echo "
";
} elseif ( // line 68
($context["empty"] ?? null)) {
// line 69
echo "
";
// line 70
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["empty"] ?? null)), "html", null, true);
echo "
";
}
// line 73
echo "
";
// line 74
if (($context["pager"] ?? null)) {
// line 75
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["pager"] ?? null)), "html", null, true);
echo "
";
}
// line 77
echo " ";
if (($context["attachment_after"] ?? null)) {
// line 78
echo "
";
// line 79
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attachment_after"] ?? null)), "html", null, true);
echo "
";
}
// line 82
echo " ";
if (($context["more"] ?? null)) {
// line 83
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null)), "html", null, true);
echo "
";
}
// line 85
echo " ";
if (($context["footer"] ?? null)) {
// line 86
echo "
";
// line 87
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["footer"] ?? null)), "html", null, true);
echo "
";
}
// line 90
echo " ";
if (($context["feed_icons"] ?? null)) {
// line 91
echo "
";
// line 92
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["feed_icons"] ?? null)), "html", null, true);
echo "
";
}
// line 95
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/views/views-view.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 198 => 95, 192 => 92, 189 => 91, 186 => 90, 180 => 87, 177 => 86, 174 => 85, 168 => 83, 165 => 82, 159 => 79, 156 => 78, 153 => 77, 147 => 75, 145 => 74, 142 => 73, 136 => 70, 133 => 69, 131 => 68, 126 => 66, 123 => 65, 121 => 64, 118 => 63, 112 => 60, 109 => 59, 106 => 58, 100 => 55, 97 => 54, 94 => 53, 88 => 50, 85 => 49, 83 => 48, 78 => 47, 72 => 45, 70 => 44, 66 => 43, 61 => 42, 59 => 39, 58 => 38, 57 => 37, 56 => 36, 55 => 34,);
}
/** @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/views/views-view.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/views/views-view.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_views-view.html.twig_r_yzFdZRWjZutjbAI-HnO8B0I', '<?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/views/views-view.html.twig */
class __TwigTemplate_b7c95cfe258b2082c6a6dca508055574d243d0fc6656c7bbb6bd36b16fc5b5ad 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" => 34, "if" => 44];
$filters = ["clean_class" => 36, "escape" => 42];
$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 34
$context["classes"] = [0 => "view", 1 => ("view-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 36
($context["id"] ?? null)))), 2 => ("view-id-" . $this->sandbox->ensureToStringAllowed( // line 37
($context["id"] ?? null))), 3 => ("view-display-id-" . $this->sandbox->ensureToStringAllowed( // line 38
($context["display_id"] ?? null))), 4 => (( // line 39
($context["dom_id"] ?? null)) ? (("js-view-dom-id-" . $this->sandbox->ensureToStringAllowed(($context["dom_id"] ?? null)))) : (""))];
// line 42
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 43
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 44
if (($context["title"] ?? null)) {
// line 45
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "
";
}
// line 47
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 48
if (($context["header"] ?? null)) {
// line 49
echo "
";
// line 50
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["header"] ?? null)), "html", null, true);
echo "
";
}
// line 53
echo " ";
if (($context["exposed"] ?? null)) {
// line 54
echo "
";
// line 55
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["exposed"] ?? null)), "html", null, true);
echo "
";
}
// line 58
echo " ";
if (($context["attachment_before"] ?? null)) {
// line 59
echo "
";
// line 60
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attachment_before"] ?? null)), "html", null, true);
echo "
";
}
// line 63
echo "
";
// line 64
if (($context["rows"] ?? null)) {
// line 65
echo "
";
// line 66
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["rows"] ?? null)), "html", null, true);
echo "
";
} elseif ( // line 68
($context["empty"] ?? null)) {
// line 69
echo "
";
// line 70
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["empty"] ?? null)), "html", null, true);
echo "
";
}
// line 73
echo "
";
// line 74
if (($context["pager"] ?? null)) {
// line 75
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["pager"] ?? null)), "html", null, true);
echo "
";
}
// line 77
echo " ";
if (($context["attachment_after"] ?? null)) {
// line 78
echo "
";
// line 79
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attachment_after"] ?? null)), "html", null, true);
echo "
";
}
// line 82
echo " ";
if (($context["more"] ?? null)) {
// line 83
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null)), "html", null, true);
echo "
";
}
// line 85
echo " ";
if (($context["footer"] ?? null)) {
// line 86
echo "
";
// line 87
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["footer"] ?? null)), "html", null, true);
echo "
";
}
// line 90
echo " ";
if (($context["feed_icons"] ?? null)) {
// line 91
echo "
";
// line 92
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["feed_icons"] ?? null)), "html", null, true);
echo "
";
}
// line 95
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/views/views-view.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 198 => 95, 192 => 92, 189 => 91, 186 => 90, 180 => 87, 177 => 86, 174 => 85, 168 => 83, 165 => 82, 159 => 79, 156 => 78, 153 => 77, 147 => 75, 145 => 74, 142 => 73, 136 => 70, 133 => 69, 131 => 68, 126 => 66, 123 => 65, 121 => 64, 118 => 63, 112 => 60, 109 => 59, 106 => 58, 100 => 55, 97 => 54, 94 => 53, 88 => 50, 85 => 49, 83 => 48, 78 => 47, 72 => 45, 70 => 44, 66 => 43, 61 => 42, 59 => 39, 58 => 38, 57 => 37, 56 => 36, 55 => 34,);
}
/** @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/views/views-view.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/views/views-view.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_b7c95cfe258b2082c6a6dca508055574d243d0fc6656c7bbb6bd36b16fc5b5ad', 'core/themes/classy/templates/views/views-view.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/views/views-view.html.twig') (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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_views-view-unformatted--l_LLgL_N0BoOQz5J_sU85X4wdMY', '<?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-unformatted--last-actuality--last-article.html.twig */
class __TwigTemplate_cca9c78e6f02f64e8d0db2384cc8e8740acc165c32b0287b95469c3e19528875 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" => 1];
$filters = ["escape" => 3];
$functions = [];
try {
$this->sandbox->checkSecurity(
['for'],
['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['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["rows"] ?? null));
foreach ($context['_seq'] as $context["i"] => $context["row"]) {
// line 2
echo " ";
// line 3
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["row"], "content", [])), "html", null, true);
// line 4
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 4, 61 => 3, 59 => 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-unformatted--last-actuality--last-article.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_views-view-unformatted--l_LLgL_N0BoOQz5J_sU85X4wdMY', '<?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-unformatted--last-actuality--last-article.html.twig */
class __TwigTemplate_cca9c78e6f02f64e8d0db2384cc8e8740acc165c32b0287b95469c3e19528875 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" => 1];
$filters = ["escape" => 3];
$functions = [];
try {
$this->sandbox->checkSecurity(
['for'],
['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['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["rows"] ?? null));
foreach ($context['_seq'] as $context["i"] => $context["row"]) {
// line 2
echo " ";
// line 3
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["row"], "content", [])), "html", null, true);
// line 4
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 4, 61 => 3, 59 => 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-unformatted--last-actuality--last-article.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_cca9c78e6f02f64e8d0db2384cc8e8740acc165c32b0287b95469c3e19528875', 'themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/views/dernier_actualite/views-view-unformatted--last-actuality--last-article.html.twig') (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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_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/20240418101126/themes/livreshebdo/template/views/dernier_actualite/views-view-fields--last-actuality--last-article.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_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/20240418101126/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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_page-title.html.twig_HYxSxFao9GvmvpQ-6NrJUN8x3', '<?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/content/page-title.html.twig */
class __TwigTemplate_c98dbd48083f3398b1ffe1c63ffdda2550993f2a222e89799d2a6737743a8a26 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" => 16];
$filters = ["escape" => 15];
$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 15
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 16
if (($context["title"] ?? null)) {
// line 17
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "page-title"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "
";
}
// line 19
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/content/page-title.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 19, 61 => 17, 59 => 16, 55 => 15,);
}
/** @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/content/page-title.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/content/page-title.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_page-title.html.twig_HYxSxFao9GvmvpQ-6NrJUN8x3', '<?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/content/page-title.html.twig */
class __TwigTemplate_c98dbd48083f3398b1ffe1c63ffdda2550993f2a222e89799d2a6737743a8a26 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" => 16];
$filters = ["escape" => 15];
$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 15
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 16
if (($context["title"] ?? null)) {
// line 17
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "page-title"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "
";
}
// line 19
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/content/page-title.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 19, 61 => 17, 59 => 16, 55 => 15,);
}
/** @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/content/page-title.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/content/page-title.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c98dbd48083f3398b1ffe1c63ffdda2550993f2a222e89799d2a6737743a8a26', 'core/themes/classy/templates/content/page-title.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/content/page-title.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/content/page-title.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page_title', 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: 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: 213)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_region--subscribe.html.tw_Vjo-LAYoTLo1vtXVTYX00kNQg', '<?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/region/region--subscribe.html.twig */
class __TwigTemplate_0a9c769db37db1c819467391e11fd0267756c69b6d13da9166ebaa6f672583a9 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" => 16, "if" => 22];
$filters = ["clean_class" => 18, "escape" => 29, "length" => 32];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape', 'length'],
[]
);
} 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 16
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null))))];
// line 21
echo "
";
// line 22
if ((!twig_in_filter("abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")) && !twig_in_filter("administrator", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 23
echo "
";
// line 29
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_title"] ?? null)), "html", null, true);
echo "
";
// line 31
$context["accordion_body"] = $this->getAttribute(($context["subscribe_field_body"] ?? null), "value", []);
// line 32
echo " ";
if ((twig_length_filter($this->env, ($context["accordion_body"] ?? null)) == 0)) {
// line 33
echo " ";
$context["accordion_body"] = " ";
// line 34
echo " ";
}
// line 35
echo " ";
$context["subscribe_body"] = ["#type" => "processed_text", "#text" => // line 37
($context["accordion_body"] ?? null), "#format" => $this->getAttribute( // line 38
($context["subscribe_field_body"] ?? null), "format", [])];
// line 40
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_body"] ?? null)), "html", null, true);
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_url"] ?? null)), "html", null, true);
echo "\" class=\"btn btn--backWhite\"
title=\"\" target=\"_blank\">";
// line 42
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_url_title"] ?? null)), "html", null, true);
echo "</a>
";
// line 47
$context["image_right"] = ["#theme" => "image_style", "#style_name" => "home_subscribe_right", "#uri" => // line 50
($context["subscribe_fileRightUri"] ?? null), "#alt" => "image R", "#attributes" => ["class" => "bloc-subscribe__mag"]];
// line 54
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_right"] ?? null)), "html", null, true);
echo "
";
// line 57
$context["image_left"] = ["#theme" => "image_style", "#style_name" => "home_subscribe_left", "#uri" => // line 60
($context["subscribe_fileLeftUri"] ?? null), "#alt" => "image L", "#attributes" => ["class" => "bloc-subscribe__mobile"]];
// line 64
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_left"] ?? null)), "html", null, true);
echo "
";
}
// line 71
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/region/region--subscribe.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 133 => 71, 122 => 64, 120 => 60, 119 => 57, 112 => 54, 110 => 50, 109 => 47, 101 => 42, 97 => 41, 92 => 40, 90 => 38, 89 => 37, 87 => 35, 84 => 34, 81 => 33, 78 => 32, 76 => 31, 71 => 29, 63 => 23, 61 => 22, 58 => 21, 56 => 18, 55 => 16,);
}
/** @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/region/region--subscribe.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/region/region--subscribe.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_region--subscribe.html.tw_Vjo-LAYoTLo1vtXVTYX00kNQg', '<?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/region/region--subscribe.html.twig */
class __TwigTemplate_0a9c769db37db1c819467391e11fd0267756c69b6d13da9166ebaa6f672583a9 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" => 16, "if" => 22];
$filters = ["clean_class" => 18, "escape" => 29, "length" => 32];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape', 'length'],
[]
);
} 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 16
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null))))];
// line 21
echo "
";
// line 22
if ((!twig_in_filter("abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")) && !twig_in_filter("administrator", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method")))) {
// line 23
echo "
";
// line 29
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_title"] ?? null)), "html", null, true);
echo "
";
// line 31
$context["accordion_body"] = $this->getAttribute(($context["subscribe_field_body"] ?? null), "value", []);
// line 32
echo " ";
if ((twig_length_filter($this->env, ($context["accordion_body"] ?? null)) == 0)) {
// line 33
echo " ";
$context["accordion_body"] = " ";
// line 34
echo " ";
}
// line 35
echo " ";
$context["subscribe_body"] = ["#type" => "processed_text", "#text" => // line 37
($context["accordion_body"] ?? null), "#format" => $this->getAttribute( // line 38
($context["subscribe_field_body"] ?? null), "format", [])];
// line 40
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_body"] ?? null)), "html", null, true);
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_url"] ?? null)), "html", null, true);
echo "\" class=\"btn btn--backWhite\"
title=\"\" target=\"_blank\">";
// line 42
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["subscribe_url_title"] ?? null)), "html", null, true);
echo "</a>
";
// line 47
$context["image_right"] = ["#theme" => "image_style", "#style_name" => "home_subscribe_right", "#uri" => // line 50
($context["subscribe_fileRightUri"] ?? null), "#alt" => "image R", "#attributes" => ["class" => "bloc-subscribe__mag"]];
// line 54
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_right"] ?? null)), "html", null, true);
echo "
";
// line 57
$context["image_left"] = ["#theme" => "image_style", "#style_name" => "home_subscribe_left", "#uri" => // line 60
($context["subscribe_fileLeftUri"] ?? null), "#alt" => "image L", "#attributes" => ["class" => "bloc-subscribe__mobile"]];
// line 64
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["image_left"] ?? null)), "html", null, true);
echo "
";
}
// line 71
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/region/region--subscribe.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 133 => 71, 122 => 64, 120 => 60, 119 => 57, 112 => 54, 110 => 50, 109 => 47, 101 => 42, 97 => 41, 92 => 40, 90 => 38, 89 => 37, 87 => 35, 84 => 34, 81 => 33, 78 => 32, 76 => 31, 71 => 29, 63 => 23, 61 => 22, 58 => 21, 56 => 18, 55 => 16,);
}
/** @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/region/region--subscribe.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/region/region--subscribe.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_0a9c769db37db1c819467391e11fd0267756c69b6d13da9166ebaa6f672583a9', 'themes/livreshebdo/template/region/region--subscribe.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/region/region--subscribe.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/region/region--subscribe.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 487)
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: 213)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_block--system-menu-block._XInQ73on7oIWjMoY7qsxbNAI6', '<?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/bloc/block--system-menu-block.html.twig */
class __TwigTemplate_7d1f9af4ebd2df5019b9ab4a5cd527d3d277125235f2a56a4be15e122dbbdc65 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" => 35, "if" => 45, "block" => 53];
$filters = ["clean_class" => 39, "clean_id" => 42, "escape" => 43, "without" => 43];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_class', 'clean_id', 'escape', 'without'],
[]
);
} 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 35
$context["classes"] = [0 => "block", 1 => "block-menu", 2 => "navigation", 3 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 39
($context["derivative_plugin_id"] ?? null))))];
// line 42
$context["heading_id"] = ($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "id", [])) . \Drupal\Component\Utility\Html::getId("-menu"));
// line 43
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null)), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->withoutFilter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "role", "aria-labelledby"), "html", null, true);
echo ">
";
// line 45
echo " ";
if ( !$this->getAttribute(($context["configuration"] ?? null), "label_display", [])) {
// line 46
echo " ";
$context["title_attributes"] = $this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method");
// line 47
echo " ";
}
// line 48
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["configuration"] ?? null), "label", [])), "html", null, true);
echo "
";
// line 50
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 53
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 56
echo "
";
}
// line 53
public function block_content($context, array $blocks = [])
{
// line 54
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 "themes/livreshebdo/template/bloc/block--system-menu-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 104 => 54, 101 => 53, 96 => 56, 93 => 53, 88 => 50, 82 => 49, 77 => 48, 74 => 47, 71 => 46, 68 => 45, 61 => 43, 59 => 42, 57 => 39, 56 => 35,);
}
/** @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/bloc/block--system-menu-block.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/bloc/block--system-menu-block.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_block--system-menu-block._XInQ73on7oIWjMoY7qsxbNAI6', '<?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/bloc/block--system-menu-block.html.twig */
class __TwigTemplate_7d1f9af4ebd2df5019b9ab4a5cd527d3d277125235f2a56a4be15e122dbbdc65 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" => 35, "if" => 45, "block" => 53];
$filters = ["clean_class" => 39, "clean_id" => 42, "escape" => 43, "without" => 43];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_class', 'clean_id', 'escape', 'without'],
[]
);
} 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 35
$context["classes"] = [0 => "block", 1 => "block-menu", 2 => "navigation", 3 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 39
($context["derivative_plugin_id"] ?? null))))];
// line 42
$context["heading_id"] = ($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "id", [])) . \Drupal\Component\Utility\Html::getId("-menu"));
// line 43
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null)), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->withoutFilter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "role", "aria-labelledby"), "html", null, true);
echo ">
";
// line 45
echo " ";
if ( !$this->getAttribute(($context["configuration"] ?? null), "label_display", [])) {
// line 46
echo " ";
$context["title_attributes"] = $this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method");
// line 47
echo " ";
}
// line 48
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["configuration"] ?? null), "label", [])), "html", null, true);
echo "
";
// line 50
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 53
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 56
echo "
";
}
// line 53
public function block_content($context, array $blocks = [])
{
// line 54
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 "themes/livreshebdo/template/bloc/block--system-menu-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 104 => 54, 101 => 53, 96 => 56, 93 => 53, 88 => 50, 82 => 49, 77 => 48, 74 => 47, 71 => 46, 68 => 45, 61 => 43, 59 => 42, 57 => 39, 56 => 35,);
}
/** @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/bloc/block--system-menu-block.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/bloc/block--system-menu-block.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_7d1f9af4ebd2df5019b9ab4a5cd527d3d277125235f2a56a4be15e122dbbdc65', 'themes/livreshebdo/template/bloc/block--system-menu-block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/bloc/block--system-menu-block.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/bloc/block--system-menu-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: 224)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_menu--footer-menu-social-_FBCzi7gC7HafuSSzP7UOImbfF', '<?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/menu/menu--footer-menu-social-links.html.twig */
class __TwigTemplate_a40929d99413a8bea6b7973ac4fb5555f5af46fa9d5b9e05c3d073e45a33af79 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 = ["import" => 21, "if" => 58, "macro" => 28, "for" => 31, "set" => 32];
$filters = ["escape" => 71];
$functions = ["path" => 71];
try {
$this->sandbox->checkSecurity(
['import', 'if', 'macro', 'for', 'set'],
['escape'],
['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 21
$context["menus"] = $this;
// line 22
echo "
";
// line 27
echo "
";
// line 42
echo "
<a>
logo
</a>
";
// line 55
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($context["menus"]->getmenu_links(($context["items"] ?? null), ($context["attributes"] ?? null), 0));
echo "
";
// line 58
if (!twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method"))) {
// line 59
echo "
Newsletter Livres Hebdo,
c’est gratuit.
";
// line 70
if (($context["logged_in"] ?? null)) {
// line 71
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => $this->getAttribute(($context["user"] ?? null), "id", [])]), "html", null, true);
echo "\" title=\"\" class=\"email-link\">
";
} else {
// line 73
echo " <a>
";
}
// line 76
echo " Votre email
</a>
";
}
// line 85
echo "
";
}
// line 28
public function getmenu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals([
"items" => $__items__,
"attributes" => $__attributes__,
"menu_level" => $__menu_level__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start(function () { return ''; });
try {
// line 29
echo " ";
$context["menus"] = $this;
// line 30
echo " ";
if (($context["items"] ?? null)) {
// line 31
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 32
echo " ";
$context["classes"] = [0 => (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute( // line 33
$context["item"], "url", []), "options", []), "attributes", [], "array"), "title", [], "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "url", []), "options", []), "attributes", [], "array"), "title", [], "array")) : (""))];
// line 35
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "url", [])), "html", null, true);
echo "\" title=\"\" class=\"social-media__icon\">
";
// line 36
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "title", [])), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "attributes", []), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " ";
}
} catch (\Exception $e) {
ob_end_clean();
throw $e;
} catch (\Throwable $e) {
ob_end_clean();
throw $e;
}
return ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
}
public function getTemplateName()
{
return "themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 175 => 40, 166 => 37, 162 => 36, 157 => 35, 155 => 33, 153 => 32, 148 => 31, 145 => 30, 142 => 29, 128 => 28, 123 => 85, 112 => 76, 107 => 73, 101 => 71, 99 => 70, 86 => 59, 84 => 58, 78 => 55, 63 => 42, 60 => 27, 57 => 22, 55 => 21,);
}
/** @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/menu/menu--footer-menu-social-links.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_menu--footer-menu-social-_FBCzi7gC7HafuSSzP7UOImbfF', '<?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/menu/menu--footer-menu-social-links.html.twig */
class __TwigTemplate_a40929d99413a8bea6b7973ac4fb5555f5af46fa9d5b9e05c3d073e45a33af79 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 = ["import" => 21, "if" => 58, "macro" => 28, "for" => 31, "set" => 32];
$filters = ["escape" => 71];
$functions = ["path" => 71];
try {
$this->sandbox->checkSecurity(
['import', 'if', 'macro', 'for', 'set'],
['escape'],
['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 21
$context["menus"] = $this;
// line 22
echo "
";
// line 27
echo "
";
// line 42
echo "
<a>
logo
</a>
";
// line 55
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($context["menus"]->getmenu_links(($context["items"] ?? null), ($context["attributes"] ?? null), 0));
echo "
";
// line 58
if (!twig_in_filter("mass_abonne", $this->getAttribute(($context["user"] ?? null), "getroles", [0 => true], "method"))) {
// line 59
echo "
Newsletter Livres Hebdo,
c’est gratuit.
";
// line 70
if (($context["logged_in"] ?? null)) {
// line 71
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.user.canonical", ["user" => $this->getAttribute(($context["user"] ?? null), "id", [])]), "html", null, true);
echo "\" title=\"\" class=\"email-link\">
";
} else {
// line 73
echo " <a>
";
}
// line 76
echo " Votre email
</a>
";
}
// line 85
echo "
";
}
// line 28
public function getmenu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals([
"items" => $__items__,
"attributes" => $__attributes__,
"menu_level" => $__menu_level__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start(function () { return ''; });
try {
// line 29
echo " ";
$context["menus"] = $this;
// line 30
echo " ";
if (($context["items"] ?? null)) {
// line 31
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 32
echo " ";
$context["classes"] = [0 => (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute( // line 33
$context["item"], "url", []), "options", []), "attributes", [], "array"), "title", [], "array")) ? ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "url", []), "options", []), "attributes", [], "array"), "title", [], "array")) : (""))];
// line 35
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "url", [])), "html", null, true);
echo "\" title=\"\" class=\"social-media__icon\">
";
// line 36
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "title", [])), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($context["item"], "attributes", []), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " ";
}
} catch (\Exception $e) {
ob_end_clean();
throw $e;
} catch (\Throwable $e) {
ob_end_clean();
throw $e;
}
return ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
}
public function getTemplateName()
{
return "themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 175 => 40, 166 => 37, 162 => 36, 157 => 35, 155 => 33, 153 => 32, 148 => 31, 145 => 30, 142 => 29, 128 => 28, 123 => 85, 112 => 76, 107 => 73, 101 => 71, 99 => 70, 86 => 59, 84 => 58, 78 => 55, 63 => 42, 60 => 27, 57 => 22, 55 => 21,);
}
/** @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/menu/menu--footer-menu-social-links.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a40929d99413a8bea6b7973ac4fb5555f5af46fa9d5b9e05c3d073e45a33af79', 'themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/menu/menu--footer-menu-social-links.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__footer_menu_social_links', 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: 105)
__TwigTemplate_7d1f9af4ebd2df5019b9ab4a5cd527d3d277125235f2a56a4be15e122dbbdc65->block_content(Array, Array) (Line: 216)
Twig\Template->displayBlock('content', Array, Array) (Line: 94)
__TwigTemplate_7d1f9af4ebd2df5019b9ab4a5cd527d3d277125235f2a56a4be15e122dbbdc65->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/bloc/block--system-menu-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: 224)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_region--footer.html.twig_FzPLH5OM0YoGAyOJTq_-JHEqM', '<?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/region/region--footer.html.twig */
class __TwigTemplate_119c71fa6bf2abae54ee6c2aecf59ac058cf3877a9bf2bc4c76eb718e105d8b9 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" => 16, "if" => 23];
$filters = ["clean_class" => 18, "escape" => 24];
$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 16
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null))))];
// line 21
echo "
";
// line 23
if (($context["content"] ?? null)) {
// line 24
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 25
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
// line 28
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/region/region--footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 75 => 28, 69 => 25, 64 => 24, 62 => 23, 58 => 21, 56 => 18, 55 => 16,);
}
/** @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/region/region--footer.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/region/region--footer.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_region--footer.html.twig_FzPLH5OM0YoGAyOJTq_-JHEqM', '<?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/region/region--footer.html.twig */
class __TwigTemplate_119c71fa6bf2abae54ee6c2aecf59ac058cf3877a9bf2bc4c76eb718e105d8b9 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" => 16, "if" => 23];
$filters = ["clean_class" => 18, "escape" => 24];
$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 16
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null))))];
// line 21
echo "
";
// line 23
if (($context["content"] ?? null)) {
// line 24
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 25
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
// line 28
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/region/region--footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 75 => 28, 69 => 25, 64 => 24, 62 => 23, 58 => 21, 56 => 18, 55 => 16,);
}
/** @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/region/region--footer.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/region/region--footer.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_119c71fa6bf2abae54ee6c2aecf59ac058cf3877a9bf2bc4c76eb718e105d8b9', 'themes/livreshebdo/template/region/region--footer.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/region/region--footer.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/region/region--footer.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 487)
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: 224)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_off-canvas-page-wrapper.h_VN01JO-qiiSgVMibxDc80qQZp', '<?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/stable/templates/content/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_2131699a4c5e94dcefe60b50774a5b5a4f0243cc59ff1967784aec3b0d43a5c7 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" => 20];
$filters = ["escape" => 22];
$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 20
if (($context["children"] ?? null)) {
// line 21
echo "
";
// line 22
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 60 => 22, 57 => 21, 55 => 20,);
}
/** @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/stable/templates/content/off-canvas-page-wrapper.html.twig", "/var/www/html/releases/20240418101126/core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_off-canvas-page-wrapper.h_VN01JO-qiiSgVMibxDc80qQZp', '<?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/stable/templates/content/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_2131699a4c5e94dcefe60b50774a5b5a4f0243cc59ff1967784aec3b0d43a5c7 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" => 20];
$filters = ["escape" => 22];
$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 20
if (($context["children"] ?? null)) {
// line 21
echo "
";
// line 22
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 60 => 22, 57 => 21, 55 => 20,);
}
/** @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/stable/templates/content/off-canvas-page-wrapper.html.twig", "/var/www/html/releases/20240418101126/core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_2131699a4c5e94dcefe60b50774a5b5a4f0243cc59ff1967784aec3b0d43a5c7', 'core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('off_canvas_page_wrapper', Array) (Line: 487)
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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_webform-submission-form--_MUMYoUqZ2fcoo_JRgfIGLV3ml', '<?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/webform/webform-submission-form--nous-contacter.html.twig */
class __TwigTemplate_54be2d52a7478edb721d33423c24721ae54f1c3bcbca169909b46e728852b0a9 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 12
echo "
";
// line 13
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["form"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 13, 55 => 12,);
}
/** @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/webform/webform-submission-form--nous-contacter.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_webform-submission-form--_MUMYoUqZ2fcoo_JRgfIGLV3ml', '<?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/webform/webform-submission-form--nous-contacter.html.twig */
class __TwigTemplate_54be2d52a7478edb721d33423c24721ae54f1c3bcbca169909b46e728852b0a9 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 12
echo "
";
// line 13
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["form"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 58 => 13, 55 => 12,);
}
/** @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/webform/webform-submission-form--nous-contacter.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_54be2d52a7478edb721d33423c24721ae54f1c3bcbca169909b46e728852b0a9', 'themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/webform/webform-submission-form--nous-contacter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('webform_submission_form', 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: 517)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_textarea.html.twig_zL04Nan7l5DOn6QY9VKUaveuB', '<?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/form/textarea.html.twig */
class __TwigTemplate_7269dad601cd0ed3031c862686b5dbb81f3863817ca92745d98e6f82bc9288ff 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" => 17];
$filters = ["escape" => 23];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['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 17
$context["classes"] = [0 => "form-textarea", 1 => (( // line 19
($context["resizable"] ?? null)) ? (("resize-" . $this->sandbox->ensureToStringAllowed(($context["resizable"] ?? null)))) : ("")), 2 => (( // line 20
($context["required"] ?? null)) ? ("required") : (""))];
// line 23
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["wrapper_attributes"] ?? null), "addClass", [0 => "form-textarea-wrapper"], "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["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/textarea.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 64 => 24, 59 => 23, 57 => 20, 56 => 19, 55 => 17,);
}
/** @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/form/textarea.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/textarea.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_textarea.html.twig_zL04Nan7l5DOn6QY9VKUaveuB', '<?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/form/textarea.html.twig */
class __TwigTemplate_7269dad601cd0ed3031c862686b5dbb81f3863817ca92745d98e6f82bc9288ff 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" => 17];
$filters = ["escape" => 23];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['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 17
$context["classes"] = [0 => "form-textarea", 1 => (( // line 19
($context["resizable"] ?? null)) ? (("resize-" . $this->sandbox->ensureToStringAllowed(($context["resizable"] ?? null)))) : ("")), 2 => (( // line 20
($context["required"] ?? null)) ? ("required") : (""))];
// line 23
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["wrapper_attributes"] ?? null), "addClass", [0 => "form-textarea-wrapper"], "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["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/textarea.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 64 => 24, 59 => 23, 57 => 20, 56 => 19, 55 => 17,);
}
/** @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/form/textarea.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/textarea.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_7269dad601cd0ed3031c862686b5dbb81f3863817ca92745d98e6f82bc9288ff', 'core/themes/classy/templates/form/textarea.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/textarea.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/textarea.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('textarea', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
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: 58)
__TwigTemplate_54be2d52a7478edb721d33423c24721ae54f1c3bcbca169909b46e728852b0a9->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/webform/webform-submission-form--nous-contacter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('webform_submission_form', 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: 517)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_checkboxes.html.twig_8J5M13XWy26DZ1SDnKLFMY-g0', '<?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/form/checkboxes.html.twig */
class __TwigTemplate_55326e8ecd65d453f1a1c0835f09e386d6be9905a163582571dc7771ee2e102b 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 = ["escape" => 15];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 15
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "form-checkboxes"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/checkboxes.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 15,);
}
/** @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/form/checkboxes.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/checkboxes.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_checkboxes.html.twig_8J5M13XWy26DZ1SDnKLFMY-g0', '<?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/form/checkboxes.html.twig */
class __TwigTemplate_55326e8ecd65d453f1a1c0835f09e386d6be9905a163582571dc7771ee2e102b 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 = ["escape" => 15];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 15
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "form-checkboxes"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/classy/templates/form/checkboxes.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 15,);
}
/** @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/form/checkboxes.html.twig", "/var/www/html/releases/20240418101126/core/themes/classy/templates/form/checkboxes.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_55326e8ecd65d453f1a1c0835f09e386d6be9905a163582571dc7771ee2e102b', 'core/themes/classy/templates/form/checkboxes.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/classy/templates/form/checkboxes.html.twig') (Line: 64)
twig_render_template('core/themes/classy/templates/form/checkboxes.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('checkboxes', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
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: 58)
__TwigTemplate_54be2d52a7478edb721d33423c24721ae54f1c3bcbca169909b46e728852b0a9->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/webform/webform-submission-form--nous-contacter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('webform_submission_form', 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: 517)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_webform-actions.html.twig_haow_AVMhyqrUZUeL8vbVovQA', '<?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/contrib/webform/templates/webform-actions.html.twig */
class __TwigTemplate_7c8be8b52540fe5eb448208bd224b7c1edd57eccc452d8a963ad2d5eba789358 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["element"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "modules/contrib/webform/templates/webform-actions.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 13,);
}
/** @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/contrib/webform/templates/webform-actions.html.twig", "/var/www/html/releases/20240418101126/modules/contrib/webform/templates/webform-actions.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_webform-actions.html.twig_haow_AVMhyqrUZUeL8vbVovQA', '<?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/contrib/webform/templates/webform-actions.html.twig */
class __TwigTemplate_7c8be8b52540fe5eb448208bd224b7c1edd57eccc452d8a963ad2d5eba789358 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 = ["escape" => 13];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 13
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["element"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "modules/contrib/webform/templates/webform-actions.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 13,);
}
/** @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/contrib/webform/templates/webform-actions.html.twig", "/var/www/html/releases/20240418101126/modules/contrib/webform/templates/webform-actions.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_7c8be8b52540fe5eb448208bd224b7c1edd57eccc452d8a963ad2d5eba789358', 'modules/contrib/webform/templates/webform-actions.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/contrib/webform/templates/webform-actions.html.twig') (Line: 64)
twig_render_template('modules/contrib/webform/templates/webform-actions.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('webform_actions', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
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: 58)
__TwigTemplate_54be2d52a7478edb721d33423c24721ae54f1c3bcbca169909b46e728852b0a9->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/webform/webform-submission-form--nous-contacter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('webform_submission_form', 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: 517)
__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)
- 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', 511) (Line: 95)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('662356f400e9a_webform.html.twig_9rOCWw_F8g7QRFJzYYKudcWxg', '<?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/contrib/webform/templates/webform.html.twig */
class __TwigTemplate_10695fe94436788c84321b0ad665ca6a3780a31e1ff03da904b5d035703a7713 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 = ["escape" => 24];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 24
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 25
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 26
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 27
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "modules/contrib/webform/templates/webform.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 27, 64 => 26, 60 => 25, 55 => 24,);
}
/** @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/contrib/webform/templates/webform.html.twig", "/var/www/html/releases/20240418101126/modules/contrib/webform/templates/webform.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('662356f400e9a_webform.html.twig_9rOCWw_F8g7QRFJzYYKudcWxg', '<?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/contrib/webform/templates/webform.html.twig */
class __TwigTemplate_10695fe94436788c84321b0ad665ca6a3780a31e1ff03da904b5d035703a7713 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 = ["escape" => 24];
$functions = [];
try {
$this->sandbox->checkSecurity(
[],
['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 24
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 25
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 26
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 27
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "modules/contrib/webform/templates/webform.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 27, 64 => 26, 60 => 25, 55 => 24,);
}
/** @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/contrib/webform/templates/webform.html.twig", "/var/www/html/releases/20240418101126/modules/contrib/webform/templates/webform.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_10695fe94436788c84321b0ad665ca6a3780a31e1ff03da904b5d035703a7713', 'modules/contrib/webform/templates/webform.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/contrib/webform/templates/webform.html.twig') (Line: 64)
twig_render_template('modules/contrib/webform/templates/webform.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('webform', Array) (Line: 487)
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: 517)
__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)