- 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('6623592d5af43_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('6623592d5af43_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('6623592d5af43___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('6623592d5af43___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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_field--article-entity--fi_LXGZYXuXc3DgJo0M-NULdJxrz', '<?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-book-cited.html.twig */
class __TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d 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" => 7, "for" => 8, "if" => 12];
$filters = ["batch" => 7, "escape" => 13, "length" => 21];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['batch', '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 1
echo "
Livres cités
";
// line 7
$context["holders"] = twig_array_batch($this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), 3, "");
// line 8
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["holders"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["holder"]) {
// line 9
echo "
<ul>
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["holder"]);
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 12
echo " ";
if ( !(null === $this->getAttribute($context["item"], "content", []))) {
// line 13
echo " <li>";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "</li>
";
}
// line 15
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 16
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['holder'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo "
env, ($context["holders"] ?? null)) <= 1)) {
echo " hidden ";
}
echo "\">
<a>plus</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 105 => 21, 101 => 19, 93 => 16, 87 => 15, 81 => 13, 78 => 12, 74 => 11, 70 => 9, 65 => 8, 63 => 7, 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-book-cited.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6623592d5af43_field--article-entity--fi_LXGZYXuXc3DgJo0M-NULdJxrz', '<?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-book-cited.html.twig */
class __TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d 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" => 7, "for" => 8, "if" => 12];
$filters = ["batch" => 7, "escape" => 13, "length" => 21];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['batch', '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 1
echo "
Livres cités
";
// line 7
$context["holders"] = twig_array_batch($this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), 3, "");
// line 8
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["holders"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["holder"]) {
// line 9
echo "
<ul>
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["holder"]);
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 12
echo " ";
if ( !(null === $this->getAttribute($context["item"], "content", []))) {
// line 13
echo " <li>";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "</li>
";
}
// line 15
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 16
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['holder'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo "
env, ($context["holders"] ?? null)) <= 1)) {
echo " hidden ";
}
echo "\">
<a>plus</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 105 => 21, 101 => 19, 93 => 16, 87 => 15, 81 => 13, 78 => 12, 74 => 11, 70 => 9, 65 => 8, 63 => 7, 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-book-cited.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d', 'themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 597)
__TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- 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('6623592d5af43_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modules/custom/livreshebdo_site/templates/book_entity.html.twig */
class __TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["if" => 19];
$filters = ["escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "book_entity"], "method")), "html", null, true);
echo ">
";
// line 19
if (($context["content"] ?? null)) {
// line 20
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
}
// line 22
echo "
";
}
public function getTemplateName()
{
return "modules/custom/livreshebdo_site/templates/book_entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 22, 62 => 20, 60 => 19, 55 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "modules/custom/livreshebdo_site/templates/book_entity.html.twig", "/var/www/html/releases/20240418101126/modules/custom/livreshebdo_site/templates/book_entity.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6623592d5af43_book_entity.html.twig_RPpDHdankK1WJa3QzkXeeN6ff', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modules/custom/livreshebdo_site/templates/book_entity.html.twig */
class __TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["if" => 19];
$filters = ["escape" => 18];
$functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "book_entity"], "method")), "html", null, true);
echo ">
";
// line 19
if (($context["content"] ?? null)) {
// line 20
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
}
// line 22
echo "
";
}
public function getTemplateName()
{
return "modules/custom/livreshebdo_site/templates/book_entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 22, 62 => 20, 60 => 19, 55 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "modules/custom/livreshebdo_site/templates/book_entity.html.twig", "/var/www/html/releases/20240418101126/modules/custom/livreshebdo_site/templates/book_entity.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58', 'modules/custom/livreshebdo_site/templates/book_entity.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('modules/custom/livreshebdo_site/templates/book_entity.html.twig') (Line: 64)
twig_render_template('modules/custom/livreshebdo_site/templates/book_entity.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('book_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82)
__TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 597)
__TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- 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('6623592d5af43_field--book-entity--field_lhLg8IkAlQKDozgAf1R1lfqBZ', '<?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/book/item/field--book-entity--field-book-title--book-entity.html.twig */
class __TwigTemplate_15d06c53db161b28d2e8a94a4894b1835a8115f846dc9ea6d5225364f1e5a85a 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, "set" => 5];
$filters = ["escape" => 3, "striptags" => 3, "length" => 5, "capitalize" => 5, "lower" => 5, "slice" => 6];
$functions = ["path" => 3];
try {
$this->sandbox->checkSecurity(
['for', 'set'],
['escape', 'striptags', 'length', 'capitalize', 'lower', 'slice'],
['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['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 2
echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.book_entity.canonical", ["book_entity" => strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#url", [], "array"), "options", []), "entity", []), "id", []), "value", [])))]), "html", null, true);
echo "\"
title=\"\" class=\"article-linked__title\">
";
// line 5
$context["point"] = (((twig_length_filter($this->env, twig_capitalize_string_filter($this->env, twig_lower_filter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array"), "#context", [], "array"), "value", []))))) > 70)) ? ("...") : (""));
// line 6
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_slice($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array"), "#context", [], "array"), "value", [])), 0, 70), "html", null, true);
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["point"] ?? null)), "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;
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 6, 67 => 5, 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/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6623592d5af43_field--book-entity--field_lhLg8IkAlQKDozgAf1R1lfqBZ', '<?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/book/item/field--book-entity--field-book-title--book-entity.html.twig */
class __TwigTemplate_15d06c53db161b28d2e8a94a4894b1835a8115f846dc9ea6d5225364f1e5a85a 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, "set" => 5];
$filters = ["escape" => 3, "striptags" => 3, "length" => 5, "capitalize" => 5, "lower" => 5, "slice" => 6];
$functions = ["path" => 3];
try {
$this->sandbox->checkSecurity(
['for', 'set'],
['escape', 'striptags', 'length', 'capitalize', 'lower', 'slice'],
['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['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 2
echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.book_entity.canonical", ["book_entity" => strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#url", [], "array"), "options", []), "entity", []), "id", []), "value", [])))]), "html", null, true);
echo "\"
title=\"\" class=\"article-linked__title\">
";
// line 5
$context["point"] = (((twig_length_filter($this->env, twig_capitalize_string_filter($this->env, twig_lower_filter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array"), "#context", [], "array"), "value", []))))) > 70)) ? ("...") : (""));
// line 6
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_slice($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array"), "#context", [], "array"), "value", [])), 0, 70), "html", null, true);
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["point"] ?? null)), "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;
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 6, 67 => 5, 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/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_15d06c53db161b28d2e8a94a4894b1835a8115f846dc9ea6d5225364f1e5a85a', 'themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-title--book-entity.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: 62)
__TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58->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/livreshebdo_site/templates/book_entity.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('book_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82)
__TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 597)
__TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- 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('6623592d5af43_field--book-entity--field_Lio9peaE08ZoaORJVyAIqqVOA', '<?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/book/item/field--book-entity--field-book-publisher--book-entity.html.twig */
class __TwigTemplate_71d386f23b3f32f8a10e821571e777eb5f74b7716d30a2fa16f27cc9954770c8 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, "if" => 4];
$filters = ["escape" => 6, "striptags" => 6, "capitalize" => 8, "lower" => 8];
$functions = ["path" => 6];
try {
$this->sandbox->checkSecurity(
['for', 'if'],
['escape', 'striptags', 'capitalize', 'lower'],
['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 "
chez
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 4
echo " ";
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", [], "any", false, true), "#title", [], "array", false, true), "#context", [], "array", false, true), "value", [], "any", true, true)) {
// line 5
echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.book_entity.canonical", ["book_entity" => strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#url", [], "array"), "options", []), "entity", []), "id", []), "value", [])))]), "html", null, true);
echo "\"
title=\"\">
";
// line 8
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_capitalize_string_filter($this->env, twig_lower_filter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array"), "#context", [], "array"), "value", [])))), "html", null, true);
echo "
</a>
";
}
// line 11
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 12
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 86 => 12, 80 => 11, 74 => 8, 69 => 6, 66 => 5, 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/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6623592d5af43_field--book-entity--field_Lio9peaE08ZoaORJVyAIqqVOA', '<?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/book/item/field--book-entity--field-book-publisher--book-entity.html.twig */
class __TwigTemplate_71d386f23b3f32f8a10e821571e777eb5f74b7716d30a2fa16f27cc9954770c8 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, "if" => 4];
$filters = ["escape" => 6, "striptags" => 6, "capitalize" => 8, "lower" => 8];
$functions = ["path" => 6];
try {
$this->sandbox->checkSecurity(
['for', 'if'],
['escape', 'striptags', 'capitalize', 'lower'],
['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 "
chez
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 4
echo " ";
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", [], "any", false, true), "#title", [], "array", false, true), "#context", [], "array", false, true), "value", [], "any", true, true)) {
// line 5
echo " <a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->getPath("entity.book_entity.canonical", ["book_entity" => strip_tags($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#url", [], "array"), "options", []), "entity", []), "id", []), "value", [])))]), "html", null, true);
echo "\"
title=\"\">
";
// line 8
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_capitalize_string_filter($this->env, twig_lower_filter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["item"], "content", []), "#title", [], "array"), "#context", [], "array"), "value", [])))), "html", null, true);
echo "
</a>
";
}
// line 11
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 12
echo "
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 86 => 12, 80 => 11, 74 => 8, 69 => 6, 66 => 5, 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/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_71d386f23b3f32f8a10e821571e777eb5f74b7716d30a2fa16f27cc9954770c8', 'themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/book/item/field--book-entity--field-book-publisher--book-entity.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: 62)
__TwigTemplate_c86aee19d888a30acaf72e290008e0a4699933b8492602c8016ba1bd97896a58->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/livreshebdo_site/templates/book_entity.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('book_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82)
__TwigTemplate_a9b470d971c11fe98115c4cc8f8e09b0bee7ac28b79d8f8228d9eabdaaec870d->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-book-cited.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 597)
__TwigTemplate_465044da3c675aceadad649ebc29563ffed99767d016088a30d19db6f41a4a08->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/article-entity--article--full.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('article_entity', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- 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('6623592d5af43_field--article-entity--fi_l59d1cih5PsDXBZM9Qpa7DP6a', '<?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-author-cited.html.twig */
class __TwigTemplate_d19158e7149c0eecd9964d6fc142bd2c63c343832c801b9fef4e29beb71329e0 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" => 8, "for" => 9, "if" => 13];
$filters = ["batch" => 8, "escape" => 14, "length" => 22];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['batch', '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 1
echo "
Auteurs cités
";
// line 8
$context["holders"] = twig_array_batch($this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), 3, "");
// line 9
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["holders"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["holder"]) {
// line 10
echo "
<ul>
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["holder"]);
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 13
echo " ";
if ( !(null === $this->getAttribute($context["item"], "content", []))) {
// line 14
echo " <li>";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "</li>
";
}
// line 16
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 17
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['holder'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo "
env, ($context["holders"] ?? null)) <= 1)) {
echo " hidden ";
}
echo "\">
<a>plus</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 106 => 22, 102 => 20, 94 => 17, 88 => 16, 82 => 14, 79 => 13, 75 => 12, 71 => 10, 66 => 9, 64 => 8, 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-author-cited.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6623592d5af43_field--article-entity--fi_l59d1cih5PsDXBZM9Qpa7DP6a', '<?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-author-cited.html.twig */
class __TwigTemplate_d19158e7149c0eecd9964d6fc142bd2c63c343832c801b9fef4e29beb71329e0 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" => 8, "for" => 9, "if" => 13];
$filters = ["batch" => 8, "escape" => 14, "length" => 22];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['batch', '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 1
echo "
Auteurs cités
";
// line 8
$context["holders"] = twig_array_batch($this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), 3, "");
// line 9
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["holders"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["holder"]) {
// line 10
echo "
<ul>
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["holder"]);
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 13
echo " ";
if ( !(null === $this->getAttribute($context["item"], "content", []))) {
// line 14
echo " <li>";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "</li>
";
}
// line 16
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 17
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['holder'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo "
env, ($context["holders"] ?? null)) <= 1)) {
echo " hidden ";
}
echo "\">
<a>plus</a>
";
}
public function getTemplateName()
{
return "themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 106 => 22, 102 => 20, 94 => 17, 88 => 16, 82 => 14, 79 => 13, 75 => 12, 71 => 10, 66 => 9, 64 => 8, 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-author-cited.html.twig", "/var/www/html/releases/20240418101126/themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_d19158e7149c0eecd9964d6fc142bd2c63c343832c801b9fef4e29beb71329e0', 'themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig') (Line: 64)
twig_render_template('themes/livreshebdo/template/entity/article/full/field--article-entity--field-author-cited.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 606)
__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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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('6623592d5af43_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)