Warning: file_put_contents(sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-menu-block._88laOndl9svq1L_Mcmpp4J-43//.htaccess): failed to open stream: Permission denied in Drupal\Component\FileSecurity\FileSecurity::writeFile() (line 155 of core/lib/Drupal/Component/FileSecurity/FileSecurity.php). Drupal\Component\FileSecurity\FileSecurity::writeFile('sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-menu-block._88laOndl9svq1L_Mcmpp4J-43', '/.htaccess', '# Deny all requests from Apache 2.4+.
Require all denied
# Deny all requests from Apache 2.0-2.2.
Deny from all
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off
', ) (Line: 29)
Drupal\Component\FileSecurity\FileSecurity::writeHtaccess('sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-menu-block._88laOndl9svq1L_Mcmpp4J-43') (Line: 96)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/centros/polisocio/public/php/twig/66973902a05d3_block--system-menu-block._88laOndl9svq1L_Mcmpp4J-43') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('66973902a05d3_block--system-menu-block._88laOndl9svq1L_Mcmpp4J-43', '<?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/custom/ugr/templates/block--system-menu-block.html.twig */
class __TwigTemplate_1b82fc8409a00d938d093c5526718c2bac577ea1124110af0ba1134ed1ba7ee8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["set" => 35, "if" => 46, "block" => 54];
$filters = ["clean_class" => 39, "clean_id" => 43, "escape" => 44, "without" => 44];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_class', 'clean_id', 'escape', 'without'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 35
$context["classes"] = [0 => "block", 1 => "block-menu", 2 => "navigation", 3 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 39
($context["derivative_plugin_id"] ?? null))))];
// line 42
echo "
";
// line 43
$context["heading_id"] = ($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "id", [])) . \Drupal\Component\Utility\Html::getId("-menu"));
// line 44
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null)), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->withoutFilter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "role", "aria-labelledby"), "html", null, true);
echo ">
";
// line 46
echo " ";
if ( !$this->getAttribute(($context["configuration"] ?? null), "label_display", [])) {
// line 47
echo " ";
$context["title_attributes"] = $this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method");
// line 48
echo " ";
}
// line 49
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["configuration"] ?? null), "label", [])), "html", null, true);
echo "
";
// line 51
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 54
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 57
echo "
";
}
// line 54
public function block_content($context, array $blocks = [])
{
// line 55
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/custom/ugr/templates/block--system-menu-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 107 => 55, 104 => 54, 99 => 57, 96 => 54, 91 => 51, 85 => 50, 80 => 49, 77 => 48, 74 => 47, 71 => 46, 64 => 44, 62 => 43, 59 => 42, 57 => 39, 56 => 35,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "themes/custom/ugr/templates/block--system-menu-block.html.twig", "/var/www/centros/src/web/themes/custom/ugr/templates/block--system-menu-block.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('66973902a05d3_block--system-menu-block._88laOndl9svq1L_Mcmpp4J-43', '<?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/custom/ugr/templates/block--system-menu-block.html.twig */
class __TwigTemplate_1b82fc8409a00d938d093c5526718c2bac577ea1124110af0ba1134ed1ba7ee8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$tags = ["set" => 35, "if" => 46, "block" => 54];
$filters = ["clean_class" => 39, "clean_id" => 43, "escape" => 44, "without" => 44];
$functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_class', 'clean_id', 'escape', 'without'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 35
$context["classes"] = [0 => "block", 1 => "block-menu", 2 => "navigation", 3 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 39
($context["derivative_plugin_id"] ?? null))))];
// line 42
echo "
";
// line 43
$context["heading_id"] = ($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "id", [])) . \Drupal\Component\Utility\Html::getId("-menu"));
// line 44
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null)), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->withoutFilter($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "role", "aria-labelledby"), "html", null, true);
echo ">
";
// line 46
echo " ";
if ( !$this->getAttribute(($context["configuration"] ?? null), "label_display", [])) {
// line 47
echo " ";
$context["title_attributes"] = $this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method");
// line 48
echo " ";
}
// line 49
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["configuration"] ?? null), "label", [])), "html", null, true);
echo "
";
// line 51
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 54
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 57
echo "
";
}
// line 54
public function block_content($context, array $blocks = [])
{
// line 55
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/custom/ugr/templates/block--system-menu-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 107 => 55, 104 => 54, 99 => 57, 96 => 54, 91 => 51, 85 => 50, 80 => 49, 77 => 48, 74 => 47, 71 => 46, 64 => 44, 62 => 43, 59 => 42, 57 => 39, 56 => 35,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "themes/custom/ugr/templates/block--system-menu-block.html.twig", "/var/www/centros/src/web/themes/custom/ugr/templates/block--system-menu-block.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_1b82fc8409a00d938d093c5526718c2bac577ea1124110af0ba1134ed1ba7ee8', 'themes/custom/ugr/templates/block--system-menu-block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/custom/ugr/templates/block--system-menu-block.html.twig') (Line: 64)
twig_render_template('themes/custom/ugr/templates/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 80)
__TwigTemplate_996acd694ef386343f37ab252f76de19371f5db0f58b3e828482f667f6954efb->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/custom/ugr/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 101)
__TwigTemplate_c164442a81379090cb2602d485fe0a8a4ec1211e7bf7bc6f8587cdebded0d65c->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/custom/ugr/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: file_put_contents(sites/centros/polisocio/public/php/twig/66973902a05d3_field.html.twig_8zgVap7ge6NagWMO3dvn9R6s0//.htaccess): failed to open stream: Permission denied in Drupal\Component\FileSecurity\FileSecurity::writeFile() (line 155 of core/lib/Drupal/Component/FileSecurity/FileSecurity.php). Drupal\Component\FileSecurity\FileSecurity::writeFile('sites/centros/polisocio/public/php/twig/66973902a05d3_field.html.twig_8zgVap7ge6NagWMO3dvn9R6s0', '/.htaccess', '# Deny all requests from Apache 2.4+.
Require all denied
# Deny all requests from Apache 2.0-2.2.
Deny from all
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off
', ) (Line: 29)
Drupal\Component\FileSecurity\FileSecurity::writeHtaccess('sites/centros/polisocio/public/php/twig/66973902a05d3_field.html.twig_8zgVap7ge6NagWMO3dvn9R6s0') (Line: 96)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/centros/polisocio/public/php/twig/66973902a05d3_field.html.twig_8zgVap7ge6NagWMO3dvn9R6s0') (Line: 86)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('66973902a05d3_field.html.twig_8zgVap7ge6NagWMO3dvn9R6s0', '<?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;
/* field.html.twig */
class __TwigTemplate_c256ff3156bc09602f5b46d13c3c3fa785a4cb970f82e2d83e42db1c28e19df1 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 "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("", "field.html.twig", "core/themes/classy/templates/field/field.html.twig");
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('66973902a05d3_field.html.twig_8zgVap7ge6NagWMO3dvn9R6s0', '<?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;
/* field.html.twig */
class __TwigTemplate_c256ff3156bc09602f5b46d13c3c3fa785a4cb970f82e2d83e42db1c28e19df1 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 "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("", "field.html.twig", "core/themes/classy/templates/field/field.html.twig");
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c256ff3156bc09602f5b46d13c3c3fa785a4cb970f82e2d83e42db1c28e19df1', 'field.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('field.html.twig', NULL) (Line: 377)
Twig\Template->loadTemplate('field.html.twig', 'field--text.html.twig', 1) (Line: 61)
__TwigTemplate_698e9cc3ecb007177d0a0adf07fcc49e041a93e3969d6579dd1d360377ea2a64->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array, Array) (Line: 59)
__TwigTemplate_9da6cebbcbdec11d2db54a93c259fd9d8f1badc3796aa0f0aedd16c386520b0a->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--text-with-summary.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: 95)
__TwigTemplate_594a3269bc83ae940886eeac3c45b121dfe00f332f0e2d0a8699dcfdf97315e3->block_content(Array, Array) (Line: 216)
Twig\Template->displayBlock('content', Array, Array) (Line: 84)
__TwigTemplate_594a3269bc83ae940886eeac3c45b121dfe00f332f0e2d0a8699dcfdf97315e3->doDisplay(Array, Array) (Line: 455)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)
Twig\Template->display(Array) (Line: 434)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/classy/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 86)
__TwigTemplate_996acd694ef386343f37ab252f76de19371f5db0f58b3e828482f667f6954efb->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/custom/ugr/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 101)
__TwigTemplate_c164442a81379090cb2602d485fe0a8a4ec1211e7bf7bc6f8587cdebded0d65c->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/custom/ugr/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)