INCOMING CORRESPONDENCE
Box 92, No. 536
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_repoxsingleitem-template._7aAtlX-1f0IxVAL-ygCUEXhoM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/repoxsingleitem/templates/repoxsingleitem-template.html.twig */
class __TwigTemplate_23f0b237058799e8fb6ed7884e8b40ce extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["volume"] = "";
yield "
";
// line 2
$context["Scrapbook"] = "";
yield "
";
// line 3
$context["uuid"] = "";
yield "
";
// line 4
$context["backlink"] = ("/search/" . $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 4, $this->source));
// line 5
if (((($context["collectionName"] ?? null) == "schliemann") && ((($__internal_compile_0 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["typesch"] ?? null) : null) == "out"))) {
// line 6
yield " ";
$context["backlink"] = (("/search/" . $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 6, $this->source)) . "/2fd7c31c-0bd8-4e07-bfe8-7811ccb460f1");
} elseif ((( // line 7
($context["collectionName"] ?? null) == "schliemann") && ((($__internal_compile_1 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["typesch"] ?? null) : null) == "in"))) {
// line 8
yield " ";
$context["backlink"] = (("/search/" . $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 8, $this->source)) . "/2b7f8c35-5404-4f12-98cf-e1c3cebdc987");
}
// line 10
if ((($context["collectionName"] ?? null) == "schliemann")) {
// line 11
yield " ";
$context["backText"] = "Back to Heinrich Schliemann Papers";
} else {
// line 13
yield " ";
$context["backText"] = " Back to Gennadius Library Items";
}
// line 16
yield "
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["backlink"] ?? null), 26, $this->source), "html", null, true);
yield "\">
";
// line 27
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["backText"] ?? null), 27, $this->source), "html", null, true);
yield "</a>
";
// line 31
yield "
";
// line 40
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((($__internal_compile_2 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["datastreams"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 41
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_3 = $context["image"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["url"] ?? null) : null), 42, $this->source), "html", null, true);
yield "\" alt=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_4 = $context["image"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["alt"] ?? null) : null), 42, $this->source), "html", null, true);
yield "\" data-sub-html=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Twig\Extension\CoreExtension::replace($this->sandbox->ensureToStringAllowed((($__internal_compile_5 = $context["image"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["alt"] ?? null) : null), 42, $this->source), [".jpg" => ""]), "html", null, true);
yield "\" class=\"img-fluid\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
yield "
";
// line 71
yield "
";
// line 80
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_6 = (($__internal_compile_7 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["properties"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Title"] ?? null) : null), 80, $this->source), "html", null, true);
yield "
";
// line 84
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((($__internal_compile_8 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["properties"] ?? null) : null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 85
yield " ";
if (($context["key"] == "Volume")) {
// line 86
yield " ";
$context["volume"] = $context["value"];
// line 87
yield " ";
}
// line 88
yield " ";
if (($context["key"] == "Scrapbook")) {
// line 89
yield " ";
$context["Scrapbook"] = $context["value"];
// line 90
yield " ";
}
// line 91
yield " ";
// line 94
yield " ";
// line 96
yield " ";
if ((($context["key"] == "Creator") && (($context["collectionName"] ?? null) == "gennadius"))) {
// line 97
yield "
";
} else {
// line 99
yield "
";
}
// line 101
yield "
";
// line 102
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 102, $this->source), "html", null, true);
yield "
";
// line 105
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"], 105, $this->source), "html", null, true);
yield "
";
// line 106
if ((($context["key"] == "Creator") && (($context["collectionName"] ?? null) == "gennadius"))) {
// line 107
yield "
";
}
// line 109
yield "
";
// line 112
yield " ";
$context["related_enrichments"] = [];
// line 113
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((($__internal_compile_9 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["enrichments"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["enrichment"]) {
// line 114
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["enrichment"], "property", [], "any", false, false, true, 114) == $context["key"])) {
// line 115
yield " ";
$context["related_enrichments"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["related_enrichments"] ?? null), 115, $this->source), [$context["enrichment"]]);
// line 116
yield " ";
}
// line 117
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enrichment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 118
yield " ";
if ( !Twig\Extension\CoreExtension::testEmpty(($context["related_enrichments"] ?? null))) {
// line 119
yield "
<ul>
";
// line 121
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["related_enrichments"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["enrichment"]) {
// line 122
yield " ";
if (($context["key"] > 0)) {
// line 123
yield " ;
";
}
// line 125
yield " <li>
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["enrichment"], "url", [], "any", false, false, true, 126), 126, $this->source), "html", null, true);
yield "\" target=\"_blank\">
";
// line 127
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["enrichment"], "label", [], "any", false, false, true, 127), 127, $this->source), "html", null, true);
yield "
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['enrichment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 132
yield " </ul>
";
}
// line 135
yield " ";
if (($context["key"] == "Creator")) {
// line 136
yield "
";
// line 137
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["agentData"] ?? null));
foreach ($context['_seq'] as $context["keyData"] => $context["valueData"]) {
// line 138
yield "
";
// line 139
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["keyData"], 139, $this->source), "html", null, true);
yield "
";
// line 142
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["valueData"], 142, $this->source), "html", null, true);
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['keyData'], $context['valueData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
yield "
";
}
// line 147
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 150
yield "
More Informations
Αφίσα με εμψυχωτικό περιεχόμενο, χαρακτηριστική της περιόδου του Α’ Παγκοσμίου Πολέμου. Η \"Πατριωτική Ένωσις\" ήταν βενιζελική οργάνωση με σκοπό την υποστήριξη της πολεμικής προσπάθειας της χώρας κατά τη διάρκεια του Α' Παγκοσμίου Πολέμου. Μία από τις βασικότερες δραστηριότητές της ήταν η έκδοση αφισών και φυλλαδίων. Πρόεδρός της ήταν ο Γεώργιος Αβέρωφ. Η Ένωση διατηρούσε γραφεία στη διεύθυνση Βουκουρεστίου 9, Αθήνα. Τα πρώτα τέσσερα ευζωνικά τάγματα (αργότερα συντάγματα) συγκροτήθηκαν το 1867, αποτελούμενα από τέσσερις λόχους το καθένα (αργότερα προστέθηκε και πέμπτος). Επανδρώθηκαν, αρχικά, με εθελοντές, υπαξιωματικούς ή οπλίτες, που κατάγονταν από ορεινές περιοχές με αποστολή τη φύλαξη της ελληνικής μεθορίου. Θεωρούνται πρόγονοι της μονάδας ορεινών καταδρομών και διακρίθηκαν ιδιαίτερα στους Bαλκανικούς Πολέμους, αλλά και στις υπόλοιπες ένοπλες συγκρούσεις της χώρας κατά τη διάρκεια του 20ού αιώνα, για τη γενναιότητα και την αποτελεσματικότητά τους.
-->
";
// line 165
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["relatives"] ?? null)) != 0)) {
yield "
";
// line 168
yield $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Discover More"));
yield "
";
// line 185
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["relatives"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
yield "
";
// line 187
yield " ";
// line 188
yield " ";
if (($context["key"] < 16)) {
// line 189
yield "
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 191, $this->source), "html", null, true);
yield "/";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "uuid", [], "any", false, false, true, 191), 191, $this->source), "html", null, true);
yield "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["value"], "datastream", [], "any", false, false, true, 194), 0, [], "any", false, false, true, 194), "thumbUrl", [], "any", false, false, true, 194), 194, $this->source), "html", null, true);
yield "\" />
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["value"], "datastream", [], "any", false, false, true, 195), 0, [], "any", false, false, true, 195), "thumbUrl", [], "any", false, false, true, 195), 195, $this->source), "html", null, true);
yield "\" alt=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["value"], "datastream", [], "any", false, false, true, 195), 0, [], "any", false, false, true, 195), "alt", [], "any", false, false, true, 195), 195, $this->source), "html", null, true);
yield "\" />
";
// line 199
if ((($context["collectionName"] ?? null) == "schliemann")) {
yield "
";
// line 200
if (((($__internal_compile_10 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["typesch"] ?? null) : null) == "out")) {
// line 201
yield " OUTGOING CORRESPONDENCE
";
} elseif (((($__internal_compile_11 = // line 202
($context["containerResult"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["typesch"] ?? null) : null) == "in")) {
// line 203
yield " INCOMING CORRESPONDENCE
";
}
// line 205
yield " ";
} else {
// line 206
yield " Scrapbook ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["Scrapbook"] ?? null), 206, $this->source), "html", null, true);
yield ", vol ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["volume"] ?? null), 206, $this->source), "html", null, true);
yield "
";
}
// line 208
yield "
";
// line 210
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\customtwigfunctions\TwigExtension\CustomtwigfunctionsTwigExtension']->trimLeadingZeros($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "label", [], "any", false, false, true, 210), 210, $this->source)), "html", null, true);
yield "
</a>
";
}
// line 216
yield " ";
// line 217
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
yield "
";
}
// line 222
yield "
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["collectionName", "containerResult", "agentData", "relatives"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 461 => 222, 455 => 218, 449 => 217, 447 => 216, 438 => 210, 434 => 208, 426 => 206, 423 => 205, 419 => 203, 417 => 202, 414 => 201, 412 => 200, 408 => 199, 399 => 195, 395 => 194, 387 => 191, 383 => 189, 380 => 188, 378 => 187, 372 => 185, 352 => 168, 346 => 165, 329 => 150, 321 => 147, 317 => 145, 308 => 142, 302 => 139, 299 => 138, 295 => 137, 292 => 136, 289 => 135, 284 => 132, 273 => 127, 269 => 126, 266 => 125, 262 => 123, 259 => 122, 255 => 121, 251 => 119, 248 => 118, 242 => 117, 239 => 116, 236 => 115, 233 => 114, 228 => 113, 225 => 112, 221 => 109, 217 => 107, 215 => 106, 211 => 105, 205 => 102, 202 => 101, 198 => 99, 194 => 97, 191 => 96, 189 => 94, 187 => 91, 184 => 90, 181 => 89, 178 => 88, 175 => 87, 172 => 86, 169 => 85, 165 => 84, 157 => 80, 147 => 71, 128 => 45, 115 => 42, 112 => 41, 108 => 40, 97 => 31, 91 => 27, 87 => 26, 75 => 16, 71 => 13, 67 => 11, 65 => 10, 61 => 8, 59 => 7, 56 => 6, 54 => 5, 52 => 4, 48 => 3, 44 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("", "modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig", "/var/www/drupal/web/modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 1, "if" => 5, "for" => 40);
static $filters = array("escape" => 26, "replace" => 42, "merge" => 115, "length" => 165, "t" => 168, "trim_leading_zeros" => 210);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'replace', 'merge', 'length', 't', 'trim_leading_zeros'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_repoxsingleitem-template._7aAtlX-1f0IxVAL-ygCUEXhoM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/repoxsingleitem/templates/repoxsingleitem-template.html.twig */
class __TwigTemplate_23f0b237058799e8fb6ed7884e8b40ce extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["volume"] = "";
yield "
";
// line 2
$context["Scrapbook"] = "";
yield "
";
// line 3
$context["uuid"] = "";
yield "
";
// line 4
$context["backlink"] = ("/search/" . $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 4, $this->source));
// line 5
if (((($context["collectionName"] ?? null) == "schliemann") && ((($__internal_compile_0 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["typesch"] ?? null) : null) == "out"))) {
// line 6
yield " ";
$context["backlink"] = (("/search/" . $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 6, $this->source)) . "/2fd7c31c-0bd8-4e07-bfe8-7811ccb460f1");
} elseif ((( // line 7
($context["collectionName"] ?? null) == "schliemann") && ((($__internal_compile_1 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["typesch"] ?? null) : null) == "in"))) {
// line 8
yield " ";
$context["backlink"] = (("/search/" . $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 8, $this->source)) . "/2b7f8c35-5404-4f12-98cf-e1c3cebdc987");
}
// line 10
if ((($context["collectionName"] ?? null) == "schliemann")) {
// line 11
yield " ";
$context["backText"] = "Back to Heinrich Schliemann Papers";
} else {
// line 13
yield " ";
$context["backText"] = " Back to Gennadius Library Items";
}
// line 16
yield "
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["backlink"] ?? null), 26, $this->source), "html", null, true);
yield "\">
";
// line 27
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["backText"] ?? null), 27, $this->source), "html", null, true);
yield "</a>
";
// line 31
yield "
";
// line 40
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((($__internal_compile_2 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["datastreams"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 41
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_3 = $context["image"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["url"] ?? null) : null), 42, $this->source), "html", null, true);
yield "\" alt=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_4 = $context["image"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["alt"] ?? null) : null), 42, $this->source), "html", null, true);
yield "\" data-sub-html=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Twig\Extension\CoreExtension::replace($this->sandbox->ensureToStringAllowed((($__internal_compile_5 = $context["image"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["alt"] ?? null) : null), 42, $this->source), [".jpg" => ""]), "html", null, true);
yield "\" class=\"img-fluid\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
yield "
";
// line 71
yield "
";
// line 80
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_6 = (($__internal_compile_7 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["properties"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Title"] ?? null) : null), 80, $this->source), "html", null, true);
yield "
";
// line 84
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((($__internal_compile_8 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["properties"] ?? null) : null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 85
yield " ";
if (($context["key"] == "Volume")) {
// line 86
yield " ";
$context["volume"] = $context["value"];
// line 87
yield " ";
}
// line 88
yield " ";
if (($context["key"] == "Scrapbook")) {
// line 89
yield " ";
$context["Scrapbook"] = $context["value"];
// line 90
yield " ";
}
// line 91
yield " ";
// line 94
yield " ";
// line 96
yield " ";
if ((($context["key"] == "Creator") && (($context["collectionName"] ?? null) == "gennadius"))) {
// line 97
yield "
";
} else {
// line 99
yield "
";
}
// line 101
yield "
";
// line 102
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 102, $this->source), "html", null, true);
yield "
";
// line 105
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"], 105, $this->source), "html", null, true);
yield "
";
// line 106
if ((($context["key"] == "Creator") && (($context["collectionName"] ?? null) == "gennadius"))) {
// line 107
yield "
";
}
// line 109
yield "
";
// line 112
yield " ";
$context["related_enrichments"] = [];
// line 113
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((($__internal_compile_9 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["enrichments"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["enrichment"]) {
// line 114
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["enrichment"], "property", [], "any", false, false, true, 114) == $context["key"])) {
// line 115
yield " ";
$context["related_enrichments"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["related_enrichments"] ?? null), 115, $this->source), [$context["enrichment"]]);
// line 116
yield " ";
}
// line 117
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enrichment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 118
yield " ";
if ( !Twig\Extension\CoreExtension::testEmpty(($context["related_enrichments"] ?? null))) {
// line 119
yield "
<ul>
";
// line 121
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["related_enrichments"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["enrichment"]) {
// line 122
yield " ";
if (($context["key"] > 0)) {
// line 123
yield " ;
";
}
// line 125
yield " <li>
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["enrichment"], "url", [], "any", false, false, true, 126), 126, $this->source), "html", null, true);
yield "\" target=\"_blank\">
";
// line 127
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["enrichment"], "label", [], "any", false, false, true, 127), 127, $this->source), "html", null, true);
yield "
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['enrichment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 132
yield " </ul>
";
}
// line 135
yield " ";
if (($context["key"] == "Creator")) {
// line 136
yield "
";
// line 137
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["agentData"] ?? null));
foreach ($context['_seq'] as $context["keyData"] => $context["valueData"]) {
// line 138
yield "
";
// line 139
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["keyData"], 139, $this->source), "html", null, true);
yield "
";
// line 142
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["valueData"], 142, $this->source), "html", null, true);
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['keyData'], $context['valueData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
yield "
";
}
// line 147
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 150
yield "
More Informations
Αφίσα με εμψυχωτικό περιεχόμενο, χαρακτηριστική της περιόδου του Α’ Παγκοσμίου Πολέμου. Η \"Πατριωτική Ένωσις\" ήταν βενιζελική οργάνωση με σκοπό την υποστήριξη της πολεμικής προσπάθειας της χώρας κατά τη διάρκεια του Α' Παγκοσμίου Πολέμου. Μία από τις βασικότερες δραστηριότητές της ήταν η έκδοση αφισών και φυλλαδίων. Πρόεδρός της ήταν ο Γεώργιος Αβέρωφ. Η Ένωση διατηρούσε γραφεία στη διεύθυνση Βουκουρεστίου 9, Αθήνα. Τα πρώτα τέσσερα ευζωνικά τάγματα (αργότερα συντάγματα) συγκροτήθηκαν το 1867, αποτελούμενα από τέσσερις λόχους το καθένα (αργότερα προστέθηκε και πέμπτος). Επανδρώθηκαν, αρχικά, με εθελοντές, υπαξιωματικούς ή οπλίτες, που κατάγονταν από ορεινές περιοχές με αποστολή τη φύλαξη της ελληνικής μεθορίου. Θεωρούνται πρόγονοι της μονάδας ορεινών καταδρομών και διακρίθηκαν ιδιαίτερα στους Bαλκανικούς Πολέμους, αλλά και στις υπόλοιπες ένοπλες συγκρούσεις της χώρας κατά τη διάρκεια του 20ού αιώνα, για τη γενναιότητα και την αποτελεσματικότητά τους.
-->
";
// line 165
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["relatives"] ?? null)) != 0)) {
yield "
";
// line 168
yield $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Discover More"));
yield "
";
// line 185
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["relatives"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
yield "
";
// line 187
yield " ";
// line 188
yield " ";
if (($context["key"] < 16)) {
// line 189
yield "
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["collectionName"] ?? null), 191, $this->source), "html", null, true);
yield "/";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "uuid", [], "any", false, false, true, 191), 191, $this->source), "html", null, true);
yield "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["value"], "datastream", [], "any", false, false, true, 194), 0, [], "any", false, false, true, 194), "thumbUrl", [], "any", false, false, true, 194), 194, $this->source), "html", null, true);
yield "\" />
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["value"], "datastream", [], "any", false, false, true, 195), 0, [], "any", false, false, true, 195), "thumbUrl", [], "any", false, false, true, 195), 195, $this->source), "html", null, true);
yield "\" alt=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["value"], "datastream", [], "any", false, false, true, 195), 0, [], "any", false, false, true, 195), "alt", [], "any", false, false, true, 195), 195, $this->source), "html", null, true);
yield "\" />
";
// line 199
if ((($context["collectionName"] ?? null) == "schliemann")) {
yield "
";
// line 200
if (((($__internal_compile_10 = ($context["containerResult"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["typesch"] ?? null) : null) == "out")) {
// line 201
yield " OUTGOING CORRESPONDENCE
";
} elseif (((($__internal_compile_11 = // line 202
($context["containerResult"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["typesch"] ?? null) : null) == "in")) {
// line 203
yield " INCOMING CORRESPONDENCE
";
}
// line 205
yield " ";
} else {
// line 206
yield " Scrapbook ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["Scrapbook"] ?? null), 206, $this->source), "html", null, true);
yield ", vol ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["volume"] ?? null), 206, $this->source), "html", null, true);
yield "
";
}
// line 208
yield "
";
// line 210
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\customtwigfunctions\TwigExtension\CustomtwigfunctionsTwigExtension']->trimLeadingZeros($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["value"], "label", [], "any", false, false, true, 210), 210, $this->source)), "html", null, true);
yield "
</a>
";
}
// line 216
yield " ";
// line 217
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
yield "
";
}
// line 222
yield "
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["collectionName", "containerResult", "agentData", "relatives"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 461 => 222, 455 => 218, 449 => 217, 447 => 216, 438 => 210, 434 => 208, 426 => 206, 423 => 205, 419 => 203, 417 => 202, 414 => 201, 412 => 200, 408 => 199, 399 => 195, 395 => 194, 387 => 191, 383 => 189, 380 => 188, 378 => 187, 372 => 185, 352 => 168, 346 => 165, 329 => 150, 321 => 147, 317 => 145, 308 => 142, 302 => 139, 299 => 138, 295 => 137, 292 => 136, 289 => 135, 284 => 132, 273 => 127, 269 => 126, 266 => 125, 262 => 123, 259 => 122, 255 => 121, 251 => 119, 248 => 118, 242 => 117, 239 => 116, 236 => 115, 233 => 114, 228 => 113, 225 => 112, 221 => 109, 217 => 107, 215 => 106, 211 => 105, 205 => 102, 202 => 101, 198 => 99, 194 => 97, 191 => 96, 189 => 94, 187 => 91, 184 => 90, 181 => 89, 178 => 88, 175 => 87, 172 => 86, 169 => 85, 165 => 84, 157 => 80, 147 => 71, 128 => 45, 115 => 42, 112 => 41, 108 => 40, 97 => 31, 91 => 27, 87 => 26, 75 => 16, 71 => 13, 67 => 11, 65 => 10, 61 => 8, 59 => 7, 56 => 6, 54 => 5, 52 => 4, 48 => 3, 44 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("", "modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig", "/var/www/drupal/web/modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 1, "if" => 5, "for" => 40);
static $filters = array("escape" => 26, "replace" => 42, "merge" => 115, "length" => 165, "t" => 168, "trim_leading_zeros" => 210);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'replace', 'merge', 'length', 't', 'trim_leading_zeros'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_23f0b237058799e8fb6ed7884e8b40ce', 'modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig') (Line: 344)
Twig\Environment->load('modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig') (Line: 33)
twig_render_template('modules/custom/repoxsingleitem/templates/repoxsingleitem-template.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('repoxsingleitem_template', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 231)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_html.html.twig_Un4udxm-fhL2l49Ll85Gq6-Ld', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/layout/html.html.twig */
class __TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 26
yield "
";
// line 28
$context["current_path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("");
// line 29
yield "
";
// line 32
$context["body_classes"] = [(( // line 33
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), ((( // line 34
($context["node_type"] ?? null) == "news")) ? ("new-page") : ("")), ((( // line 35
($context["root_path"] ?? null) == "news")) ? ("news-page") : ("")), (( ! // line 36
($context["root_path"] ?? null)) ? ("path-frontpage home") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null), 36, $this->source))))), (( // line 37
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null), 37, $this->source)))) : ("")), (( // line 38
($context["db_offline"] ?? null)) ? ("db-offline") : ("")), ((( // line 39
($context["current_path"] ?? null) == "/cookies_policy")) ? ("about-page") : ("")), ((( // line 40
($context["current_path"] ?? null) == "/terms_of_use")) ? ("about-page") : ("")), ((( // line 41
($context["current_path"] ?? null) == "/exhibitions")) ? ("collection-page collection-page-general") : ("")), ((( // line 42
($context["current_path"] ?? null) == "/collections")) ? ("collection-page collection-page-general") : (""))];
// line 47
yield "
";
// line 48
if (CoreExtension::inFilter("item/gennadius", ($context["current_path"] ?? null))) {
// line 49
yield " ";
$context["otherClasses"] = ["gennadius-color"];
// line 52
yield " ";
$context["body_classes"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["body_classes"] ?? null), 52, $this->source), $this->sandbox->ensureToStringAllowed(($context["otherClasses"] ?? null), 52, $this->source));
} elseif (CoreExtension::inFilter("item/schliemann", // line 53
($context["current_path"] ?? null))) {
// line 54
yield " ";
$context["otherClasses"] = ["schliemann-color"];
// line 57
yield " ";
$context["body_classes"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["body_classes"] ?? null), 57, $this->source), $this->sandbox->ensureToStringAllowed(($context["otherClasses"] ?? null), 57, $this->source));
}
// line 58
yield "
";
// line 60
if (($context["bodyClasses"] ?? null)) {
// line 61
yield " ";
$context["body_classes"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["body_classes"] ?? null), 61, $this->source), $this->sandbox->ensureToStringAllowed(($context["bodyClasses"] ?? null), 61, $this->source));
}
// line 63
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null), 65, $this->source), "html", null, true);
yield ">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 67, $this->source), "html", null, true);
yield "\">
";
// line 68
yield $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null), 68, $this->source), " | "));
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 69, $this->source), "html", null, true);
yield "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 70, $this->source), "html", null, true);
yield "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [($context["body_classes"] ?? null)], "method", false, false, true, 72), 72, $this->source), "html", null, true);
yield ">
";
// line 78
yield " ";
// line 81
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null), 81, $this->source), "html", null, true);
yield "
";
// line 82
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null), 82, $this->source), "html", null, true);
yield "
";
// line 83
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null), 83, $this->source), "html", null, true);
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 84, $this->source), "html", null, true);
yield "\">
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["logged_in", "node_type", "root_path", "db_offline", "bodyClasses", "html_attributes", "placeholder_token", "head_title", "attributes", "page_top", "page", "page_bottom"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/layout/html.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 136 => 84, 132 => 83, 128 => 82, 123 => 81, 121 => 78, 116 => 72, 111 => 70, 107 => 69, 103 => 68, 99 => 67, 94 => 65, 90 => 63, 86 => 61, 84 => 60, 80 => 58, 76 => 57, 73 => 54, 71 => 53, 68 => 52, 65 => 49, 63 => 48, 60 => 47, 58 => 42, 57 => 41, 56 => 40, 55 => 39, 54 => 38, 53 => 37, 52 => 36, 51 => 35, 50 => 34, 49 => 33, 48 => 32, 45 => 29, 43 => 28, 40 => 26,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/layout/html.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/layout/html.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 28, "if" => 48);
static $filters = array("clean_class" => 36, "merge" => 52, "escape" => 65, "safe_join" => 68);
static $functions = array("path" => 28);
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'merge', 'escape', 'safe_join'],
['path'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_html.html.twig_Un4udxm-fhL2l49Ll85Gq6-Ld', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/layout/html.html.twig */
class __TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 26
yield "
";
// line 28
$context["current_path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("");
// line 29
yield "
";
// line 32
$context["body_classes"] = [(( // line 33
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), ((( // line 34
($context["node_type"] ?? null) == "news")) ? ("new-page") : ("")), ((( // line 35
($context["root_path"] ?? null) == "news")) ? ("news-page") : ("")), (( ! // line 36
($context["root_path"] ?? null)) ? ("path-frontpage home") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null), 36, $this->source))))), (( // line 37
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null), 37, $this->source)))) : ("")), (( // line 38
($context["db_offline"] ?? null)) ? ("db-offline") : ("")), ((( // line 39
($context["current_path"] ?? null) == "/cookies_policy")) ? ("about-page") : ("")), ((( // line 40
($context["current_path"] ?? null) == "/terms_of_use")) ? ("about-page") : ("")), ((( // line 41
($context["current_path"] ?? null) == "/exhibitions")) ? ("collection-page collection-page-general") : ("")), ((( // line 42
($context["current_path"] ?? null) == "/collections")) ? ("collection-page collection-page-general") : (""))];
// line 47
yield "
";
// line 48
if (CoreExtension::inFilter("item/gennadius", ($context["current_path"] ?? null))) {
// line 49
yield " ";
$context["otherClasses"] = ["gennadius-color"];
// line 52
yield " ";
$context["body_classes"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["body_classes"] ?? null), 52, $this->source), $this->sandbox->ensureToStringAllowed(($context["otherClasses"] ?? null), 52, $this->source));
} elseif (CoreExtension::inFilter("item/schliemann", // line 53
($context["current_path"] ?? null))) {
// line 54
yield " ";
$context["otherClasses"] = ["schliemann-color"];
// line 57
yield " ";
$context["body_classes"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["body_classes"] ?? null), 57, $this->source), $this->sandbox->ensureToStringAllowed(($context["otherClasses"] ?? null), 57, $this->source));
}
// line 58
yield "
";
// line 60
if (($context["bodyClasses"] ?? null)) {
// line 61
yield " ";
$context["body_classes"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["body_classes"] ?? null), 61, $this->source), $this->sandbox->ensureToStringAllowed(($context["bodyClasses"] ?? null), 61, $this->source));
}
// line 63
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null), 65, $this->source), "html", null, true);
yield ">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 67, $this->source), "html", null, true);
yield "\">
";
// line 68
yield $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null), 68, $this->source), " | "));
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 69, $this->source), "html", null, true);
yield "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 70, $this->source), "html", null, true);
yield "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [($context["body_classes"] ?? null)], "method", false, false, true, 72), 72, $this->source), "html", null, true);
yield ">
";
// line 78
yield " ";
// line 81
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null), 81, $this->source), "html", null, true);
yield "
";
// line 82
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null), 82, $this->source), "html", null, true);
yield "
";
// line 83
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null), 83, $this->source), "html", null, true);
yield "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 84, $this->source), "html", null, true);
yield "\">
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["logged_in", "node_type", "root_path", "db_offline", "bodyClasses", "html_attributes", "placeholder_token", "head_title", "attributes", "page_top", "page", "page_bottom"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/layout/html.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 136 => 84, 132 => 83, 128 => 82, 123 => 81, 121 => 78, 116 => 72, 111 => 70, 107 => 69, 103 => 68, 99 => 67, 94 => 65, 90 => 63, 86 => 61, 84 => 60, 80 => 58, 76 => 57, 73 => 54, 71 => 53, 68 => 52, 65 => 49, 63 => 48, 60 => 47, 58 => 42, 57 => 41, 56 => 40, 55 => 39, 54 => 38, 53 => 37, 52 => 36, 51 => 35, 50 => 34, 49 => 33, 48 => 32, 45 => 29, 43 => 28, 40 => 26,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/layout/html.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/layout/html.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 28, "if" => 48);
static $filters = array("clean_class" => 36, "merge" => 52, "escape" => 65, "safe_join" => 68);
static $functions = array("path" => 28);
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'merge', 'escape', 'safe_join'],
['path'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659', 'themes/ascsa_theme/templates/layout/html.html.twig') (Line: 344)
Twig\Environment->load('themes/ascsa_theme/templates/layout/html.html.twig') (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_page.html.twig_6_yiNbJ0gApo2TW22ezki_yvu', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/layout/page.html.twig */
class __TwigTemplate_b4745a407950119487e21764719659a2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 46
yield "
";
// line 48
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 48), 48, $this->source), "html", null, true);
yield "
";
// line 50
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "primary_menu", [], "any", false, false, true, 50), 50, $this->source), "html", null, true);
yield "
";
// line 51
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "secondary_menu", [], "any", false, false, true, 51), 51, $this->source), "html", null, true);
yield "
";
// line 53
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "breadcrumb", [], "any", false, false, true, 53), 53, $this->source), "html", null, true);
yield "
";
// line 55
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 55), 55, $this->source), "html", null, true);
yield "
";
// line 57
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 57), 57, $this->source), "html", null, true);
yield "
";
// line 58
$context["image"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getFileUrl($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "fields", [], "any", false, false, true, 58), "field_image", [], "any", false, false, true, 58), "entity", [], "any", false, false, true, 58), "uri", [], "any", false, false, true, 58), "value", [], "any", false, false, true, 58), 58, $this->source));
// line 59
yield "
<a></a>";
// line 62
yield "
";
// line 64
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 64), 64, $this->source), "html", null, true);
yield "
";
// line 66
yield " ";
// line 67
yield "
";
// line 68
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 68)) {
// line 69
yield "
";
// line 70
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 70), 70, $this->source), "html", null, true);
yield "
";
}
// line 73
yield "
";
// line 74
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 74)) {
// line 75
yield "
";
// line 76
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 76), 76, $this->source), "html", null, true);
yield "
";
}
// line 79
yield "
";
// line 82
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 82)) {
// line 83
yield "
";
// line 84
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
yield "
";
}
// line 87
yield "
";
// line 90
yield "
(function(\$) {
window.onload = function() {
const main = document.getElementById(\"main\");
if (main) {
main.classList.add(\"loaded\");
}
\$(\"h1.tlt\").textillate({
initialDelay: 500
});
\$(\"h2.tlt\").textillate({
initialDelay: 1750
});
\$(\"a strong.tlt\").textillate({
initialDelay: 3050
});
lax.setup({
breakpoints: {
small: 0,
large: 992
},
});
const update = () => {
lax.update(window.scrollY);
window.requestAnimationFrame(update);
};
window.requestAnimationFrame(update);
let w = window.innerWidth;
window.addEventListener(\"resize\", function() {
if (w !== window.innerWidth) {
lax.updateElements();
}
});
\$(\"#tlt_txt h3.tlt\").textillate({
autoStart: false
});
\$(\"#tlt_txt_1 h3.tlt\").textillate({
autoStart: false
});
\$(\"#tlt_txt_2 h3.tlt\").textillate({
autoStart: false
});
\$(window).scroll(function() {
if (!\$(\"#tlt_txt h3.tlt\").hasClass(\"show\")) {
if (\$(\"#tlt_txt h3.tlt\").visible(true)) {
\$(\"#tlt_txt h3.tlt\").addClass(\"show\");
\$(\"#tlt_txt h3.tlt.show\").textillate(\"in\");
}
}
if (!\$(\"#tlt_txt_1 h3.tlt\").hasClass(\"show\")) {
if (\$(\"#tlt_txt_1 h3.tlt\").visible(true)) {
\$(\"#tlt_txt_1 h3.tlt\").addClass(\"show\");
\$(\"#tlt_txt_1 h3.tlt.show\").textillate(\"in\");
}
}
if (!\$(\"#tlt_txt_2 h3.tlt\").hasClass(\"show\")) {
if (\$(\"#tlt_txt_2 h3.tlt\").visible(true)) {
\$(\"#tlt_txt_2 h3.tlt\").addClass(\"show\");
\$(\"#tlt_txt_2 h3.tlt.show\").textillate(\"in\");
}
}
});
};
})(jQuery);
// var xxx = document.getElementById('bio').offsetTop;
// console.log(xxx);
// window.addEventListener('scroll', function() {
// console.log(window.pageYOffset);
// });
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["page", "node"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/layout/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 135 => 90, 132 => 87, 126 => 84, 123 => 83, 121 => 82, 116 => 79, 110 => 76, 107 => 75, 105 => 74, 102 => 73, 96 => 70, 93 => 69, 91 => 68, 88 => 67, 86 => 66, 81 => 64, 78 => 62, 74 => 59, 72 => 58, 68 => 57, 63 => 55, 58 => 53, 53 => 51, 49 => 50, 44 => 48, 40 => 46,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/layout/page.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/layout/page.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 58, "if" => 68);
static $filters = array("escape" => 48);
static $functions = array("file_url" => 58);
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape'],
['file_url'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_page.html.twig_6_yiNbJ0gApo2TW22ezki_yvu', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/layout/page.html.twig */
class __TwigTemplate_b4745a407950119487e21764719659a2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 46
yield "
";
// line 48
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 48), 48, $this->source), "html", null, true);
yield "
";
// line 50
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "primary_menu", [], "any", false, false, true, 50), 50, $this->source), "html", null, true);
yield "
";
// line 51
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "secondary_menu", [], "any", false, false, true, 51), 51, $this->source), "html", null, true);
yield "
";
// line 53
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "breadcrumb", [], "any", false, false, true, 53), 53, $this->source), "html", null, true);
yield "
";
// line 55
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 55), 55, $this->source), "html", null, true);
yield "
";
// line 57
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 57), 57, $this->source), "html", null, true);
yield "
";
// line 58
$context["image"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getFileUrl($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "fields", [], "any", false, false, true, 58), "field_image", [], "any", false, false, true, 58), "entity", [], "any", false, false, true, 58), "uri", [], "any", false, false, true, 58), "value", [], "any", false, false, true, 58), 58, $this->source));
// line 59
yield "
<a></a>";
// line 62
yield "
";
// line 64
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 64), 64, $this->source), "html", null, true);
yield "
";
// line 66
yield " ";
// line 67
yield "
";
// line 68
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 68)) {
// line 69
yield "
";
// line 70
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 70), 70, $this->source), "html", null, true);
yield "
";
}
// line 73
yield "
";
// line 74
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 74)) {
// line 75
yield "
";
// line 76
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 76), 76, $this->source), "html", null, true);
yield "
";
}
// line 79
yield "
";
// line 82
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 82)) {
// line 83
yield "
";
// line 84
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
yield "
";
}
// line 87
yield "
";
// line 90
yield "
(function(\$) {
window.onload = function() {
const main = document.getElementById(\"main\");
if (main) {
main.classList.add(\"loaded\");
}
\$(\"h1.tlt\").textillate({
initialDelay: 500
});
\$(\"h2.tlt\").textillate({
initialDelay: 1750
});
\$(\"a strong.tlt\").textillate({
initialDelay: 3050
});
lax.setup({
breakpoints: {
small: 0,
large: 992
},
});
const update = () => {
lax.update(window.scrollY);
window.requestAnimationFrame(update);
};
window.requestAnimationFrame(update);
let w = window.innerWidth;
window.addEventListener(\"resize\", function() {
if (w !== window.innerWidth) {
lax.updateElements();
}
});
\$(\"#tlt_txt h3.tlt\").textillate({
autoStart: false
});
\$(\"#tlt_txt_1 h3.tlt\").textillate({
autoStart: false
});
\$(\"#tlt_txt_2 h3.tlt\").textillate({
autoStart: false
});
\$(window).scroll(function() {
if (!\$(\"#tlt_txt h3.tlt\").hasClass(\"show\")) {
if (\$(\"#tlt_txt h3.tlt\").visible(true)) {
\$(\"#tlt_txt h3.tlt\").addClass(\"show\");
\$(\"#tlt_txt h3.tlt.show\").textillate(\"in\");
}
}
if (!\$(\"#tlt_txt_1 h3.tlt\").hasClass(\"show\")) {
if (\$(\"#tlt_txt_1 h3.tlt\").visible(true)) {
\$(\"#tlt_txt_1 h3.tlt\").addClass(\"show\");
\$(\"#tlt_txt_1 h3.tlt.show\").textillate(\"in\");
}
}
if (!\$(\"#tlt_txt_2 h3.tlt\").hasClass(\"show\")) {
if (\$(\"#tlt_txt_2 h3.tlt\").visible(true)) {
\$(\"#tlt_txt_2 h3.tlt\").addClass(\"show\");
\$(\"#tlt_txt_2 h3.tlt.show\").textillate(\"in\");
}
}
});
};
})(jQuery);
// var xxx = document.getElementById('bio').offsetTop;
// console.log(xxx);
// window.addEventListener('scroll', function() {
// console.log(window.pageYOffset);
// });
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["page", "node"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/layout/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 135 => 90, 132 => 87, 126 => 84, 123 => 83, 121 => 82, 116 => 79, 110 => 76, 107 => 75, 105 => 74, 102 => 73, 96 => 70, 93 => 69, 91 => 68, 88 => 67, 86 => 66, 81 => 64, 78 => 62, 74 => 59, 72 => 58, 68 => 57, 63 => 55, 58 => 53, 53 => 51, 49 => 50, 44 => 48, 40 => 46,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/layout/page.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/layout/page.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 58, "if" => 68);
static $filters = array("escape" => 48);
static $functions = array("file_url" => 58);
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape'],
['file_url'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_b4745a407950119487e21764719659a2', 'themes/ascsa_theme/templates/layout/page.html.twig') (Line: 344)
Twig\Environment->load('themes/ascsa_theme/templates/layout/page.html.twig') (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 128)
__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_block--custommenu.html.tw_cX3FO9NpmCHM4VY7xGsRtnR0H', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/custommenu/templates/block--custommenu.html.twig */
class __TwigTemplate_7e4dcacc1f23686c01658da3737b3427 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["url"] = "/";
// line 2
if ((($context["lang_id"] ?? null) == "el")) {
// line 3
yield " ";
$context["url"] = "/el";
}
// line 5
yield "
<a>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url"] ?? null), 8, $this->source), "html", null, true);
yield ">
</a>
";
// line 21
yield " <ul>
";
// line 22
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["menuTree"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 23
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_0 = (($__internal_compile_1 = $context["item"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["parent"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 23)) {
// line 24
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_2 = (($__internal_compile_3 = $context["item"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["parent"] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 24);
// line 25
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 25)]);
// line 26
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 27
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 28
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 29, $this->source), "html", null, true);
yield "\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 30, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 30), 30, $this->source), "html", null, true);
yield "</a>
";
} else {
// line 32
yield " ";
$context["path"] = (($__internal_compile_4 = (($__internal_compile_5 = $context["item"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["parent"] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["uri"] ?? null) : null);
// line 33
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 34
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 35
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 36, $this->source), "html", null, true);
yield "\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 37, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_6 = (($__internal_compile_7 = $context["item"]) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["parent"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["title"] ?? null) : null), 37, $this->source), "html", null, true);
yield "</a>
";
}
// line 39
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 40
yield "
<ul>
";
// line 42
$context["menuSubCounter"] = 1;
// line 43
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys($context["item"]));
foreach ($context['_seq'] as $context["_key"] => $context["itemChild"]) {
// line 44
yield " ";
if (($context["itemChild"] != "parent")) {
// line 45
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_8 = (($__internal_compile_9 = $context["item"]) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 45)) {
// line 46
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_10 = (($__internal_compile_11 = $context["item"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 46);
// line 47
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 47)]);
// line 48
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 48, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 48), 48, $this->source), "html", null, true);
yield "</a></li>
";
} else {
// line 50
yield " ";
$context["path"] = (($__internal_compile_12 = (($__internal_compile_13 = $context["item"]) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["uri"] ?? null) : null);
// line 51
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 51, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_14 = (($__internal_compile_15 = $context["item"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["title"] ?? null) : null), 51, $this->source), "html", null, true);
yield "</a></li>
";
}
// line 53
yield " ";
}
// line 54
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemChild'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
yield " </ul>
";
}
// line 58
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 59
yield "
</ul>
";
// line 71
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalBlock("language_block:language_interface"), "html", null, true);
yield "
";
// line 73
yield "
<ul>
";
// line 90
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["menuTree"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 91
yield " ";
$context["dropdownClass"] = "";
// line 92
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_16 = (($__internal_compile_17 = $context["item"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["parent"] ?? null) : null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 92)) {
// line 93
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_18 = (($__internal_compile_19 = $context["item"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["parent"] ?? null) : null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 93);
// line 94
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 94)]);
// line 95
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 96
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 97
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 98, $this->source), "html", null, true);
yield " edw2\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 99, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 99), 99, $this->source), "html", null, true);
yield "</a>
";
} else {
// line 101
yield " ";
$context["path"] = (($__internal_compile_20 = (($__internal_compile_21 = $context["item"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["parent"] ?? null) : null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["uri"] ?? null) : null);
// line 102
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 103
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 104
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 105, $this->source), "html", null, true);
yield " edw1\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 106, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_22 = (($__internal_compile_23 = $context["item"]) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["parent"] ?? null) : null)) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["title"] ?? null) : null), 106, $this->source), "html", null, true);
yield "</a>
";
}
// line 108
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 109
yield "
<ul>
";
// line 111
$context["menuSubCounter"] = 1;
// line 112
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys($context["item"]));
foreach ($context['_seq'] as $context["_key"] => $context["itemChild"]) {
// line 113
yield " ";
if (($context["itemChild"] != "parent")) {
// line 114
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_24 = (($__internal_compile_25 = $context["item"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 114)) {
// line 115
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_26 = (($__internal_compile_27 = $context["item"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 115);
// line 116
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 116)]);
// line 117
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 117, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 117), 117, $this->source), "html", null, true);
yield "</a></li>
";
} else {
// line 119
yield " ";
$context["path"] = (($__internal_compile_28 = (($__internal_compile_29 = $context["item"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["uri"] ?? null) : null);
// line 120
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 120, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_30 = (($__internal_compile_31 = $context["item"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["title"] ?? null) : null), 120, $this->source), "html", null, true);
yield "</a></li>
";
}
// line 122
yield " ";
}
// line 123
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemChild'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 124
yield " </ul>
";
}
// line 127
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 128
yield " </ul>
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["lang_id", "menuTree", "language_id"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "modules/custom/custommenu/templates/block--custommenu.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 361 => 128, 355 => 127, 350 => 124, 344 => 123, 341 => 122, 333 => 120, 330 => 119, 322 => 117, 319 => 116, 316 => 115, 313 => 114, 310 => 113, 305 => 112, 303 => 111, 299 => 109, 296 => 108, 289 => 106, 285 => 105, 280 => 104, 277 => 103, 274 => 102, 271 => 101, 264 => 99, 260 => 98, 255 => 97, 252 => 96, 249 => 95, 246 => 94, 243 => 93, 240 => 92, 237 => 91, 233 => 90, 214 => 73, 210 => 71, 196 => 59, 190 => 58, 185 => 55, 179 => 54, 176 => 53, 168 => 51, 165 => 50, 157 => 48, 154 => 47, 151 => 46, 148 => 45, 145 => 44, 140 => 43, 138 => 42, 134 => 40, 131 => 39, 124 => 37, 120 => 36, 115 => 35, 112 => 34, 109 => 33, 106 => 32, 99 => 30, 95 => 29, 90 => 28, 87 => 27, 84 => 26, 81 => 25, 78 => 24, 75 => 23, 71 => 22, 68 => 21, 53 => 8, 48 => 5, 44 => 3, 42 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("", "modules/custom/custommenu/templates/block--custommenu.html.twig", "/var/www/drupal/web/modules/custom/custommenu/templates/block--custommenu.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 1, "if" => 2, "for" => 22);
static $filters = array("escape" => 8, "length" => 26, "keys" => 43);
static $functions = array("path" => 25, "drupal_block" => 71);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'length', 'keys'],
['path', 'drupal_block'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_block--custommenu.html.tw_cX3FO9NpmCHM4VY7xGsRtnR0H', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/custommenu/templates/block--custommenu.html.twig */
class __TwigTemplate_7e4dcacc1f23686c01658da3737b3427 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["url"] = "/";
// line 2
if ((($context["lang_id"] ?? null) == "el")) {
// line 3
yield " ";
$context["url"] = "/el";
}
// line 5
yield "
<a>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url"] ?? null), 8, $this->source), "html", null, true);
yield ">
</a>
";
// line 21
yield " <ul>
";
// line 22
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["menuTree"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 23
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_0 = (($__internal_compile_1 = $context["item"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["parent"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 23)) {
// line 24
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_2 = (($__internal_compile_3 = $context["item"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["parent"] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 24);
// line 25
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 25)]);
// line 26
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 27
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 28
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 29, $this->source), "html", null, true);
yield "\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 30, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 30), 30, $this->source), "html", null, true);
yield "</a>
";
} else {
// line 32
yield " ";
$context["path"] = (($__internal_compile_4 = (($__internal_compile_5 = $context["item"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["parent"] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["uri"] ?? null) : null);
// line 33
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 34
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 35
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 36, $this->source), "html", null, true);
yield "\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 37, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_6 = (($__internal_compile_7 = $context["item"]) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["parent"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["title"] ?? null) : null), 37, $this->source), "html", null, true);
yield "</a>
";
}
// line 39
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 40
yield "
<ul>
";
// line 42
$context["menuSubCounter"] = 1;
// line 43
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys($context["item"]));
foreach ($context['_seq'] as $context["_key"] => $context["itemChild"]) {
// line 44
yield " ";
if (($context["itemChild"] != "parent")) {
// line 45
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_8 = (($__internal_compile_9 = $context["item"]) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 45)) {
// line 46
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_10 = (($__internal_compile_11 = $context["item"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 46);
// line 47
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 47)]);
// line 48
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 48, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 48), 48, $this->source), "html", null, true);
yield "</a></li>
";
} else {
// line 50
yield " ";
$context["path"] = (($__internal_compile_12 = (($__internal_compile_13 = $context["item"]) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["uri"] ?? null) : null);
// line 51
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 51, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_14 = (($__internal_compile_15 = $context["item"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["title"] ?? null) : null), 51, $this->source), "html", null, true);
yield "</a></li>
";
}
// line 53
yield " ";
}
// line 54
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemChild'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
yield " </ul>
";
}
// line 58
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 59
yield "
</ul>
";
// line 71
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalBlock("language_block:language_interface"), "html", null, true);
yield "
";
// line 73
yield "
<ul>
";
// line 90
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["menuTree"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 91
yield " ";
$context["dropdownClass"] = "";
// line 92
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_16 = (($__internal_compile_17 = $context["item"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["parent"] ?? null) : null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 92)) {
// line 93
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_18 = (($__internal_compile_19 = $context["item"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["parent"] ?? null) : null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 93);
// line 94
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 94)]);
// line 95
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 96
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 97
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 98, $this->source), "html", null, true);
yield " edw2\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 99, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 99), 99, $this->source), "html", null, true);
yield "</a>
";
} else {
// line 101
yield " ";
$context["path"] = (($__internal_compile_20 = (($__internal_compile_21 = $context["item"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["parent"] ?? null) : null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["uri"] ?? null) : null);
// line 102
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 103
yield " ";
$context["dropdownClass"] = "has-dropdown";
// line 104
yield " ";
}
yield "
<li line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["dropdownClass"] ?? null), 105, $this->source), "html", null, true);
yield " edw1\">
<a line yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 106, $this->source), "html", null, true);
yield "\">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_22 = (($__internal_compile_23 = $context["item"]) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["parent"] ?? null) : null)) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["title"] ?? null) : null), 106, $this->source), "html", null, true);
yield "</a>
";
}
// line 108
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["item"]) > 1)) {
// line 109
yield "
<ul>
";
// line 111
$context["menuSubCounter"] = 1;
// line 112
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys($context["item"]));
foreach ($context['_seq'] as $context["_key"] => $context["itemChild"]) {
// line 113
yield " ";
if (($context["itemChild"] != "parent")) {
// line 114
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_24 = (($__internal_compile_25 = $context["item"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["nodeEntity"] ?? null) : null), "hasTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 114)) {
// line 115
yield " ";
$context["translatedNode"] = CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_26 = (($__internal_compile_27 = $context["item"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["nodeEntity"] ?? null) : null), "getTranslation", [($context["language_id"] ?? null)], "method", false, false, true, 115);
// line 116
yield " ";
$context["path"] = $this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "id", [], "any", false, false, true, 116)]);
// line 117
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 117, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["translatedNode"] ?? null), "getTitle", [], "method", false, false, true, 117), 117, $this->source), "html", null, true);
yield "</a></li>
";
} else {
// line 119
yield " ";
$context["path"] = (($__internal_compile_28 = (($__internal_compile_29 = $context["item"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["uri"] ?? null) : null);
// line 120
yield " <li><a yield this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["path"] ?? null), 120, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed((($__internal_compile_30 = (($__internal_compile_31 = $context["item"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31[$context["itemChild"]] ?? null) : null)) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["title"] ?? null) : null), 120, $this->source), "html", null, true);
yield "</a></li>
";
}
// line 122
yield " ";
}
// line 123
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemChild'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 124
yield " </ul>
";
}
// line 127
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 128
yield " </ul>
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["lang_id", "menuTree", "language_id"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "modules/custom/custommenu/templates/block--custommenu.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 361 => 128, 355 => 127, 350 => 124, 344 => 123, 341 => 122, 333 => 120, 330 => 119, 322 => 117, 319 => 116, 316 => 115, 313 => 114, 310 => 113, 305 => 112, 303 => 111, 299 => 109, 296 => 108, 289 => 106, 285 => 105, 280 => 104, 277 => 103, 274 => 102, 271 => 101, 264 => 99, 260 => 98, 255 => 97, 252 => 96, 249 => 95, 246 => 94, 243 => 93, 240 => 92, 237 => 91, 233 => 90, 214 => 73, 210 => 71, 196 => 59, 190 => 58, 185 => 55, 179 => 54, 176 => 53, 168 => 51, 165 => 50, 157 => 48, 154 => 47, 151 => 46, 148 => 45, 145 => 44, 140 => 43, 138 => 42, 134 => 40, 131 => 39, 124 => 37, 120 => 36, 115 => 35, 112 => 34, 109 => 33, 106 => 32, 99 => 30, 95 => 29, 90 => 28, 87 => 27, 84 => 26, 81 => 25, 78 => 24, 75 => 23, 71 => 22, 68 => 21, 53 => 8, 48 => 5, 44 => 3, 42 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("", "modules/custom/custommenu/templates/block--custommenu.html.twig", "/var/www/drupal/web/modules/custom/custommenu/templates/block--custommenu.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 1, "if" => 2, "for" => 22);
static $filters = array("escape" => 8, "length" => 26, "keys" => 43);
static $functions = array("path" => 25, "drupal_block" => 71);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'length', 'keys'],
['path', 'drupal_block'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_7e4dcacc1f23686c01658da3737b3427', 'modules/custom/custommenu/templates/block--custommenu.html.twig') (Line: 344)
Twig\Environment->load('modules/custom/custommenu/templates/block--custommenu.html.twig') (Line: 33)
twig_render_template('modules/custom/custommenu/templates/block--custommenu.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 459)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 44)
__TwigTemplate_b4745a407950119487e21764719659a2->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 128)
__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_block.html.twig_2ajsC6P6puCt89xw7GBW3aY10', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/block/block.html.twig */
class __TwigTemplate_400147c0c82abccd1e7eb4e667bd5fe2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
$context["classes"] = ["block", ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 32
($context["configuration"] ?? null), "provider", [], "any", false, false, true, 32), 32, $this->source))), ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 33
($context["plugin_id"] ?? null), 33, $this->source)))];
// line 37
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null), 37, $this->source), "html", null, true);
yield "
";
// line 38
if (($context["label"] ?? null)) {
// line 39
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null), 39, $this->source), "html", null, true);
yield ">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 39, $this->source), "html", null, true);
yield "
";
}
// line 41
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null), 41, $this->source), "html", null, true);
yield "
";
// line 42
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["configuration", "plugin_id", "title_prefix", "label", "title_attributes", "title_suffix", "content"]); return; yield '';
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 43
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 43, $this->source), "html", null, true);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/block/block.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 74 => 43, 65 => 42, 60 => 41, 52 => 39, 50 => 38, 45 => 37, 43 => 33, 42 => 32, 41 => 30,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/block/block.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/block/block.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 30, "if" => 38, "block" => 42);
static $filters = array("clean_class" => 32, "escape" => 37);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_class', 'escape'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_block.html.twig_2ajsC6P6puCt89xw7GBW3aY10', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/block/block.html.twig */
class __TwigTemplate_400147c0c82abccd1e7eb4e667bd5fe2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
$context["classes"] = ["block", ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 32
($context["configuration"] ?? null), "provider", [], "any", false, false, true, 32), 32, $this->source))), ("block-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 33
($context["plugin_id"] ?? null), 33, $this->source)))];
// line 37
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null), 37, $this->source), "html", null, true);
yield "
";
// line 38
if (($context["label"] ?? null)) {
// line 39
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null), 39, $this->source), "html", null, true);
yield ">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 39, $this->source), "html", null, true);
yield "
";
}
// line 41
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null), 41, $this->source), "html", null, true);
yield "
";
// line 42
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["configuration", "plugin_id", "title_prefix", "label", "title_attributes", "title_suffix", "content"]); return; yield '';
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 43
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 43, $this->source), "html", null, true);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/block/block.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 74 => 43, 65 => 42, 60 => 41, 52 => 39, 50 => 38, 45 => 37, 43 => 33, 42 => 32, 41 => 30,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/block/block.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/block/block.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 30, "if" => 38, "block" => 42);
static $filters = array("clean_class" => 32, "escape" => 37);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_class', 'escape'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_400147c0c82abccd1e7eb4e667bd5fe2', 'themes/ascsa_theme/templates/block/block.html.twig') (Line: 344)
Twig\Environment->load('themes/ascsa_theme/templates/block/block.html.twig') (Line: 33)
twig_render_template('themes/ascsa_theme/templates/block/block.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 210)
__TwigTemplate_7e4dcacc1f23686c01658da3737b3427->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('modules/custom/custommenu/templates/block--custommenu.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 459)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 44)
__TwigTemplate_b4745a407950119487e21764719659a2->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 128)
__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_links--language-block.htm_nIdAmv5Dcx04KGqb_2CoNUhuK', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/navigation/links--language-block.html.twig */
class __TwigTemplate_667d3c86fe7ad3eedeb674aee155e1b8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 34
if (($context["links"] ?? null)) {
// line 35
if (($context["heading"] ?? null)) {
// line 36
if (CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 36)) {
// line 37
yield "<";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield ">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "text", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield ">";
} else {
// line 39
yield "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 39), 39, $this->source), "html", null, true);
yield ">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "text", [], "any", false, false, true, 39), 39, $this->source), "html", null, true);
yield "";
}
}
// line 43
$context["sorted_languages"] = [];
// line 44
yield "
";
// line 46
if ((($context["lang_id"] ?? null) == "el")) {
// line 47
yield "
";
// line 48
if (CoreExtension::getAttribute($this->env, $this->source, ($context["links"] ?? null), "el", [], "array", true, true, true, 48)) {
// line 49
yield " ";
$context["sorted_languages"] = ["el" => (($__internal_compile_0 = ($context["links"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["el"] ?? null) : null)];
// line 50
yield " ";
}
// line 51
yield "
";
// line 52
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["links"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 53
yield " ";
if (($context["key"] != "el")) {
// line 54
yield " ";
$context["sorted_languages"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["sorted_languages"] ?? null), 54, $this->source), [$context["key"] => $context["value"]]);
// line 55
yield " ";
}
// line 56
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
yield " ";
} else {
// line 58
yield "
";
// line 59
$context["sorted_languages"] = ($context["links"] ?? null);
// line 60
yield " ";
}
// line 61
yield "
";
// line 64
yield " ";
// line 65
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["sorted_languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 67
yield "
";
// line 70
if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 70) == "English")) {
// line 71
yield " ";
$context["lang_slug"] = "en";
// line 72
yield " ";
} else {
// line 73
yield " ";
$context["lang_slug"] = "el";
// line 74
yield " ";
}
// line 75
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 75), 75, $this->source), "html", null, true);
yield "\" data-href=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["lang_slug"] ?? null), 75, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 75), 75, $this->source), "html", null, true);
yield "
";
// line 77
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
yield "
";
// line 88
yield " ";
}
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["links", "heading", "lang_id"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/navigation/links--language-block.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 163 => 88, 160 => 86, 154 => 77, 145 => 75, 142 => 74, 139 => 73, 136 => 72, 133 => 71, 131 => 70, 126 => 67, 122 => 65, 120 => 64, 116 => 61, 113 => 60, 111 => 59, 108 => 58, 105 => 57, 99 => 56, 96 => 55, 93 => 54, 90 => 53, 86 => 52, 83 => 51, 80 => 50, 77 => 49, 75 => 48, 72 => 47, 70 => 46, 66 => 44, 64 => 43, 56 => 39, 46 => 37, 44 => 36, 42 => 35, 40 => 34,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/navigation/links--language-block.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/navigation/links--language-block.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 34, "set" => 43, "for" => 52);
static $filters = array("escape" => 37, "merge" => 54);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for'],
['escape', 'merge'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_links--language-block.htm_nIdAmv5Dcx04KGqb_2CoNUhuK', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/navigation/links--language-block.html.twig */
class __TwigTemplate_667d3c86fe7ad3eedeb674aee155e1b8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 34
if (($context["links"] ?? null)) {
// line 35
if (($context["heading"] ?? null)) {
// line 36
if (CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 36)) {
// line 37
yield "<";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield ">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "text", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "level", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
yield ">";
} else {
// line 39
yield "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "attributes", [], "any", false, false, true, 39), 39, $this->source), "html", null, true);
yield ">";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["heading"] ?? null), "text", [], "any", false, false, true, 39), 39, $this->source), "html", null, true);
yield "";
}
}
// line 43
$context["sorted_languages"] = [];
// line 44
yield "
";
// line 46
if ((($context["lang_id"] ?? null) == "el")) {
// line 47
yield "
";
// line 48
if (CoreExtension::getAttribute($this->env, $this->source, ($context["links"] ?? null), "el", [], "array", true, true, true, 48)) {
// line 49
yield " ";
$context["sorted_languages"] = ["el" => (($__internal_compile_0 = ($context["links"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["el"] ?? null) : null)];
// line 50
yield " ";
}
// line 51
yield "
";
// line 52
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["links"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 53
yield " ";
if (($context["key"] != "el")) {
// line 54
yield " ";
$context["sorted_languages"] = Twig\Extension\CoreExtension::merge($this->sandbox->ensureToStringAllowed(($context["sorted_languages"] ?? null), 54, $this->source), [$context["key"] => $context["value"]]);
// line 55
yield " ";
}
// line 56
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
yield " ";
} else {
// line 58
yield "
";
// line 59
$context["sorted_languages"] = ($context["links"] ?? null);
// line 60
yield " ";
}
// line 61
yield "
";
// line 64
yield " ";
// line 65
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["sorted_languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 67
yield "
";
// line 70
if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 70) == "English")) {
// line 71
yield " ";
$context["lang_slug"] = "en";
// line 72
yield " ";
} else {
// line 73
yield " ";
$context["lang_slug"] = "el";
// line 74
yield " ";
}
// line 75
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 75), 75, $this->source), "html", null, true);
yield "\" data-href=\"";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["lang_slug"] ?? null), 75, $this->source), "html", null, true);
yield "\" >";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, true, 75), 75, $this->source), "html", null, true);
yield "
";
// line 77
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
yield "
";
// line 88
yield " ";
}
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["links", "heading", "lang_id"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/navigation/links--language-block.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 163 => 88, 160 => 86, 154 => 77, 145 => 75, 142 => 74, 139 => 73, 136 => 72, 133 => 71, 131 => 70, 126 => 67, 122 => 65, 120 => 64, 116 => 61, 113 => 60, 111 => 59, 108 => 58, 105 => 57, 99 => 56, 96 => 55, 93 => 54, 90 => 53, 86 => 52, 83 => 51, 80 => 50, 77 => 49, 75 => 48, 72 => 47, 70 => 46, 66 => 44, 64 => 43, 56 => 39, 46 => 37, 44 => 36, 42 => 35, 40 => 34,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/navigation/links--language-block.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/navigation/links--language-block.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 34, "set" => 43, "for" => 52);
static $filters = array("escape" => 37, "merge" => 54);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for'],
['escape', 'merge'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_667d3c86fe7ad3eedeb674aee155e1b8', 'themes/ascsa_theme/templates/navigation/links--language-block.html.twig') (Line: 344)
Twig\Environment->load('themes/ascsa_theme/templates/navigation/links--language-block.html.twig') (Line: 33)
twig_render_template('themes/ascsa_theme/templates/navigation/links--language-block.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('links__language_block', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 75)
__TwigTemplate_400147c0c82abccd1e7eb4e667bd5fe2->block_content(Array, Array) (Line: 430)
Twig\Template->yieldBlock('content', Array, Array) (Line: 65)
__TwigTemplate_400147c0c82abccd1e7eb4e667bd5fe2->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/block/block.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 210)
__TwigTemplate_7e4dcacc1f23686c01658da3737b3427->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('modules/custom/custommenu/templates/block--custommenu.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 459)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 44)
__TwigTemplate_b4745a407950119487e21764719659a2->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 128)
__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_region.html.twig_k2nF3W5xuqmlzW0QQ3ZKlfbZD', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/layout/region.html.twig */
class __TwigTemplate_be272177ced5e8f5a8fbf32cfc4e53a7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 16
$context["classes"] = ["region", ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null), 18, $this->source)))];
// line 21
if (($context["content"] ?? null)) {
// line 23
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 23, $this->source), "html", null, true);
yield "
";
}
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["region", "content"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/layout/region.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 45 => 23, 43 => 21, 41 => 18, 40 => 16,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/layout/region.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/layout/region.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 16, "if" => 21);
static $filters = array("clean_class" => 18, "escape" => 23);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_region.html.twig_k2nF3W5xuqmlzW0QQ3ZKlfbZD', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/ascsa_theme/templates/layout/region.html.twig */
class __TwigTemplate_be272177ced5e8f5a8fbf32cfc4e53a7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 16
$context["classes"] = ["region", ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 18
($context["region"] ?? null), 18, $this->source)))];
// line 21
if (($context["content"] ?? null)) {
// line 23
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 23, $this->source), "html", null, true);
yield "
";
}
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["region", "content"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/ascsa_theme/templates/layout/region.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 45 => 23, 43 => 21, 41 => 18, 40 => 16,);
}
public function getSourceContext()
{
return new Source("", "themes/ascsa_theme/templates/layout/region.html.twig", "/var/www/drupal/web/themes/ascsa_theme/templates/layout/region.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 16, "if" => 21);
static $filters = array("clean_class" => 18, "escape" => 23);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_be272177ced5e8f5a8fbf32cfc4e53a7', 'themes/ascsa_theme/templates/layout/region.html.twig') (Line: 344)
Twig\Environment->load('themes/ascsa_theme/templates/layout/region.html.twig') (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/region.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 502)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 44)
__TwigTemplate_b4745a407950119487e21764719659a2->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 128)
__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6a562f37c316e_off-canvas-page-wrapper.h_AffbljYE3jM90aNdwzI8UI66A', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/stable9/templates/content/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_2d7e8e300639dbb80decfc36849fc16e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 20
if (($context["children"] ?? null)) {
// line 21
yield "
";
// line 22
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 22, $this->source), "html", null, true);
yield "
";
}
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["children"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 45 => 22, 42 => 21, 40 => 20,);
}
public function getSourceContext()
{
return new Source("", "core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig", "/var/www/drupal/web/core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 20);
static $filters = array("escape" => 22);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('6a562f37c316e_off-canvas-page-wrapper.h_AffbljYE3jM90aNdwzI8UI66A', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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/stable9/templates/content/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_2d7e8e300639dbb80decfc36849fc16e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 20
if (($context["children"] ?? null)) {
// line 21
yield "
";
// line 22
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 22, $this->source), "html", null, true);
yield "
";
}
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["children"]); return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 45 => 22, 42 => 21, 40 => 20,);
}
public function getSourceContext()
{
return new Source("", "core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig", "/var/www/drupal/web/core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 20);
static $filters = array("escape" => 22);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
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;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_2d7e8e300639dbb80decfc36849fc16e', 'core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig') (Line: 344)
Twig\Environment->load('core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig') (Line: 33)
twig_render_template('core/themes/stable9/templates/content/off-canvas-page-wrapper.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('off_canvas_page_wrapper', Array) (Line: 502)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 128)
__TwigTemplate_75db695d2fbc9cc7fad1dbe0b20af659->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/ascsa_theme/templates/layout/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 446)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 203)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object, 'kernel.view', Object) (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.view', Object) (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object, 'kernel.view') (Line: 188)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
A comprehensive system for managing cultural materials
and collections using artificial intelligence