- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_field--node--title.html.t_3TwuOwPffXv6b3vrXukibFylw', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/node/templates/field--node--title.html.twig */
class __TwigTemplate_2cb1d4f3692ae58cccff7383c92e8995 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo "
";
// line 31
if ( !($context["is_inline"] ?? null)) {
// line 32
echo " ";
$this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--title.html.twig", 32)->display($context);
} else {
// line 34
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true);
echo ">";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/node/templates/field--node--title.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,);
}
public function getSourceContext()
{
return new Source("", "core/modules/node/templates/field--node--title.html.twig", "/opt/drupal/web/core/modules/node/templates/field--node--title.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 31, "include" => 32, "for" => 35);
static $filters = array("escape" => 34);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include', 'for'],
['escape'],
[]
);
} 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('662295dc8574f_field--node--title.html.t_3TwuOwPffXv6b3vrXukibFylw', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/node/templates/field--node--title.html.twig */
class __TwigTemplate_2cb1d4f3692ae58cccff7383c92e8995 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo "
";
// line 31
if ( !($context["is_inline"] ?? null)) {
// line 32
echo " ";
$this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--title.html.twig", 32)->display($context);
} else {
// line 34
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true);
echo ">";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/node/templates/field--node--title.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,);
}
public function getSourceContext()
{
return new Source("", "core/modules/node/templates/field--node--title.html.twig", "/opt/drupal/web/core/modules/node/templates/field--node--title.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 31, "include" => 32, "for" => 35);
static $filters = array("escape" => 34);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include', 'for'],
['escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_2cb1d4f3692ae58cccff7383c92e8995', 'core/modules/node/templates/field--node--title.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('core/modules/node/templates/field--node--title.html.twig') (Line: 55)
twig_render_template('core/modules/node/templates/field--node--title.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 110)
Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f___string_template__15e4c2_sBw6eKbZYfqXpM-JN1u-lq7UT', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* __string_template__15e4c2886fb2554f14cf09e05167a91f */
class __TwigTemplate_dc43de99352d1f1a64844b5eae671a31 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo twig_nl2br($this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null), 1, $this->source), "html", null, true));
}
public function getTemplateName()
{
return "__string_template__15e4c2886fb2554f14cf09e05167a91f";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "__string_template__15e4c2886fb2554f14cf09e05167a91f", "");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("nl2br" => 1, "escape" => 1);
static $functions = array();
try {
$this->sandbox->checkSecurity(
[],
['nl2br', 'escape'],
[]
);
} 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('662295dc8574f___string_template__15e4c2_sBw6eKbZYfqXpM-JN1u-lq7UT', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* __string_template__15e4c2886fb2554f14cf09e05167a91f */
class __TwigTemplate_dc43de99352d1f1a64844b5eae671a31 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo twig_nl2br($this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null), 1, $this->source), "html", null, true));
}
public function getTemplateName()
{
return "__string_template__15e4c2886fb2554f14cf09e05167a91f";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "__string_template__15e4c2886fb2554f14cf09e05167a91f", "");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("nl2br" => 1, "escape" => 1);
static $functions = array();
try {
$this->sandbox->checkSecurity(
[],
['nl2br', 'escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_dc43de99352d1f1a64844b5eae671a31', '__string_template__15e4c2886fb2554f14cf09e05167a91f', NULL) (Line: 381)
Twig\Environment->loadTemplate('__string_template__15e4c2886fb2554f14cf09e05167a91f') (Line: 462)
Twig\Environment->createTemplate('{# inline_template_start #}{{ value|nl2br }}') (Line: 234)
Drupal\Core\Template\TwigEnvironment->renderInline('{# inline_template_start #}{{ value|nl2br }}', Array) (Line: 53)
Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 56)
__TwigTemplate_2cb1d4f3692ae58cccff7383c92e8995->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('core/modules/node/templates/field--node--title.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 110)
Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_field--node--created.html_iSHqAb1P2wcGhoFJT0bQ7JkZo', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/node/templates/field--node--created.html.twig */
class __TwigTemplate_b0c6844802c62c429842834afb9c97d7 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo "
";
// line 31
if ( !($context["is_inline"] ?? null)) {
// line 32
echo " ";
$this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--created.html.twig", 32)->display($context);
} else {
// line 34
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true);
echo ">";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/node/templates/field--node--created.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,);
}
public function getSourceContext()
{
return new Source("", "core/modules/node/templates/field--node--created.html.twig", "/opt/drupal/web/core/modules/node/templates/field--node--created.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 31, "include" => 32, "for" => 35);
static $filters = array("escape" => 34);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include', 'for'],
['escape'],
[]
);
} 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('662295dc8574f_field--node--created.html_iSHqAb1P2wcGhoFJT0bQ7JkZo', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/node/templates/field--node--created.html.twig */
class __TwigTemplate_b0c6844802c62c429842834afb9c97d7 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo "
";
// line 31
if ( !($context["is_inline"] ?? null)) {
// line 32
echo " ";
$this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--created.html.twig", 32)->display($context);
} else {
// line 34
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true);
echo ">";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/node/templates/field--node--created.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,);
}
public function getSourceContext()
{
return new Source("", "core/modules/node/templates/field--node--created.html.twig", "/opt/drupal/web/core/modules/node/templates/field--node--created.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 31, "include" => 32, "for" => 35);
static $filters = array("escape" => 34);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include', 'for'],
['escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_b0c6844802c62c429842834afb9c97d7', 'core/modules/node/templates/field--node--created.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('core/modules/node/templates/field--node--created.html.twig') (Line: 55)
twig_render_template('core/modules/node/templates/field--node--created.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 517)
template_preprocess_node(Array, 'node', Array)
call_user_func_array('template_preprocess_node', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_field--node--uid.html.twi_k5psa5JBPsA3eadRrxTyqvLdq', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/node/templates/field--node--uid.html.twig */
class __TwigTemplate_0161897be677675baaa685ebd66faf8f extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo "
";
// line 31
if ( !($context["is_inline"] ?? null)) {
// line 32
echo " ";
$this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--uid.html.twig", 32)->display($context);
} else {
// line 34
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true);
echo ">";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/node/templates/field--node--uid.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,);
}
public function getSourceContext()
{
return new Source("", "core/modules/node/templates/field--node--uid.html.twig", "/opt/drupal/web/core/modules/node/templates/field--node--uid.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 31, "include" => 32, "for" => 35);
static $filters = array("escape" => 34);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include', 'for'],
['escape'],
[]
);
} 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('662295dc8574f_field--node--uid.html.twi_k5psa5JBPsA3eadRrxTyqvLdq', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/node/templates/field--node--uid.html.twig */
class __TwigTemplate_0161897be677675baaa685ebd66faf8f extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo "
";
// line 31
if ( !($context["is_inline"] ?? null)) {
// line 32
echo " ";
$this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--uid.html.twig", 32)->display($context);
} else {
// line 34
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true);
echo ">";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/node/templates/field--node--uid.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,);
}
public function getSourceContext()
{
return new Source("", "core/modules/node/templates/field--node--uid.html.twig", "/opt/drupal/web/core/modules/node/templates/field--node--uid.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 31, "include" => 32, "for" => 35);
static $filters = array("escape" => 34);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include', 'for'],
['escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_0161897be677675baaa685ebd66faf8f', 'core/modules/node/templates/field--node--uid.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('core/modules/node/templates/field--node--uid.html.twig') (Line: 55)
twig_render_template('core/modules/node/templates/field--node--uid.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 519)
template_preprocess_node(Array, 'node', Array)
call_user_func_array('template_preprocess_node', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_username.html.twig_fyZqBQwBou0FyzVlT8wjzZJ_I', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/user/templates/username.html.twig */
class __TwigTemplate_9235a7e04b4e6d51ca92c7ce18f0e6d0 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 27
if (($context["link_path"] ?? null)) {
// line 28
echo "<a>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 28, $this->source), "html", null, true);
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["name"] ?? null), 28, $this->source), "html", null, true);
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["extra"] ?? null), 28, $this->source), "html", null, true);
echo "</a>";
} else {
// line 30
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 30, $this->source), "html", null, true);
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["name"] ?? null), 30, $this->source), "html", null, true);
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["extra"] ?? null), 30, $this->source), "html", null, true);
echo "";
}
}
public function getTemplateName()
{
return "core/modules/user/templates/username.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 30, 41 => 28, 39 => 27,);
}
public function getSourceContext()
{
return new Source("", "core/modules/user/templates/username.html.twig", "/opt/drupal/web/core/modules/user/templates/username.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 27);
static $filters = array("escape" => 28);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} 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('662295dc8574f_username.html.twig_fyZqBQwBou0FyzVlT8wjzZJ_I', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/modules/user/templates/username.html.twig */
class __TwigTemplate_9235a7e04b4e6d51ca92c7ce18f0e6d0 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 27
if (($context["link_path"] ?? null)) {
// line 28
echo "<a>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 28, $this->source), "html", null, true);
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["name"] ?? null), 28, $this->source), "html", null, true);
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["extra"] ?? null), 28, $this->source), "html", null, true);
echo "</a>";
} else {
// line 30
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 30, $this->source), "html", null, true);
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["name"] ?? null), 30, $this->source), "html", null, true);
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["extra"] ?? null), 30, $this->source), "html", null, true);
echo "";
}
}
public function getTemplateName()
{
return "core/modules/user/templates/username.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 30, 41 => 28, 39 => 27,);
}
public function getSourceContext()
{
return new Source("", "core/modules/user/templates/username.html.twig", "/opt/drupal/web/core/modules/user/templates/username.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 27);
static $filters = array("escape" => 28);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_9235a7e04b4e6d51ca92c7ce18f0e6d0', 'core/modules/user/templates/username.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('core/modules/user/templates/username.html.twig') (Line: 55)
twig_render_template('core/modules/user/templates/username.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('username', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 56)
__TwigTemplate_0161897be677675baaa685ebd66faf8f->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('core/modules/node/templates/field--node--uid.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 519)
template_preprocess_node(Array, 'node', Array)
call_user_func_array('template_preprocess_node', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_node--filter.html.twig_8GMCsR1sv47K2RgaCQ_00yMTh', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/custom/noirlab/templates/node/node--filter.html.twig */
class __TwigTemplate_6af46def04cac86f74f7b0b9b3b067b8 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'objectBody' => [$this, 'block_objectBody'],
'objectInfo' => [$this, 'block_objectInfo'],
'embeddedList' => [$this, 'block_embeddedList'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "node--announcement.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("node--announcement.html.twig", "themes/custom/noirlab/templates/node/node--filter.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_objectBody($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
echo "";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_id", [], "any", false, false, true, 4), "value", [], "any", false, false, true, 4), 4, $this->source), "html", null, true);
echo " — ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Filter"));
echo "
";
// line 5
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 5, $this->source), "html", null, true);
echo "
";
// line 7
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["release_date"] ?? null), 7, $this->source), "F j, Y"), "html", null, true);
echo "
";
// line 11
echo "
";
// line 12
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 12))) {
// line 13
echo "
";
// line 14
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 14));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 15
echo "
";
// line 17
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, true, 17)) {
// line 18
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 18), "nid", [], "any", false, false, true, 18), "value", [], "any", false, false, true, 18), 18, $this->source), "popup_hero"), "html", null, true);
echo "
";
// line 20
echo " ";
} else {
// line 21
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 21), "field_image", [], "any", false, false, true, 21)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 21), "title", [], "any", false, false, true, 21), "value", [], "any", false, false, true, 21)))) {
// line 22
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 22), "nid", [], "any", false, false, true, 22), "value", [], "any", false, false, true, 22), 22, $this->source), "popup_child"), "html", null, true);
echo "
";
}
// line 24
echo " ";
}
// line 25
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo "
";
}
// line 30
echo "
";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "body", [], "any", false, false, true, 31), 31, $this->source), "html", null, true);
echo "
";
// line 33
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_comments", [], "any", false, false, true, 33), 33, $this->source), "html", null, true);
echo "
";
}
// line 36
public function block_objectInfo($context, array $blocks = [])
{
$macros = $this->macros;
// line 37
echo "
";
// line 38
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("About the Filter"));
echo "
Id:
";
// line 45
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_id", [], "any", false, false, true, 45), "value", [], "any", false, false, true, 45), 45, $this->source), "html", null, true);
echo "
Number:
";
// line 49
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_number", [], "any", false, false, true, 49), "value", [], "any", false, false, true, 49), 49, $this->source), "html", null, true);
echo "
";
// line 52
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Release date:"));
echo "
";
// line 53
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["release_date"] ?? null), 53, $this->source), "F j, Y, g:i a"), "html", null, true);
echo "
";
// line 56
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Telescope:"));
echo "
";
// line 57
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_telescope", [], "any", false, false, true, 57), "entity", [], "any", false, false, true, 57), "name", [], "any", false, false, true, 57), "value", [], "any", false, false, true, 57), 57, $this->source), "html", null, true);
echo "
";
// line 60
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Instrument:"));
echo "
";
// line 61
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_instrument", [], "any", false, false, true, 61), "entity", [], "any", false, false, true, 61), "name", [], "any", false, false, true, 61), "value", [], "any", false, false, true, 61), 61, $this->source), "html", null, true);
echo "
";
// line 69
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Filter Details"));
echo "
";
// line 75
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("CWL (Å):"));
echo "
";
// line 76
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_cwl", [], "any", false, false, true, 76), "value", [], "any", false, false, true, 76), 76, $this->source), "html", null, true);
echo "
";
// line 79
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("FWHM (Å):"));
echo "
";
// line 80
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_fwhm", [], "any", false, false, true, 80), "value", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "
";
// line 83
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("TMAX (%):"));
echo "
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_tmax", [], "any", false, false, true, 84), "value", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
echo "
";
}
// line 93
public function block_embeddedList($context, array $blocks = [])
{
$macros = $this->macros;
// line 94
echo "
";
// line 95
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Filter Documents"));
echo "
";
// line 97
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 97))) {
// line 98
echo "
";
// line 99
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Plots"));
echo "
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 101));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 102
echo " ";
// line 103
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 103), "field_image", [], "any", false, false, true, 103))) {
// line 104
echo "
";
// line 105
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 105), "nid", [], "any", false, false, true, 105), "value", [], "any", false, false, true, 105), 105, $this->source), "teaser"), "html", null, true);
echo "
";
}
// line 108
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 111
echo "
";
// line 113
echo "
";
// line 114
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_reference_document", [], "any", false, false, true, 114)) && (twig_get_attribute($this->env, $this->source, (($__internal_compile_0 = twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_reference_document", [], "any", false, false, true, 114)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "target_id", [], "any", false, false, true, 114) != 0))) {
// line 115
echo "
";
// line 116
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Data"));
echo "
";
// line 117
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_reference_document", [], "any", false, false, true, 117));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 118
echo "
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalUrl(("node/" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["file"], "entity", [], "any", false, false, true, 123), "nid", [], "any", false, false, true, 123), "value", [], "any", false, false, true, 123), 123, $this->source))), "html", null, true);
echo "\">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["file"], "entity", [], "any", false, false, true, 123), "title", [], "any", false, false, true, 123), "value", [], "any", false, false, true, 123), 123, $this->source), "html", null, true);
echo "</a>
";
// line 125
echo "
";
// line 128
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, format_size($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["file"], "entity", [], "any", false, false, true, 128), "field_file", [], "any", false, false, true, 128), "entity", [], "any", false, false, true, 128), "filesize", [], "any", false, false, true, 128), "value", [], "any", false, false, true, 128), 128, $this->source)), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 134
echo "
";
}
public function getTemplateName()
{
return "themes/custom/noirlab/templates/node/node--filter.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 134, 351 => 128, 346 => 125, 340 => 123, 333 => 118, 329 => 117, 325 => 116, 322 => 115, 320 => 114, 317 => 113, 314 => 111, 306 => 108, 300 => 105, 297 => 104, 294 => 103, 292 => 102, 288 => 101, 283 => 99, 280 => 98, 278 => 97, 273 => 95, 270 => 94, 266 => 93, 254 => 84, 250 => 83, 244 => 80, 240 => 79, 234 => 76, 230 => 75, 221 => 69, 210 => 61, 206 => 60, 200 => 57, 196 => 56, 190 => 53, 186 => 52, 180 => 49, 173 => 45, 163 => 38, 160 => 37, 156 => 36, 150 => 33, 145 => 31, 142 => 30, 138 => 28, 122 => 25, 119 => 24, 113 => 22, 110 => 21, 107 => 20, 102 => 18, 99 => 17, 96 => 15, 79 => 14, 76 => 13, 74 => 12, 71 => 11, 66 => 7, 61 => 5, 54 => 4, 50 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/noirlab/templates/node/node--filter.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/node/node--filter.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 12, "for" => 14);
static $filters = array("escape" => 4, "t" => 4, "date" => 7, "format_bytes" => 128);
static $functions = array("drupal_entity" => 18, "drupal_url" => 123);
try {
$this->sandbox->checkSecurity(
['if', 'for'],
['escape', 't', 'date', 'format_bytes'],
['drupal_entity', 'drupal_url']
);
} 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('662295dc8574f_node--filter.html.twig_8GMCsR1sv47K2RgaCQ_00yMTh', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/custom/noirlab/templates/node/node--filter.html.twig */
class __TwigTemplate_6af46def04cac86f74f7b0b9b3b067b8 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'objectBody' => [$this, 'block_objectBody'],
'objectInfo' => [$this, 'block_objectInfo'],
'embeddedList' => [$this, 'block_embeddedList'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "node--announcement.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("node--announcement.html.twig", "themes/custom/noirlab/templates/node/node--filter.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_objectBody($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
echo "";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_id", [], "any", false, false, true, 4), "value", [], "any", false, false, true, 4), 4, $this->source), "html", null, true);
echo " — ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Filter"));
echo "
";
// line 5
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 5, $this->source), "html", null, true);
echo "
";
// line 7
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["release_date"] ?? null), 7, $this->source), "F j, Y"), "html", null, true);
echo "
";
// line 11
echo "
";
// line 12
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 12))) {
// line 13
echo "
";
// line 14
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 14));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 15
echo "
";
// line 17
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, true, 17)) {
// line 18
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 18), "nid", [], "any", false, false, true, 18), "value", [], "any", false, false, true, 18), 18, $this->source), "popup_hero"), "html", null, true);
echo "
";
// line 20
echo " ";
} else {
// line 21
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 21), "field_image", [], "any", false, false, true, 21)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 21), "title", [], "any", false, false, true, 21), "value", [], "any", false, false, true, 21)))) {
// line 22
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 22), "nid", [], "any", false, false, true, 22), "value", [], "any", false, false, true, 22), 22, $this->source), "popup_child"), "html", null, true);
echo "
";
}
// line 24
echo " ";
}
// line 25
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo "
";
}
// line 30
echo "
";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "body", [], "any", false, false, true, 31), 31, $this->source), "html", null, true);
echo "
";
// line 33
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_comments", [], "any", false, false, true, 33), 33, $this->source), "html", null, true);
echo "
";
}
// line 36
public function block_objectInfo($context, array $blocks = [])
{
$macros = $this->macros;
// line 37
echo "
";
// line 38
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("About the Filter"));
echo "
Id:
";
// line 45
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_id", [], "any", false, false, true, 45), "value", [], "any", false, false, true, 45), 45, $this->source), "html", null, true);
echo "
Number:
";
// line 49
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_number", [], "any", false, false, true, 49), "value", [], "any", false, false, true, 49), 49, $this->source), "html", null, true);
echo "
";
// line 52
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Release date:"));
echo "
";
// line 53
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["release_date"] ?? null), 53, $this->source), "F j, Y, g:i a"), "html", null, true);
echo "
";
// line 56
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Telescope:"));
echo "
";
// line 57
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_telescope", [], "any", false, false, true, 57), "entity", [], "any", false, false, true, 57), "name", [], "any", false, false, true, 57), "value", [], "any", false, false, true, 57), 57, $this->source), "html", null, true);
echo "
";
// line 60
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Instrument:"));
echo "
";
// line 61
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_instrument", [], "any", false, false, true, 61), "entity", [], "any", false, false, true, 61), "name", [], "any", false, false, true, 61), "value", [], "any", false, false, true, 61), 61, $this->source), "html", null, true);
echo "
";
// line 69
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Filter Details"));
echo "
";
// line 75
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("CWL (Å):"));
echo "
";
// line 76
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_cwl", [], "any", false, false, true, 76), "value", [], "any", false, false, true, 76), 76, $this->source), "html", null, true);
echo "
";
// line 79
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("FWHM (Å):"));
echo "
";
// line 80
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_fwhm", [], "any", false, false, true, 80), "value", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "
";
// line 83
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("TMAX (%):"));
echo "
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_tmax", [], "any", false, false, true, 84), "value", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
echo "
";
}
// line 93
public function block_embeddedList($context, array $blocks = [])
{
$macros = $this->macros;
// line 94
echo "
";
// line 95
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Filter Documents"));
echo "
";
// line 97
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 97))) {
// line 98
echo "
";
// line 99
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Plots"));
echo "
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 101));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 102
echo " ";
// line 103
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 103), "field_image", [], "any", false, false, true, 103))) {
// line 104
echo "
";
// line 105
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 105), "nid", [], "any", false, false, true, 105), "value", [], "any", false, false, true, 105), 105, $this->source), "teaser"), "html", null, true);
echo "
";
}
// line 108
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 111
echo "
";
// line 113
echo "
";
// line 114
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_reference_document", [], "any", false, false, true, 114)) && (twig_get_attribute($this->env, $this->source, (($__internal_compile_0 = twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_reference_document", [], "any", false, false, true, 114)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "target_id", [], "any", false, false, true, 114) != 0))) {
// line 115
echo "
";
// line 116
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Data"));
echo "
";
// line 117
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_reference_document", [], "any", false, false, true, 117));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 118
echo "
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalUrl(("node/" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["file"], "entity", [], "any", false, false, true, 123), "nid", [], "any", false, false, true, 123), "value", [], "any", false, false, true, 123), 123, $this->source))), "html", null, true);
echo "\">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["file"], "entity", [], "any", false, false, true, 123), "title", [], "any", false, false, true, 123), "value", [], "any", false, false, true, 123), 123, $this->source), "html", null, true);
echo "</a>
";
// line 125
echo "
";
// line 128
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, format_size($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["file"], "entity", [], "any", false, false, true, 128), "field_file", [], "any", false, false, true, 128), "entity", [], "any", false, false, true, 128), "filesize", [], "any", false, false, true, 128), "value", [], "any", false, false, true, 128), 128, $this->source)), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 134
echo "
";
}
public function getTemplateName()
{
return "themes/custom/noirlab/templates/node/node--filter.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 134, 351 => 128, 346 => 125, 340 => 123, 333 => 118, 329 => 117, 325 => 116, 322 => 115, 320 => 114, 317 => 113, 314 => 111, 306 => 108, 300 => 105, 297 => 104, 294 => 103, 292 => 102, 288 => 101, 283 => 99, 280 => 98, 278 => 97, 273 => 95, 270 => 94, 266 => 93, 254 => 84, 250 => 83, 244 => 80, 240 => 79, 234 => 76, 230 => 75, 221 => 69, 210 => 61, 206 => 60, 200 => 57, 196 => 56, 190 => 53, 186 => 52, 180 => 49, 173 => 45, 163 => 38, 160 => 37, 156 => 36, 150 => 33, 145 => 31, 142 => 30, 138 => 28, 122 => 25, 119 => 24, 113 => 22, 110 => 21, 107 => 20, 102 => 18, 99 => 17, 96 => 15, 79 => 14, 76 => 13, 74 => 12, 71 => 11, 66 => 7, 61 => 5, 54 => 4, 50 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/noirlab/templates/node/node--filter.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/node/node--filter.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 12, "for" => 14);
static $filters = array("escape" => 4, "t" => 4, "date" => 7, "format_bytes" => 128);
static $functions = array("drupal_entity" => 18, "drupal_url" => 123);
try {
$this->sandbox->checkSecurity(
['if', 'for'],
['escape', 't', 'date', 'format_bytes'],
['drupal_entity', 'drupal_url']
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_6af46def04cac86f74f7b0b9b3b067b8', 'themes/custom/noirlab/templates/node/node--filter.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('themes/custom/noirlab/templates/node/node--filter.html.twig') (Line: 55)
twig_render_template('themes/custom/noirlab/templates/node/node--filter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_node--announcement.html.t_w_VuRgwOxtJhrcVKJMh_gywjv', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* node--announcement.html.twig */
class __TwigTemplate_602404960ace15fa3ede2c23a2216685 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'objectBody' => [$this, 'block_objectBody'],
'objectInfo' => [$this, 'block_objectInfo'],
'embeddedList' => [$this, 'block_embeddedList'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 69
$context["classes"] = [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, // line 70
($context["node"] ?? null), "bundle", [], "any", false, false, true, 70), 70, $this->source)), 1 => ((twig_get_attribute($this->env, $this->source, // line 71
($context["node"] ?? null), "isPromoted", [], "method", false, false, true, 71)) ? ("is-promoted") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 72
($context["node"] ?? null), "isSticky", [], "method", false, false, true, 72)) ? ("is-sticky") : ("")), 3 => (( !twig_get_attribute($this->env, $this->source, // line 73
($context["node"] ?? null), "isPublished", [], "method", false, false, true, 73)) ? ("is-unpublished") : ("")), 4 => (( // line 74
($context["view_mode"] ?? null)) ? (\Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["view_mode"] ?? null), 74, $this->source))) : ("")), 5 => "clearfix", 6 => "container"];
// line 79
echo "
";
// line 81
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 81), 81, $this->source), "html", null, true);
echo " id=\"body\">
";
// line 86
$this->displayBlock('objectBody', $context, $blocks);
// line 113
echo "
";
// line 117
$this->displayBlock('objectInfo', $context, $blocks);
// line 136
echo "
";
// line 137
$this->displayBlock('embeddedList', $context, $blocks);
// line 169
echo "
";
}
// line 86
public function block_objectBody($context, array $blocks = [])
{
$macros = $this->macros;
// line 87
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_id", [], "any", false, false, true, 87), "value", [], "any", false, false, true, 87), 87, $this->source), "html", null, true);
echo " — ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Announcement"));
echo "
";
// line 88
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 88, $this->source), "html", null, true);
echo "
";
// line 91
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["release_date"] ?? null), 91, $this->source), "-1 day"), "F j, Y", "UTC"), "html", null, true);
echo "
";
// line 94
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "body", [], "any", false, false, true, 94), 94, $this->source));
echo "
";
// line 96
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_contacts", [], "any", false, false, true, 96))) {
// line 97
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Contacts"));
echo "
";
// line 98
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_contacts", [], "any", false, false, true, 98), 98, $this->source), "html", null, true);
echo "
";
}
// line 100
echo "
";
// line 102
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_links", [], "any", false, false, true, 102))) {
// line 103
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_links", [], "any", false, false, true, 103));
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 104
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Links"));
echo "
";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_links", [], "any", false, false, true, 105));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 106
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "uri", [], "any", false, false, true, 106), 106, $this->source), "html", null, true);
echo "\">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, true, 106), 106, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
echo " ";
}
// line 111
echo "
";
}
// line 117
public function block_objectInfo($context, array $blocks = [])
{
$macros = $this->macros;
// line 118
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_id", [], "any", false, false, true, 118)) {
// line 119
echo "
";
// line 121
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("About the Announcement"));
echo "
Id:
";
// line 128
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_id", [], "any", false, false, true, 128), 128, $this->source), "html", null, true);
echo "
";
}
// line 135
echo " ";
}
// line 137
public function block_embeddedList($context, array $blocks = [])
{
$macros = $this->macros;
// line 138
echo "
";
// line 139
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 139))) {
// line 140
echo "
";
// line 141
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Images"));
echo "
";
// line 143
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 143));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 144
echo " ";
// line 145
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 145), "field_image", [], "any", false, false, true, 145))) {
// line 146
echo "
";
// line 147
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 147), "nid", [], "any", false, false, true, 147), "value", [], "any", false, false, true, 147), 147, $this->source), "teaser"), "html", null, true);
echo "
";
}
// line 150
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 152
echo " ";
}
// line 153
echo "
";
// line 154
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_videos", [], "any", false, false, true, 154))) {
// line 155
echo "
";
// line 157
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Videos"));
echo "
";
// line 159
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_videos", [], "any", false, false, true, 159));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 160
echo " ";
// line 161
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "entity", [], "any", false, false, true, 161), "field_video", [], "any", false, false, true, 161))) {
// line 162
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "entity", [], "any", false, false, true, 162), "nid", [], "any", false, false, true, 162), "value", [], "any", false, false, true, 162), 162, $this->source), "teaser"), "html", null, true);
echo "
";
}
// line 164
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 166
echo " ";
}
// line 167
echo "
";
}
public function getTemplateName()
{
return "node--announcement.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 292 => 167, 289 => 166, 282 => 164, 276 => 162, 273 => 161, 271 => 160, 267 => 159, 262 => 157, 258 => 155, 256 => 154, 253 => 153, 250 => 152, 243 => 150, 237 => 147, 234 => 146, 231 => 145, 229 => 144, 225 => 143, 220 => 141, 217 => 140, 215 => 139, 212 => 138, 208 => 137, 204 => 135, 194 => 128, 184 => 121, 180 => 119, 177 => 118, 173 => 117, 168 => 111, 165 => 110, 159 => 109, 147 => 106, 143 => 105, 138 => 104, 133 => 103, 130 => 102, 127 => 100, 122 => 98, 117 => 97, 115 => 96, 110 => 94, 103 => 91, 98 => 88, 91 => 87, 87 => 86, 76 => 169, 74 => 137, 71 => 136, 69 => 117, 63 => 113, 61 => 86, 52 => 81, 49 => 79, 47 => 74, 46 => 73, 45 => 72, 44 => 71, 43 => 70, 42 => 69,);
}
public function getSourceContext()
{
return new Source("", "node--announcement.html.twig", "themes/custom/noirlab/templates/node/node--announcement.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 69, "block" => 86, "if" => 96, "for" => 103);
static $filters = array("clean_class" => 70, "escape" => 81, "t" => 87, "date" => 91, "date_modify" => 91, "raw" => 94);
static $functions = array("drupal_entity" => 147);
try {
$this->sandbox->checkSecurity(
['set', 'block', 'if', 'for'],
['clean_class', 'escape', 't', 'date', 'date_modify', 'raw'],
['drupal_entity']
);
} 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('662295dc8574f_node--announcement.html.t_w_VuRgwOxtJhrcVKJMh_gywjv', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* node--announcement.html.twig */
class __TwigTemplate_602404960ace15fa3ede2c23a2216685 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'objectBody' => [$this, 'block_objectBody'],
'objectInfo' => [$this, 'block_objectInfo'],
'embeddedList' => [$this, 'block_embeddedList'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 69
$context["classes"] = [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, // line 70
($context["node"] ?? null), "bundle", [], "any", false, false, true, 70), 70, $this->source)), 1 => ((twig_get_attribute($this->env, $this->source, // line 71
($context["node"] ?? null), "isPromoted", [], "method", false, false, true, 71)) ? ("is-promoted") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 72
($context["node"] ?? null), "isSticky", [], "method", false, false, true, 72)) ? ("is-sticky") : ("")), 3 => (( !twig_get_attribute($this->env, $this->source, // line 73
($context["node"] ?? null), "isPublished", [], "method", false, false, true, 73)) ? ("is-unpublished") : ("")), 4 => (( // line 74
($context["view_mode"] ?? null)) ? (\Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["view_mode"] ?? null), 74, $this->source))) : ("")), 5 => "clearfix", 6 => "container"];
// line 79
echo "
";
// line 81
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 81), 81, $this->source), "html", null, true);
echo " id=\"body\">
";
// line 86
$this->displayBlock('objectBody', $context, $blocks);
// line 113
echo "
";
// line 117
$this->displayBlock('objectInfo', $context, $blocks);
// line 136
echo "
";
// line 137
$this->displayBlock('embeddedList', $context, $blocks);
// line 169
echo "
";
}
// line 86
public function block_objectBody($context, array $blocks = [])
{
$macros = $this->macros;
// line 87
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_id", [], "any", false, false, true, 87), "value", [], "any", false, false, true, 87), 87, $this->source), "html", null, true);
echo " — ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Announcement"));
echo "
";
// line 88
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 88, $this->source), "html", null, true);
echo "
";
// line 91
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["release_date"] ?? null), 91, $this->source), "-1 day"), "F j, Y", "UTC"), "html", null, true);
echo "
";
// line 94
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "body", [], "any", false, false, true, 94), 94, $this->source));
echo "
";
// line 96
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_contacts", [], "any", false, false, true, 96))) {
// line 97
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Contacts"));
echo "
";
// line 98
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_contacts", [], "any", false, false, true, 98), 98, $this->source), "html", null, true);
echo "
";
}
// line 100
echo "
";
// line 102
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_links", [], "any", false, false, true, 102))) {
// line 103
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_links", [], "any", false, false, true, 103));
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 104
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Links"));
echo "
";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_links", [], "any", false, false, true, 105));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 106
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "uri", [], "any", false, false, true, 106), 106, $this->source), "html", null, true);
echo "\">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, true, 106), 106, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
echo " ";
}
// line 111
echo "
";
}
// line 117
public function block_objectInfo($context, array $blocks = [])
{
$macros = $this->macros;
// line 118
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_id", [], "any", false, false, true, 118)) {
// line 119
echo "
";
// line 121
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("About the Announcement"));
echo "
Id:
";
// line 128
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_id", [], "any", false, false, true, 128), 128, $this->source), "html", null, true);
echo "
";
}
// line 135
echo " ";
}
// line 137
public function block_embeddedList($context, array $blocks = [])
{
$macros = $this->macros;
// line 138
echo "
";
// line 139
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 139))) {
// line 140
echo "
";
// line 141
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Images"));
echo "
";
// line 143
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_images", [], "any", false, false, true, 143));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 144
echo " ";
// line 145
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 145), "field_image", [], "any", false, false, true, 145))) {
// line 146
echo "
";
// line 147
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "entity", [], "any", false, false, true, 147), "nid", [], "any", false, false, true, 147), "value", [], "any", false, false, true, 147), 147, $this->source), "teaser"), "html", null, true);
echo "
";
}
// line 150
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 152
echo " ";
}
// line 153
echo "
";
// line 154
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_videos", [], "any", false, false, true, 154))) {
// line 155
echo "
";
// line 157
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Videos"));
echo "
";
// line 159
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "field_videos", [], "any", false, false, true, 159));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 160
echo " ";
// line 161
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "entity", [], "any", false, false, true, 161), "field_video", [], "any", false, false, true, 161))) {
// line 162
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("node", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "entity", [], "any", false, false, true, 162), "nid", [], "any", false, false, true, 162), "value", [], "any", false, false, true, 162), 162, $this->source), "teaser"), "html", null, true);
echo "
";
}
// line 164
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 166
echo " ";
}
// line 167
echo "
";
}
public function getTemplateName()
{
return "node--announcement.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 292 => 167, 289 => 166, 282 => 164, 276 => 162, 273 => 161, 271 => 160, 267 => 159, 262 => 157, 258 => 155, 256 => 154, 253 => 153, 250 => 152, 243 => 150, 237 => 147, 234 => 146, 231 => 145, 229 => 144, 225 => 143, 220 => 141, 217 => 140, 215 => 139, 212 => 138, 208 => 137, 204 => 135, 194 => 128, 184 => 121, 180 => 119, 177 => 118, 173 => 117, 168 => 111, 165 => 110, 159 => 109, 147 => 106, 143 => 105, 138 => 104, 133 => 103, 130 => 102, 127 => 100, 122 => 98, 117 => 97, 115 => 96, 110 => 94, 103 => 91, 98 => 88, 91 => 87, 87 => 86, 76 => 169, 74 => 137, 71 => 136, 69 => 117, 63 => 113, 61 => 86, 52 => 81, 49 => 79, 47 => 74, 46 => 73, 45 => 72, 44 => 71, 43 => 70, 42 => 69,);
}
public function getSourceContext()
{
return new Source("", "node--announcement.html.twig", "themes/custom/noirlab/templates/node/node--announcement.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 69, "block" => 86, "if" => 96, "for" => 103);
static $filters = array("clean_class" => 70, "escape" => 81, "t" => 87, "date" => 91, "date_modify" => 91, "raw" => 94);
static $functions = array("drupal_entity" => 147);
try {
$this->sandbox->checkSecurity(
['set', 'block', 'if', 'for'],
['clean_class', 'escape', 't', 'date', 'date_modify', 'raw'],
['drupal_entity']
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_602404960ace15fa3ede2c23a2216685', 'node--announcement.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('node--announcement.html.twig', NULL) (Line: 333)
Twig\Template->loadTemplate('node--announcement.html.twig', 'themes/custom/noirlab/templates/node/node--filter.html.twig', 1) (Line: 45)
__TwigTemplate_6af46def04cac86f74f7b0b9b3b067b8->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/node/node--filter.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 235)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_html.html.twig_AnkF-A6hUyWObkqbwjiX_0lpp', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/custom/noirlab/templates/system/html.html.twig */
class __TwigTemplate_0393f37d5ce2ce2b2085274ef868143b extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 48
$context["body_classes"] = [0 => (( // line 49
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), 1 => (( ! // line 50
($context["root_path"] ?? null)) ? ("path-frontpage") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null), 50, $this->source))))), 2 => (( // line 51
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null), 51, $this->source)))) : ("")), 3 => (( // line 52
($context["db_offline"] ?? null)) ? ("db-offline") : ("")), 4 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 53
($context["theme"] ?? null), "settings", [], "any", false, false, true, 53), "navbar_position", [], "any", false, false, true, 53)) ? (("navbar-is-" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 53), "navbar_position", [], "any", false, false, true, 53), 53, $this->source))) : ("")), 5 => ((twig_get_attribute($this->env, $this->source, // line 54
($context["theme"] ?? null), "has_glyphicons", [], "any", false, false, true, 54)) ? ("has-glyphicons") : (""))];
// line 57
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null), 58, $this->source), "html", null, true);
echo ">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 60, $this->source));
echo "\">
";
// line 61
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null), 61, $this->source), " | "));
echo "
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 62, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 63, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["body_classes"] ?? null)], "method", false, false, true, 65), 65, $this->source), "html", null, true);
echo ">
<a>";
// line 66
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Skip to main content"));
echo "</a>
";
// line 68
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null), 68, $this->source), "html", null, true);
echo "
";
// line 69
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null), 69, $this->source), "html", null, true);
echo "
";
// line 70
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null), 70, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 71, $this->source));
echo "\">
";
}
public function getTemplateName()
{
return "themes/custom/noirlab/templates/system/html.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 71, 89 => 70, 85 => 69, 81 => 68, 76 => 66, 72 => 65, 67 => 63, 63 => 62, 59 => 61, 55 => 60, 50 => 58, 47 => 57, 45 => 54, 44 => 53, 43 => 52, 42 => 51, 41 => 50, 40 => 49, 39 => 48,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/noirlab/templates/system/html.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/system/html.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 48);
static $filters = array("clean_class" => 50, "escape" => 58, "raw" => 60, "safe_join" => 61, "t" => 66);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set'],
['clean_class', 'escape', 'raw', 'safe_join', 't'],
[]
);
} 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('662295dc8574f_html.html.twig_AnkF-A6hUyWObkqbwjiX_0lpp', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/custom/noirlab/templates/system/html.html.twig */
class __TwigTemplate_0393f37d5ce2ce2b2085274ef868143b extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 48
$context["body_classes"] = [0 => (( // line 49
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), 1 => (( ! // line 50
($context["root_path"] ?? null)) ? ("path-frontpage") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null), 50, $this->source))))), 2 => (( // line 51
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null), 51, $this->source)))) : ("")), 3 => (( // line 52
($context["db_offline"] ?? null)) ? ("db-offline") : ("")), 4 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 53
($context["theme"] ?? null), "settings", [], "any", false, false, true, 53), "navbar_position", [], "any", false, false, true, 53)) ? (("navbar-is-" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 53), "navbar_position", [], "any", false, false, true, 53), 53, $this->source))) : ("")), 5 => ((twig_get_attribute($this->env, $this->source, // line 54
($context["theme"] ?? null), "has_glyphicons", [], "any", false, false, true, 54)) ? ("has-glyphicons") : (""))];
// line 57
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null), 58, $this->source), "html", null, true);
echo ">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 60, $this->source));
echo "\">
";
// line 61
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null), 61, $this->source), " | "));
echo "
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 62, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 63, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["body_classes"] ?? null)], "method", false, false, true, 65), 65, $this->source), "html", null, true);
echo ">
<a>";
// line 66
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Skip to main content"));
echo "</a>
";
// line 68
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null), 68, $this->source), "html", null, true);
echo "
";
// line 69
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null), 69, $this->source), "html", null, true);
echo "
";
// line 70
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null), 70, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 71, $this->source));
echo "\">
";
}
public function getTemplateName()
{
return "themes/custom/noirlab/templates/system/html.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 71, 89 => 70, 85 => 69, 81 => 68, 76 => 66, 72 => 65, 67 => 63, 63 => 62, 59 => 61, 55 => 60, 50 => 58, 47 => 57, 45 => 54, 44 => 53, 43 => 52, 42 => 51, 41 => 50, 40 => 49, 39 => 48,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/noirlab/templates/system/html.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/system/html.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 48);
static $filters = array("clean_class" => 50, "escape" => 58, "raw" => 60, "safe_join" => 61, "t" => 66);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set'],
['clean_class', 'escape', 'raw', 'safe_join', 't'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_0393f37d5ce2ce2b2085274ef868143b', 'themes/custom/noirlab/templates/system/html.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('themes/custom/noirlab/templates/system/html.html.twig') (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_page.html.twig_2hOlY4yQDSg7r7Hge2xGjW6Lp', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/custom/noirlab/templates/system/page.html.twig */
class __TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'navbar' => [$this, 'block_navbar'],
'contentWrapper' => [$this, 'block_contentWrapper'],
'main' => [$this, 'block_main'],
'bootstrapContainer' => [$this, 'block_bootstrapContainer'],
'header' => [$this, 'block_header'],
'alert' => [$this, 'block_alert'],
'sidebar_first' => [$this, 'block_sidebar_first'],
'highlighted' => [$this, 'block_highlighted'],
'help' => [$this, 'block_help'],
'content' => [$this, 'block_content'],
'sidebar_second' => [$this, 'block_sidebar_second'],
'nlRegions' => [$this, 'block_nlRegions'],
'container_fluid_one' => [$this, 'block_container_fluid_one'],
'container_one' => [$this, 'block_container_one'],
'container_fluid_two' => [$this, 'block_container_fluid_two'],
'container_two' => [$this, 'block_container_two'],
'container_fluid_three' => [$this, 'block_container_fluid_three'],
'container_three' => [$this, 'block_container_three'],
'footer' => [$this, 'block_footer'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 54
$context["container"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 54), "fluid_container", [], "any", false, false, true, 54)) ? ("container-fluid") : ("container"));
// line 55
echo "
";
// line 57
if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 57) || twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 57))) {
// line 58
echo " ";
$this->displayBlock('navbar', $context, $blocks);
}
// line 69
echo "
";
// line 70
$this->loadTemplate("@noirlab/includes/header.html.twig", "themes/custom/noirlab/templates/system/page.html.twig", 70)->display($context);
// line 71
echo "
";
// line 73
echo "
";
// line 75
if ((($context["is_front"] ?? null) && (($context["noirlab_site"] ?? null) == "science"))) {
// line 76
echo " ";
$context["homepageContainer"] = "main-container--no-padding";
}
// line 78
echo "
";
// line 79
$this->displayBlock('contentWrapper', $context, $blocks);
// line 227
echo "
";
// line 229
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 229)) {
// line 230
echo " ";
$this->displayBlock('footer', $context, $blocks);
}
// line 255
echo "
";
}
// line 58
public function block_navbar($context, array $blocks = [])
{
$macros = $this->macros;
// line 59
echo " ";
// line 60
$context["navbar_classes"] = [0 => "navbar", 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 62
($context["theme"] ?? null), "settings", [], "any", false, false, true, 62), "navbar_inverse", [], "any", false, false, true, 62)) ? ("navbar-inverse") : ("navbar-default")), 2 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 63
($context["theme"] ?? null), "settings", [], "any", false, false, true, 63), "navbar_position", [], "any", false, false, true, 63)) ? (("navbar-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 63), "navbar_position", [], "any", false, false, true, 63), 63, $this->source)))) : (($context["container"] ?? null)))];
// line 66
echo "
";
}
// line 79
public function block_contentWrapper($context, array $blocks = [])
{
$macros = $this->macros;
// line 80
echo "
";
// line 81
$this->displayBlock('main', $context, $blocks);
// line 173
echo "
";
// line 174
$this->displayBlock('nlRegions', $context, $blocks);
// line 226
echo "
";
}
// line 81
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
// line 82
echo " ";
$this->displayBlock('bootstrapContainer', $context, $blocks);
// line 85
echo "
";
// line 89
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 89)) {
// line 90
echo " ";
$this->displayBlock('header', $context, $blocks);
// line 95
echo " ";
}
// line 96
echo "
";
// line 98
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "alert", [], "any", false, false, true, 98)) {
// line 99
echo " ";
$this->displayBlock('alert', $context, $blocks);
// line 107
echo " ";
}
// line 108
echo "
";
// line 110
echo " ";
// line 116
echo " ";
$context["has_sidebar_first"] = !twig_test_empty(twig_trim_filter(twig_striptags($this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 116), 116, $this->source)))));
// line 117
echo " ";
if (($context["has_sidebar_first"] ?? null)) {
// line 118
echo " ";
$this->displayBlock('sidebar_first', $context, $blocks);
// line 124
echo " ";
}
// line 125
echo "
";
// line 127
echo " ";
// line 128
$context["content_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 129
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 129) && twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 129))) ? ("col-sm-6") : ("")), 1 => ((( // line 130
($context["has_sidebar_first"] ?? null) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 130)))) ? ("col-sm-9") : ("")), 2 => (((twig_get_attribute($this->env, $this->source, // line 131
($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 131) && twig_test_empty(($context["has_sidebar_first"] ?? null)))) ? ("col-sm-9") : ("")), 3 => (((twig_test_empty( // line 132
($context["has_sidebar_first"] ?? null)) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 132)))) ? ("col-sm-12") : ("")), 4 => "section--no-padding"];
// line 136
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => ($context["content_classes"] ?? null)], "method", false, false, true, 136), 136, $this->source), "html", null, true);
echo ">
";
// line 139
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 139)) {
// line 140
echo " ";
$this->displayBlock('highlighted', $context, $blocks);
// line 143
echo " ";
}
// line 144
echo "
";
// line 146
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 146)) {
// line 147
echo " ";
$this->displayBlock('help', $context, $blocks);
// line 150
echo " ";
}
// line 151
echo "
";
// line 153
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 158
echo "
";
// line 161
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 161)) {
// line 162
echo " ";
$this->displayBlock('sidebar_second', $context, $blocks);
// line 167
echo " ";
}
// line 168
echo "
";
// line 172
echo " ";
}
// line 82
public function block_bootstrapContainer($context, array $blocks = [])
{
$macros = $this->macros;
// line 83
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["noirlab_site"] ?? null), 83, $this->source), "html", null, true);
echo " main-container ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 83, $this->source), "html", null, true);
echo " js-quickedit-main-content ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["homepageContainer"] ?? null), 83, $this->source), "html", null, true);
echo "\">
";
}
// line 90
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
// line 91
echo "
";
// line 92
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 92), 92, $this->source), "html", null, true);
echo "
";
}
// line 99
public function block_alert($context, array $blocks = [])
{
$macros = $this->macros;
// line 100
echo "
";
// line 102
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "alert", [], "any", false, false, true, 102), 102, $this->source), "html", null, true);
echo "
";
}
// line 118
public function block_sidebar_first($context, array $blocks = [])
{
$macros = $this->macros;
// line 119
echo "
";
// line 121
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 121), 121, $this->source), "html", null, true);
echo "
";
}
// line 140
public function block_highlighted($context, array $blocks = [])
{
$macros = $this->macros;
// line 141
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 141), 141, $this->source), "html", null, true);
echo "
";
}
// line 147
public function block_help($context, array $blocks = [])
{
$macros = $this->macros;
// line 148
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 148), 148, $this->source), "html", null, true);
echo "
";
}
// line 153
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 154
echo " <a></a>
";
// line 155
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 155), 155, $this->source), "html", null, true);
echo "
";
}
// line 162
public function block_sidebar_second($context, array $blocks = [])
{
$macros = $this->macros;
// line 163
echo "
";
// line 164
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 164), 164, $this->source), "html", null, true);
echo "
";
}
// line 174
public function block_nlRegions($context, array $blocks = [])
{
$macros = $this->macros;
// line 175
echo "
";
// line 177
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_one", [], "any", false, false, true, 177)) {
// line 178
echo " ";
$this->displayBlock('container_fluid_one', $context, $blocks);
// line 183
echo " ";
}
// line 184
echo "
";
// line 185
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_one", [], "any", false, false, true, 185)) {
// line 186
echo " ";
$this->displayBlock('container_one', $context, $blocks);
// line 191
echo " ";
}
// line 192
echo "
";
// line 193
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_two", [], "any", false, false, true, 193)) {
// line 194
echo " ";
$this->displayBlock('container_fluid_two', $context, $blocks);
// line 199
echo " ";
}
// line 200
echo "
";
// line 201
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_two", [], "any", false, false, true, 201)) {
// line 202
echo " ";
$this->displayBlock('container_two', $context, $blocks);
// line 207
echo " ";
}
// line 208
echo "
";
// line 209
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_three", [], "any", false, false, true, 209)) {
// line 210
echo " ";
$this->displayBlock('container_fluid_three', $context, $blocks);
// line 215
echo " ";
}
// line 216
echo "
";
// line 217
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_three", [], "any", false, false, true, 217)) {
// line 218
echo " ";
$this->displayBlock('container_three', $context, $blocks);
// line 223
echo " ";
}
// line 224
echo "
";
}
// line 178
public function block_container_fluid_one($context, array $blocks = [])
{
$macros = $this->macros;
// line 179
echo "
";
// line 180
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_one", [], "any", false, false, true, 180), 180, $this->source), "html", null, true);
echo "
";
}
// line 186
public function block_container_one($context, array $blocks = [])
{
$macros = $this->macros;
// line 187
echo "
";
// line 188
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_one", [], "any", false, false, true, 188), 188, $this->source), "html", null, true);
echo "
";
}
// line 194
public function block_container_fluid_two($context, array $blocks = [])
{
$macros = $this->macros;
// line 195
echo "
";
// line 196
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_two", [], "any", false, false, true, 196), 196, $this->source), "html", null, true);
echo "
";
}
// line 202
public function block_container_two($context, array $blocks = [])
{
$macros = $this->macros;
// line 203
echo "
";
// line 204
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_two", [], "any", false, false, true, 204), 204, $this->source), "html", null, true);
echo "
";
}
// line 210
public function block_container_fluid_three($context, array $blocks = [])
{
$macros = $this->macros;
// line 211
echo "
";
// line 212
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_three", [], "any", false, false, true, 212), 212, $this->source), "html", null, true);
echo "
";
}
// line 218
public function block_container_three($context, array $blocks = [])
{
$macros = $this->macros;
// line 219
echo "
";
// line 220
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_three", [], "any", false, false, true, 220), 220, $this->source), "html", null, true);
echo "
";
}
// line 230
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
// line 231
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["noirlab_site"] ?? null), 231, $this->source), "html", null, true);
echo "\">
";
// line 233
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 233), 233, $this->source), "html", null, true);
echo "
var _paq = window._paq = window._paq || [];
/* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */
_paq.push([\"disableCookies\"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=\"https://matomo.noirlab.edu/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
";
}
public function getTemplateName()
{
return "themes/custom/noirlab/templates/system/page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 537 => 233, 531 => 231, 527 => 230, 520 => 220, 517 => 219, 513 => 218, 506 => 212, 503 => 211, 499 => 210, 492 => 204, 489 => 203, 485 => 202, 478 => 196, 475 => 195, 471 => 194, 464 => 188, 461 => 187, 457 => 186, 450 => 180, 447 => 179, 443 => 178, 438 => 224, 435 => 223, 432 => 218, 430 => 217, 427 => 216, 424 => 215, 421 => 210, 419 => 209, 416 => 208, 413 => 207, 410 => 202, 408 => 201, 405 => 200, 402 => 199, 399 => 194, 397 => 193, 394 => 192, 391 => 191, 388 => 186, 386 => 185, 383 => 184, 380 => 183, 377 => 178, 374 => 177, 371 => 175, 367 => 174, 360 => 164, 357 => 163, 353 => 162, 346 => 155, 343 => 154, 339 => 153, 332 => 148, 328 => 147, 321 => 141, 317 => 140, 310 => 121, 306 => 119, 302 => 118, 293 => 102, 289 => 100, 285 => 99, 278 => 92, 275 => 91, 271 => 90, 260 => 83, 256 => 82, 252 => 172, 247 => 168, 244 => 167, 241 => 162, 238 => 161, 234 => 158, 231 => 153, 228 => 151, 225 => 150, 222 => 147, 219 => 146, 216 => 144, 213 => 143, 210 => 140, 207 => 139, 201 => 136, 199 => 132, 198 => 131, 197 => 130, 196 => 129, 195 => 128, 193 => 127, 190 => 125, 187 => 124, 184 => 118, 181 => 117, 178 => 116, 176 => 110, 173 => 108, 170 => 107, 167 => 99, 164 => 98, 161 => 96, 158 => 95, 155 => 90, 152 => 89, 147 => 85, 144 => 82, 140 => 81, 135 => 226, 133 => 174, 130 => 173, 128 => 81, 125 => 80, 121 => 79, 116 => 66, 114 => 63, 113 => 62, 112 => 60, 110 => 59, 106 => 58, 101 => 255, 97 => 230, 95 => 229, 91 => 227, 89 => 79, 86 => 78, 82 => 76, 80 => 75, 77 => 73, 74 => 71, 72 => 70, 69 => 69, 65 => 58, 63 => 57, 60 => 55, 58 => 54,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/noirlab/templates/system/page.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/system/page.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 54, "if" => 57, "block" => 58, "include" => 70);
static $filters = array("clean_class" => 63, "trim" => 116, "striptags" => 116, "render" => 116, "escape" => 136);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block', 'include'],
['clean_class', 'trim', 'striptags', 'render', 'escape'],
[]
);
} 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('662295dc8574f_page.html.twig_2hOlY4yQDSg7r7Hge2xGjW6Lp', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/custom/noirlab/templates/system/page.html.twig */
class __TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'navbar' => [$this, 'block_navbar'],
'contentWrapper' => [$this, 'block_contentWrapper'],
'main' => [$this, 'block_main'],
'bootstrapContainer' => [$this, 'block_bootstrapContainer'],
'header' => [$this, 'block_header'],
'alert' => [$this, 'block_alert'],
'sidebar_first' => [$this, 'block_sidebar_first'],
'highlighted' => [$this, 'block_highlighted'],
'help' => [$this, 'block_help'],
'content' => [$this, 'block_content'],
'sidebar_second' => [$this, 'block_sidebar_second'],
'nlRegions' => [$this, 'block_nlRegions'],
'container_fluid_one' => [$this, 'block_container_fluid_one'],
'container_one' => [$this, 'block_container_one'],
'container_fluid_two' => [$this, 'block_container_fluid_two'],
'container_two' => [$this, 'block_container_two'],
'container_fluid_three' => [$this, 'block_container_fluid_three'],
'container_three' => [$this, 'block_container_three'],
'footer' => [$this, 'block_footer'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 54
$context["container"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 54), "fluid_container", [], "any", false, false, true, 54)) ? ("container-fluid") : ("container"));
// line 55
echo "
";
// line 57
if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 57) || twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 57))) {
// line 58
echo " ";
$this->displayBlock('navbar', $context, $blocks);
}
// line 69
echo "
";
// line 70
$this->loadTemplate("@noirlab/includes/header.html.twig", "themes/custom/noirlab/templates/system/page.html.twig", 70)->display($context);
// line 71
echo "
";
// line 73
echo "
";
// line 75
if ((($context["is_front"] ?? null) && (($context["noirlab_site"] ?? null) == "science"))) {
// line 76
echo " ";
$context["homepageContainer"] = "main-container--no-padding";
}
// line 78
echo "
";
// line 79
$this->displayBlock('contentWrapper', $context, $blocks);
// line 227
echo "
";
// line 229
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 229)) {
// line 230
echo " ";
$this->displayBlock('footer', $context, $blocks);
}
// line 255
echo "
";
}
// line 58
public function block_navbar($context, array $blocks = [])
{
$macros = $this->macros;
// line 59
echo " ";
// line 60
$context["navbar_classes"] = [0 => "navbar", 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 62
($context["theme"] ?? null), "settings", [], "any", false, false, true, 62), "navbar_inverse", [], "any", false, false, true, 62)) ? ("navbar-inverse") : ("navbar-default")), 2 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 63
($context["theme"] ?? null), "settings", [], "any", false, false, true, 63), "navbar_position", [], "any", false, false, true, 63)) ? (("navbar-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 63), "navbar_position", [], "any", false, false, true, 63), 63, $this->source)))) : (($context["container"] ?? null)))];
// line 66
echo "
";
}
// line 79
public function block_contentWrapper($context, array $blocks = [])
{
$macros = $this->macros;
// line 80
echo "
";
// line 81
$this->displayBlock('main', $context, $blocks);
// line 173
echo "
";
// line 174
$this->displayBlock('nlRegions', $context, $blocks);
// line 226
echo "
";
}
// line 81
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
// line 82
echo " ";
$this->displayBlock('bootstrapContainer', $context, $blocks);
// line 85
echo "
";
// line 89
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 89)) {
// line 90
echo " ";
$this->displayBlock('header', $context, $blocks);
// line 95
echo " ";
}
// line 96
echo "
";
// line 98
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "alert", [], "any", false, false, true, 98)) {
// line 99
echo " ";
$this->displayBlock('alert', $context, $blocks);
// line 107
echo " ";
}
// line 108
echo "
";
// line 110
echo " ";
// line 116
echo " ";
$context["has_sidebar_first"] = !twig_test_empty(twig_trim_filter(twig_striptags($this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 116), 116, $this->source)))));
// line 117
echo " ";
if (($context["has_sidebar_first"] ?? null)) {
// line 118
echo " ";
$this->displayBlock('sidebar_first', $context, $blocks);
// line 124
echo " ";
}
// line 125
echo "
";
// line 127
echo " ";
// line 128
$context["content_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 129
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 129) && twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 129))) ? ("col-sm-6") : ("")), 1 => ((( // line 130
($context["has_sidebar_first"] ?? null) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 130)))) ? ("col-sm-9") : ("")), 2 => (((twig_get_attribute($this->env, $this->source, // line 131
($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 131) && twig_test_empty(($context["has_sidebar_first"] ?? null)))) ? ("col-sm-9") : ("")), 3 => (((twig_test_empty( // line 132
($context["has_sidebar_first"] ?? null)) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 132)))) ? ("col-sm-12") : ("")), 4 => "section--no-padding"];
// line 136
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => ($context["content_classes"] ?? null)], "method", false, false, true, 136), 136, $this->source), "html", null, true);
echo ">
";
// line 139
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 139)) {
// line 140
echo " ";
$this->displayBlock('highlighted', $context, $blocks);
// line 143
echo " ";
}
// line 144
echo "
";
// line 146
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 146)) {
// line 147
echo " ";
$this->displayBlock('help', $context, $blocks);
// line 150
echo " ";
}
// line 151
echo "
";
// line 153
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 158
echo "
";
// line 161
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 161)) {
// line 162
echo " ";
$this->displayBlock('sidebar_second', $context, $blocks);
// line 167
echo " ";
}
// line 168
echo "
";
// line 172
echo " ";
}
// line 82
public function block_bootstrapContainer($context, array $blocks = [])
{
$macros = $this->macros;
// line 83
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["noirlab_site"] ?? null), 83, $this->source), "html", null, true);
echo " main-container ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 83, $this->source), "html", null, true);
echo " js-quickedit-main-content ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["homepageContainer"] ?? null), 83, $this->source), "html", null, true);
echo "\">
";
}
// line 90
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
// line 91
echo "
";
// line 92
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 92), 92, $this->source), "html", null, true);
echo "
";
}
// line 99
public function block_alert($context, array $blocks = [])
{
$macros = $this->macros;
// line 100
echo "
";
// line 102
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "alert", [], "any", false, false, true, 102), 102, $this->source), "html", null, true);
echo "
";
}
// line 118
public function block_sidebar_first($context, array $blocks = [])
{
$macros = $this->macros;
// line 119
echo "
";
// line 121
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 121), 121, $this->source), "html", null, true);
echo "
";
}
// line 140
public function block_highlighted($context, array $blocks = [])
{
$macros = $this->macros;
// line 141
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 141), 141, $this->source), "html", null, true);
echo "
";
}
// line 147
public function block_help($context, array $blocks = [])
{
$macros = $this->macros;
// line 148
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 148), 148, $this->source), "html", null, true);
echo "
";
}
// line 153
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 154
echo " <a></a>
";
// line 155
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 155), 155, $this->source), "html", null, true);
echo "
";
}
// line 162
public function block_sidebar_second($context, array $blocks = [])
{
$macros = $this->macros;
// line 163
echo "
";
// line 164
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 164), 164, $this->source), "html", null, true);
echo "
";
}
// line 174
public function block_nlRegions($context, array $blocks = [])
{
$macros = $this->macros;
// line 175
echo "
";
// line 177
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_one", [], "any", false, false, true, 177)) {
// line 178
echo " ";
$this->displayBlock('container_fluid_one', $context, $blocks);
// line 183
echo " ";
}
// line 184
echo "
";
// line 185
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_one", [], "any", false, false, true, 185)) {
// line 186
echo " ";
$this->displayBlock('container_one', $context, $blocks);
// line 191
echo " ";
}
// line 192
echo "
";
// line 193
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_two", [], "any", false, false, true, 193)) {
// line 194
echo " ";
$this->displayBlock('container_fluid_two', $context, $blocks);
// line 199
echo " ";
}
// line 200
echo "
";
// line 201
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_two", [], "any", false, false, true, 201)) {
// line 202
echo " ";
$this->displayBlock('container_two', $context, $blocks);
// line 207
echo " ";
}
// line 208
echo "
";
// line 209
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_three", [], "any", false, false, true, 209)) {
// line 210
echo " ";
$this->displayBlock('container_fluid_three', $context, $blocks);
// line 215
echo " ";
}
// line 216
echo "
";
// line 217
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_three", [], "any", false, false, true, 217)) {
// line 218
echo " ";
$this->displayBlock('container_three', $context, $blocks);
// line 223
echo " ";
}
// line 224
echo "
";
}
// line 178
public function block_container_fluid_one($context, array $blocks = [])
{
$macros = $this->macros;
// line 179
echo "
";
// line 180
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_one", [], "any", false, false, true, 180), 180, $this->source), "html", null, true);
echo "
";
}
// line 186
public function block_container_one($context, array $blocks = [])
{
$macros = $this->macros;
// line 187
echo "
";
// line 188
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_one", [], "any", false, false, true, 188), 188, $this->source), "html", null, true);
echo "
";
}
// line 194
public function block_container_fluid_two($context, array $blocks = [])
{
$macros = $this->macros;
// line 195
echo "
";
// line 196
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_two", [], "any", false, false, true, 196), 196, $this->source), "html", null, true);
echo "
";
}
// line 202
public function block_container_two($context, array $blocks = [])
{
$macros = $this->macros;
// line 203
echo "
";
// line 204
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_two", [], "any", false, false, true, 204), 204, $this->source), "html", null, true);
echo "
";
}
// line 210
public function block_container_fluid_three($context, array $blocks = [])
{
$macros = $this->macros;
// line 211
echo "
";
// line 212
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_fluid_three", [], "any", false, false, true, 212), 212, $this->source), "html", null, true);
echo "
";
}
// line 218
public function block_container_three($context, array $blocks = [])
{
$macros = $this->macros;
// line 219
echo "
";
// line 220
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "container_three", [], "any", false, false, true, 220), 220, $this->source), "html", null, true);
echo "
";
}
// line 230
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
// line 231
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["noirlab_site"] ?? null), 231, $this->source), "html", null, true);
echo "\">
";
// line 233
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 233), 233, $this->source), "html", null, true);
echo "
var _paq = window._paq = window._paq || [];
/* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */
_paq.push([\"disableCookies\"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=\"https://matomo.noirlab.edu/\";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
";
}
public function getTemplateName()
{
return "themes/custom/noirlab/templates/system/page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 537 => 233, 531 => 231, 527 => 230, 520 => 220, 517 => 219, 513 => 218, 506 => 212, 503 => 211, 499 => 210, 492 => 204, 489 => 203, 485 => 202, 478 => 196, 475 => 195, 471 => 194, 464 => 188, 461 => 187, 457 => 186, 450 => 180, 447 => 179, 443 => 178, 438 => 224, 435 => 223, 432 => 218, 430 => 217, 427 => 216, 424 => 215, 421 => 210, 419 => 209, 416 => 208, 413 => 207, 410 => 202, 408 => 201, 405 => 200, 402 => 199, 399 => 194, 397 => 193, 394 => 192, 391 => 191, 388 => 186, 386 => 185, 383 => 184, 380 => 183, 377 => 178, 374 => 177, 371 => 175, 367 => 174, 360 => 164, 357 => 163, 353 => 162, 346 => 155, 343 => 154, 339 => 153, 332 => 148, 328 => 147, 321 => 141, 317 => 140, 310 => 121, 306 => 119, 302 => 118, 293 => 102, 289 => 100, 285 => 99, 278 => 92, 275 => 91, 271 => 90, 260 => 83, 256 => 82, 252 => 172, 247 => 168, 244 => 167, 241 => 162, 238 => 161, 234 => 158, 231 => 153, 228 => 151, 225 => 150, 222 => 147, 219 => 146, 216 => 144, 213 => 143, 210 => 140, 207 => 139, 201 => 136, 199 => 132, 198 => 131, 197 => 130, 196 => 129, 195 => 128, 193 => 127, 190 => 125, 187 => 124, 184 => 118, 181 => 117, 178 => 116, 176 => 110, 173 => 108, 170 => 107, 167 => 99, 164 => 98, 161 => 96, 158 => 95, 155 => 90, 152 => 89, 147 => 85, 144 => 82, 140 => 81, 135 => 226, 133 => 174, 130 => 173, 128 => 81, 125 => 80, 121 => 79, 116 => 66, 114 => 63, 113 => 62, 112 => 60, 110 => 59, 106 => 58, 101 => 255, 97 => 230, 95 => 229, 91 => 227, 89 => 79, 86 => 78, 82 => 76, 80 => 75, 77 => 73, 74 => 71, 72 => 70, 69 => 69, 65 => 58, 63 => 57, 60 => 55, 58 => 54,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/noirlab/templates/system/page.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/system/page.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 54, "if" => 57, "block" => 58, "include" => 70);
static $filters = array("clean_class" => 63, "trim" => 116, "striptags" => 116, "render" => 116, "escape" => 136);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block', 'include'],
['clean_class', 'trim', 'striptags', 'render', 'escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845', 'themes/custom/noirlab/templates/system/page.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('themes/custom/noirlab/templates/system/page.html.twig') (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85)
__TwigTemplate_0393f37d5ce2ce2b2085274ef868143b->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_header.html.twig_RwipqoR3ZYABZUV-7fwUU5xYC', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @noirlab/includes/header.html.twig */
class __TwigTemplate_093e88e1cf40dcfa42110ce12ddb94be extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'logo' => [$this, 'block_logo'],
'nav_audiences' => [$this, 'block_nav_audiences'],
'nav_utilities' => [$this, 'block_nav_utilities'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "header--parent.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("header--parent.html.twig", "@noirlab/includes/header.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 5
public function block_logo($context, array $blocks = [])
{
$macros = $this->macros;
// line 6
echo " ";
if ((($context["noirlab_site"] ?? null) == "intra")) {
// line 7
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, ($this->sandbox->ensureToStringAllowed(($context["base_path"] ?? null), 7, $this->source) . $this->sandbox->ensureToStringAllowed(($context["directory"] ?? null), 7, $this->source)), "html", null, true);
echo "/images/logos/nsf-noirlab-white.svg\" />
";
} elseif (( // line 8
($context["noirlab_site"] ?? null) == "science")) {
// line 9
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, ($this->sandbox->ensureToStringAllowed(($context["base_path"] ?? null), 9, $this->source) . $this->sandbox->ensureToStringAllowed(($context["directory"] ?? null), 9, $this->source)), "html", null, true);
echo "/images/logos/nsf-noirlab.svg\" />
";
}
}
// line 13
public function block_nav_audiences($context, array $blocks = [])
{
$macros = $this->macros;
// line 14
echo " ";
if ((($context["noirlab_site"] ?? null) == "intra")) {
// line 15
echo " <a>";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Public"));
echo "</a>
<a>";
// line 16
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Scientists"));
echo "</a>
<a> ";
// line 17
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Intranet"));
echo "</a>
";
} elseif (( // line 18
($context["noirlab_site"] ?? null) == "science")) {
// line 19
echo " <a>";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Public"));
echo "</a>
<a>";
// line 20
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Scientists"));
echo "</a>
<a> ";
// line 21
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Intranet"));
echo "</a>
";
}
// line 23
echo "
";
}
// line 26
public function block_nav_utilities($context, array $blocks = [])
{
$macros = $this->macros;
// line 27
if ((($context["noirlab_site"] ?? null) == "intra")) {
echo "
";
// line 28
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalBlock("language_block:language_interface", array(), false), "html", null, true);
echo "
<li><a line echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => "7783"]));
echo "\">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Sitemap"));
echo "</a></li>
<li>";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalBlock("search_form_block"), "html", null, true);
echo "</li>
";
} elseif (( // line 32
($context["noirlab_site"] ?? null) == "science")) {
// line 33
echo " <li><a>";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Sitemap"));
echo "</a></li>
<li>
Search
\t
\t\t
\t\t\t
\t\t\t\t
\t\t\t
\t\t
\t\t
\t
</li>
";
}
// line 64
echo "
";
}
public function getTemplateName()
{
return "@noirlab/includes/header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 173 => 64, 138 => 33, 136 => 32, 132 => 31, 126 => 30, 121 => 28, 117 => 27, 113 => 26, 108 => 23, 103 => 21, 99 => 20, 94 => 19, 92 => 18, 88 => 17, 84 => 16, 79 => 15, 76 => 14, 72 => 13, 64 => 9, 62 => 8, 57 => 7, 54 => 6, 50 => 5, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "@noirlab/includes/header.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/includes/header.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 6);
static $filters = array("escape" => 7, "t" => 15);
static $functions = array("drupal_block" => 28, "path" => 30);
try {
$this->sandbox->checkSecurity(
['if'],
['escape', 't'],
['drupal_block', 'path']
);
} 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('662295dc8574f_header.html.twig_RwipqoR3ZYABZUV-7fwUU5xYC', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @noirlab/includes/header.html.twig */
class __TwigTemplate_093e88e1cf40dcfa42110ce12ddb94be extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'logo' => [$this, 'block_logo'],
'nav_audiences' => [$this, 'block_nav_audiences'],
'nav_utilities' => [$this, 'block_nav_utilities'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "header--parent.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("header--parent.html.twig", "@noirlab/includes/header.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 5
public function block_logo($context, array $blocks = [])
{
$macros = $this->macros;
// line 6
echo " ";
if ((($context["noirlab_site"] ?? null) == "intra")) {
// line 7
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, ($this->sandbox->ensureToStringAllowed(($context["base_path"] ?? null), 7, $this->source) . $this->sandbox->ensureToStringAllowed(($context["directory"] ?? null), 7, $this->source)), "html", null, true);
echo "/images/logos/nsf-noirlab-white.svg\" />
";
} elseif (( // line 8
($context["noirlab_site"] ?? null) == "science")) {
// line 9
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, ($this->sandbox->ensureToStringAllowed(($context["base_path"] ?? null), 9, $this->source) . $this->sandbox->ensureToStringAllowed(($context["directory"] ?? null), 9, $this->source)), "html", null, true);
echo "/images/logos/nsf-noirlab.svg\" />
";
}
}
// line 13
public function block_nav_audiences($context, array $blocks = [])
{
$macros = $this->macros;
// line 14
echo " ";
if ((($context["noirlab_site"] ?? null) == "intra")) {
// line 15
echo " <a>";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Public"));
echo "</a>
<a>";
// line 16
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Scientists"));
echo "</a>
<a> ";
// line 17
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Intranet"));
echo "</a>
";
} elseif (( // line 18
($context["noirlab_site"] ?? null) == "science")) {
// line 19
echo " <a>";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Public"));
echo "</a>
<a>";
// line 20
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Scientists"));
echo "</a>
<a> ";
// line 21
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Intranet"));
echo "</a>
";
}
// line 23
echo "
";
}
// line 26
public function block_nav_utilities($context, array $blocks = [])
{
$macros = $this->macros;
// line 27
if ((($context["noirlab_site"] ?? null) == "intra")) {
echo "
";
// line 28
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalBlock("language_block:language_interface", array(), false), "html", null, true);
echo "
<li><a line echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->getPath("entity.node.canonical", ["node" => "7783"]));
echo "\">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Sitemap"));
echo "</a></li>
<li>";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalBlock("search_form_block"), "html", null, true);
echo "</li>
";
} elseif (( // line 32
($context["noirlab_site"] ?? null) == "science")) {
// line 33
echo " <li><a>";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Sitemap"));
echo "</a></li>
<li>
Search
\t
\t\t
\t\t\t
\t\t\t\t
\t\t\t
\t\t
\t\t
\t
</li>
";
}
// line 64
echo "
";
}
public function getTemplateName()
{
return "@noirlab/includes/header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 173 => 64, 138 => 33, 136 => 32, 132 => 31, 126 => 30, 121 => 28, 117 => 27, 113 => 26, 108 => 23, 103 => 21, 99 => 20, 94 => 19, 92 => 18, 88 => 17, 84 => 16, 79 => 15, 76 => 14, 72 => 13, 64 => 9, 62 => 8, 57 => 7, 54 => 6, 50 => 5, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "@noirlab/includes/header.html.twig", "/opt/drupal/web/themes/custom/noirlab/templates/includes/header.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 6);
static $filters = array("escape" => 7, "t" => 15);
static $functions = array("drupal_block" => 28, "path" => 30);
try {
$this->sandbox->checkSecurity(
['if'],
['escape', 't'],
['drupal_block', 'path']
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_093e88e1cf40dcfa42110ce12ddb94be', '@noirlab/includes/header.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('@noirlab/includes/header.html.twig', NULL) (Line: 333)
Twig\Template->loadTemplate('@noirlab/includes/header.html.twig', 'themes/custom/noirlab/templates/system/page.html.twig', 70) (Line: 72)
__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85)
__TwigTemplate_0393f37d5ce2ce2b2085274ef868143b->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_header--parent.html.twig_2WPTv0zzHyEGp81CU9DxiCwga', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* header--parent.html.twig */
class __TwigTemplate_daa7b55a2c5ba4f96039f2a78639ea1f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'logo' => [$this, 'block_logo'],
'nav_audiences' => [$this, 'block_nav_audiences'],
'nav_utilities' => [$this, 'block_nav_utilities'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 2
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["noirlab_site"] ?? null), 2, $this->source), "html", null, true);
echo "\">
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["front_page"] ?? null), 11, $this->source), "html", null, true);
echo "\">";
// line 12
$this->displayBlock('logo', $context, $blocks);
// line 13
echo " </a>
";
// line 18
$this->displayBlock('nav_audiences', $context, $blocks);
// line 19
echo "
<ul>";
// line 22
$this->displayBlock('nav_utilities', $context, $blocks);
// line 23
echo " </ul>
";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("block", "noirlab_main_menu", "full", null, false), "html", null, true);
echo "
";
}
// line 12
public function block_logo($context, array $blocks = [])
{
$macros = $this->macros;
}
// line 18
public function block_nav_audiences($context, array $blocks = [])
{
$macros = $this->macros;
}
// line 22
public function block_nav_utilities($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "header--parent.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 111 => 22, 105 => 18, 99 => 12, 90 => 31, 80 => 23, 78 => 22, 74 => 19, 72 => 18, 65 => 13, 63 => 12, 60 => 11, 48 => 4, 42 => 2,);
}
public function getSourceContext()
{
return new Source("", "header--parent.html.twig", "themes/custom/noirlab/templates/includes/header--parent.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 4, "block" => 12);
static $filters = array("escape" => 2);
static $functions = array("drupal_entity" => 31);
try {
$this->sandbox->checkSecurity(
['if', 'block'],
['escape'],
['drupal_entity']
);
} 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('662295dc8574f_header--parent.html.twig_2WPTv0zzHyEGp81CU9DxiCwga', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* header--parent.html.twig */
class __TwigTemplate_daa7b55a2c5ba4f96039f2a78639ea1f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'logo' => [$this, 'block_logo'],
'nav_audiences' => [$this, 'block_nav_audiences'],
'nav_utilities' => [$this, 'block_nav_utilities'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 2
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["noirlab_site"] ?? null), 2, $this->source), "html", null, true);
echo "\">
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["front_page"] ?? null), 11, $this->source), "html", null, true);
echo "\">";
// line 12
$this->displayBlock('logo', $context, $blocks);
// line 13
echo " </a>
";
// line 18
$this->displayBlock('nav_audiences', $context, $blocks);
// line 19
echo "
<ul>";
// line 22
$this->displayBlock('nav_utilities', $context, $blocks);
// line 23
echo " </ul>
";
// line 31
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, Drupal\twig_tweak\TwigTweakExtension::drupalEntity("block", "noirlab_main_menu", "full", null, false), "html", null, true);
echo "
";
}
// line 12
public function block_logo($context, array $blocks = [])
{
$macros = $this->macros;
}
// line 18
public function block_nav_audiences($context, array $blocks = [])
{
$macros = $this->macros;
}
// line 22
public function block_nav_utilities($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "header--parent.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 111 => 22, 105 => 18, 99 => 12, 90 => 31, 80 => 23, 78 => 22, 74 => 19, 72 => 18, 65 => 13, 63 => 12, 60 => 11, 48 => 4, 42 => 2,);
}
public function getSourceContext()
{
return new Source("", "header--parent.html.twig", "themes/custom/noirlab/templates/includes/header--parent.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 4, "block" => 12);
static $filters = array("escape" => 2);
static $functions = array("drupal_entity" => 31);
try {
$this->sandbox->checkSecurity(
['if', 'block'],
['escape'],
['drupal_entity']
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_daa7b55a2c5ba4f96039f2a78639ea1f', 'header--parent.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('header--parent.html.twig', NULL) (Line: 333)
Twig\Template->loadTemplate('header--parent.html.twig', '@noirlab/includes/header.html.twig', 1) (Line: 45)
__TwigTemplate_093e88e1cf40dcfa42110ce12ddb94be->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 72)
__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85)
__TwigTemplate_0393f37d5ce2ce2b2085274ef868143b->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
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('662295dc8574f_region.html.twig_FValS6SQFPzewM1_BEOOzqCHl', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/contrib/bootstrap/templates/system/region.html.twig */
class __TwigTemplate_cc218f6345704ae53c3d4ad00b8093f1 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 18
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 20
($context["region"] ?? null), 20, $this->source)))];
// line 23
if (($context["content"] ?? null)) {
// line 24
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 24), 24, $this->source), "html", null, true);
echo ">
";
// line 25
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 25, $this->source), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/system/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 25, 44 => 24, 42 => 23, 40 => 20, 39 => 18,);
}
public function getSourceContext()
{
return new Source("", "themes/contrib/bootstrap/templates/system/region.html.twig", "/opt/drupal/web/themes/contrib/bootstrap/templates/system/region.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 18, "if" => 23);
static $filters = array("clean_class" => 20, "escape" => 24);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[]
);
} 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('662295dc8574f_region.html.twig_FValS6SQFPzewM1_BEOOzqCHl', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/contrib/bootstrap/templates/system/region.html.twig */
class __TwigTemplate_cc218f6345704ae53c3d4ad00b8093f1 extends \Twig\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('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 18
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 20
($context["region"] ?? null), 20, $this->source)))];
// line 23
if (($context["content"] ?? null)) {
// line 24
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 24), 24, $this->source), "html", null, true);
echo ">
";
// line 25
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 25, $this->source), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/system/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 25, 44 => 24, 42 => 23, 40 => 20, 39 => 18,);
}
public function getSourceContext()
{
return new Source("", "themes/contrib/bootstrap/templates/system/region.html.twig", "/opt/drupal/web/themes/contrib/bootstrap/templates/system/region.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 18, "if" => 23);
static $filters = array("clean_class" => 20, "escape" => 24);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[]
);
} 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: 409)
Twig\Environment->loadClass('__TwigTemplate_cc218f6345704ae53c3d4ad00b8093f1', 'themes/contrib/bootstrap/templates/system/region.html.twig', NULL) (Line: 381)
Twig\Environment->loadTemplate('themes/contrib/bootstrap/templates/system/region.html.twig') (Line: 55)
twig_render_template('themes/contrib/bootstrap/templates/system/region.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 489)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 322)
__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845->block_highlighted(Array, Array) (Line: 182)
Twig\Template->displayBlock('highlighted', Array, Array) (Line: 211)
__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845->block_main(Array, Array) (Line: 182)
Twig\Template->displayBlock('main', Array, Array) (Line: 128)
__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845->block_contentWrapper(Array, Array) (Line: 182)
Twig\Template->displayBlock('contentWrapper', Array, Array) (Line: 89)
__TwigTemplate_316cec1bb23e7d0ea5b04a3a90632845->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85)
__TwigTemplate_0393f37d5ce2ce2b2085274ef868143b->doDisplay(Array, Array) (Line: 405)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378)
Twig\Template->display(Array) (Line: 390)
Twig\Template->render(Array) (Line: 55)
twig_render_template('themes/custom/noirlab/templates/system/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)