An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.atrOYtmBRCryZsEQjynZ5pjyUb8,sites/default/files/php/twig/68c88161d36e2_superfish.html.twig__Yd-YIffZtZyLm7iSMp1Hv_Uf/3_0a-u_5fGvhZBMNYaJwf9rGTSHW6p59neMZqjlHeFY.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('68c88161d36e2_superfish.html.twig__Yd-YIffZtZyLm7iSMp1Hv_Uf', '<?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; /* modules/contrib/superfish/templates/superfish.html.twig */ class __TwigTemplate_b38d4660bbb31f0f7109bde7ebee12cc extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 16 echo " <ul line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null), 17, $this->source), "html", null, true); echo "\" class=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["menu_classes"] ?? null), 17, $this->source), "html", null, true); echo "\"> "; // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["menu_items"] ?? null), 18, $this->source), "html", null, true); echo " </ul> "; } public function getTemplateName() { return "modules/contrib/superfish/templates/superfish.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 18, 42 => 17, 39 => 16,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation of the Superfish menus. * * Available variables: * - id: Unique menu identifier. * - menu_classes: Menu classes. * - menu_items: Menu tree. * * @see template_preprocess_superfish() * * @ingroup themeable */ #} <ul> {{ menu_items }} </ul> ", "modules/contrib/superfish/templates/superfish.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\superfish\\templates\\superfish.html.twig"); } public function checkSecurity() { static $tags = array(); static $filters = array("escape" => 17); static $functions = array(); try { $this->sandbox->checkSecurity( [], ['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('68c88161d36e2_superfish.html.twig__Yd-YIffZtZyLm7iSMp1Hv_Uf', '<?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; /* modules/contrib/superfish/templates/superfish.html.twig */ class __TwigTemplate_b38d4660bbb31f0f7109bde7ebee12cc extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 16 echo " <ul line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["id"] ?? null), 17, $this->source), "html", null, true); echo "\" class=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["menu_classes"] ?? null), 17, $this->source), "html", null, true); echo "\"> "; // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["menu_items"] ?? null), 18, $this->source), "html", null, true); echo " </ul> "; } public function getTemplateName() { return "modules/contrib/superfish/templates/superfish.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 18, 42 => 17, 39 => 16,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation of the Superfish menus. * * Available variables: * - id: Unique menu identifier. * - menu_classes: Menu classes. * - menu_items: Menu tree. * * @see template_preprocess_superfish() * * @ingroup themeable */ #} <ul> {{ menu_items }} </ul> ", "modules/contrib/superfish/templates/superfish.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\superfish\\templates\\superfish.html.twig"); } public function checkSecurity() { static $tags = array(); static $filters = array("escape" => 17); static $functions = array(); try { $this->sandbox->checkSecurity( [], ['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: 352) Twig\Environment->loadTemplate('__TwigTemplate_b38d4660bbb31f0f7109bde7ebee12cc', 'modules/contrib/superfish/templates/superfish.html.twig') (Line: 312) Twig\Environment->load('modules/contrib/superfish/templates/superfish.html.twig') (Line: 53) twig_render_template('modules/contrib/superfish/templates/superfish.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('superfish', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array) (Line: 458) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82) __TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 69) __TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/block/block.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array) (Line: 458) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 120) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->block_navbar(Array, Array) (Line: 171) Twig\Template->displayBlock('navbar', Array, Array) (Line: 60) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90) __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) 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: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- Warning: rename(sites/default/files/php/twig/.aQyvvkasegtY70rKYb_oCfoOTHY,sites/default/files/php/twig/68c88161d36e2_menu.html.twig_PClSd3zXs9RVuLL_FreYbigUk/ZYqmE86KWeizQO4xvEN-VZ46yhIzr-IBCLKK_XE70LA.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('68c88161d36e2_menu.html.twig_PClSd3zXs9RVuLL_FreYbigUk', '<?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/menu/menu.html.twig */ class __TwigTemplate_8405ff8beb867f7adf995957646df173 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); $macros["_self"] = $this->macros["_self"] = $this; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 54 echo " "; // line 60 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [($context["items"] ?? null), ($context["attributes"] ?? null), 0, ((($context["classes"] ?? null)) ? (($context["classes"] ?? null)) : ([0 => "menu", 1 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["menu_name"] ?? null), 60, $this->source))), 2 => "nav"])), ((($context["dropdown_classes"] ?? null)) ? (($context["dropdown_classes"] ?? null)) : ([0 => "dropdown-menu"]))], 60, $context, $this->getSourceContext())); echo " "; } // line 22 public function macro_menu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, $__classes__ = null, $__dropdown_classes__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "items" => $__items__, "attributes" => $__attributes__, "menu_level" => $__menu_level__, "classes" => $__classes__, "dropdown_classes" => $__dropdown_classes__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { // line 23 echo " "; if (($context["items"] ?? null)) { // line 24 echo " <ul>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => (((($context["menu_level"] ?? null) == 0)) ? (($context["classes"] ?? null)) : (($context["dropdown_classes"] ?? null)))], "method", false, false, true, 24), 24, $this->source), "html", null, true); echo "> "; // line 25 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 26 echo " "; // line 27 $context["item_classes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 27), "getOption", [0 => "container_attributes"], "method", false, false, true, 27), "class", [], "any", false, false, true, 27); // line 29 echo " "; // line 30 $context["item_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 31 $context["item"], "is_expanded", [], "any", false, false, true, 31) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 31))) ? ("expanded dropdown") : ("")), 1 => ((twig_get_attribute($this->env, $this->source, // line 32 $context["item"], "in_active_trail", [], "any", false, false, true, 32)) ? ("active active-trail") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 33 $context["loop"], "first", [], "any", false, false, true, 33)) ? ("first") : ("")), 3 => ((twig_get_attribute($this->env, $this->source, // line 34 $context["loop"], "last", [], "any", false, false, true, 34)) ? ("last") : (""))]; // line 37 echo " <li>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["item"], "attributes", [], "any", false, false, true, 37), "addClass", [0 => ($context["item_classes"] ?? null)], "method", false, false, true, 37), 37, $this->source), "html", null, true); echo "> "; // line 38 $context["link_title"] = twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 38); // line 39 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, $context["item"], "link_attributes", [], "any", false, false, true, 39); // line 40 echo " "; if ((((($context["menu_level"] ?? null) == 0) && twig_get_attribute($this->env, $this->source, $context["item"], "is_expanded", [], "any", false, false, true, 40)) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 40))) { // line 41 echo " "; ob_start(); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 41, $this->source), "html", null, true); echo " "; $context["link_title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => "dropdown-toggle"], "method", false, false, true, 42), "setAttribute", [0 => "data-toggle", 1 => "dropdown"], "method", false, false, true, 42); // line 43 echo " "; } // line 44 echo " "; // line 45 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 45), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => ((twig_get_attribute($this->env, $this->source, $context["item"], "in_active_trail", [], "any", false, false, true, 45)) ? ("active-trail") : (""))], "method", false, false, true, 45), 45, $this->source)), "html", null, true); echo " "; // line 46 if (twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 46)) { // line 47 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 47), twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "removeClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 47), (($context["menu_level"] ?? null) + 1), ($context["classes"] ?? null), ($context["dropdown_classes"] ?? null)], 47, $context, $this->getSourceContext())); echo " "; } // line 49 echo " </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 echo " </ul> "; } return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/menu/menu.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 51, 143 => 49, 137 => 47, 135 => 46, 130 => 45, 128 => 44, 125 => 43, 122 => 42, 116 => 41, 113 => 40, 110 => 39, 108 => 38, 103 => 37, 101 => 34, 100 => 33, 99 => 32, 98 => 31, 97 => 30, 95 => 29, 93 => 27, 91 => 26, 74 => 25, 69 => 24, 66 => 23, 49 => 22, 43 => 60, 40 => 54,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a menu. * * Available variables: * - classes: A list of classes to apply to the top level <ul> element. * - dropdown_classes: A list of classes to apply to the dropdown <ul> element. * - menu_name: The machine name of the menu. * - items: A nested list of menu items. Each menu item contains: * - attributes: HTML attributes for the menu item. * - below: The menu item child items. * - title: The menu link title. * - url: The menu link url, instance of \\Drupal\\Core\\Url * - localized_options: Menu link localized options. * * @ingroup templates * * Define a custom macro that will render all menu trees. */ #} {% macro menu_links(items, attributes, menu_level, classes, dropdown_classes) %} {% if items %} <ul level="=" classes> {% for item in items %} {% set item_classes = item.url.getOption('container_attributes').class %} {% set item_classes = [ item.is_expanded and item.below ? 'expanded dropdown', item.in_active_trail ? 'active active-trail', loop.first ? 'first', loop.last ? 'last', ] %} <li> {% set link_title = item.title %} {% set link_attributes = item.link_attributes %} {% if menu_level == 0 and item.is_expanded and item.below %} {% set link_title %}{{ link_title }} {% endset %} {% set link_attributes = link_attributes.addClass('dropdown-toggle').setAttribute('data-toggle', 'dropdown') %} {% endif %} {# Must use link() here so it triggers hook_link_alter(). #} {{ link(link_title, item.url, link_attributes.addClass(item.in_active_trail ? 'active-trail')) }} {% if item.below %} {{ _self.menu_links(item.below, attributes.removeClass(classes), menu_level + 1, classes, dropdown_classes) }} {% endif %} </li> {% endfor %} </ul> {% endif %} {% endmacro %} {# Invoke the custom macro defined above. If classes were provided, use them. This allows the template to be extended without having to also duplicate the code above. @see http://twig.sensiolabs.org/doc/tags/macro.html #} {{ _self.menu_links(items, attributes, 0, classes ?: ['menu', 'menu--' ~ menu_name|clean_class, 'nav'], dropdown_classes ?: ['dropdown-menu']) }} ", "themes/contrib/bootstrap/templates/menu/menu.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\menu\\menu.html.twig"); } public function checkSecurity() { static $tags = array("macro" => 22, "if" => 23, "for" => 25, "set" => 27); static $filters = array("clean_class" => 60, "escape" => 24); static $functions = array("link" => 45); try { $this->sandbox->checkSecurity( ['macro', 'if', 'for', 'set', 'import'], ['clean_class', 'escape'], ['link'] ); } 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('68c88161d36e2_menu.html.twig_PClSd3zXs9RVuLL_FreYbigUk', '<?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/menu/menu.html.twig */ class __TwigTemplate_8405ff8beb867f7adf995957646df173 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); $macros["_self"] = $this->macros["_self"] = $this; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 54 echo " "; // line 60 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [($context["items"] ?? null), ($context["attributes"] ?? null), 0, ((($context["classes"] ?? null)) ? (($context["classes"] ?? null)) : ([0 => "menu", 1 => ("menu--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["menu_name"] ?? null), 60, $this->source))), 2 => "nav"])), ((($context["dropdown_classes"] ?? null)) ? (($context["dropdown_classes"] ?? null)) : ([0 => "dropdown-menu"]))], 60, $context, $this->getSourceContext())); echo " "; } // line 22 public function macro_menu_links($__items__ = null, $__attributes__ = null, $__menu_level__ = null, $__classes__ = null, $__dropdown_classes__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "items" => $__items__, "attributes" => $__attributes__, "menu_level" => $__menu_level__, "classes" => $__classes__, "dropdown_classes" => $__dropdown_classes__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { // line 23 echo " "; if (($context["items"] ?? null)) { // line 24 echo " <ul>extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => (((($context["menu_level"] ?? null) == 0)) ? (($context["classes"] ?? null)) : (($context["dropdown_classes"] ?? null)))], "method", false, false, true, 24), 24, $this->source), "html", null, true); echo "> "; // line 25 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 26 echo " "; // line 27 $context["item_classes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 27), "getOption", [0 => "container_attributes"], "method", false, false, true, 27), "class", [], "any", false, false, true, 27); // line 29 echo " "; // line 30 $context["item_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 31 $context["item"], "is_expanded", [], "any", false, false, true, 31) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 31))) ? ("expanded dropdown") : ("")), 1 => ((twig_get_attribute($this->env, $this->source, // line 32 $context["item"], "in_active_trail", [], "any", false, false, true, 32)) ? ("active active-trail") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 33 $context["loop"], "first", [], "any", false, false, true, 33)) ? ("first") : ("")), 3 => ((twig_get_attribute($this->env, $this->source, // line 34 $context["loop"], "last", [], "any", false, false, true, 34)) ? ("last") : (""))]; // line 37 echo " <li>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["item"], "attributes", [], "any", false, false, true, 37), "addClass", [0 => ($context["item_classes"] ?? null)], "method", false, false, true, 37), 37, $this->source), "html", null, true); echo "> "; // line 38 $context["link_title"] = twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 38); // line 39 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, $context["item"], "link_attributes", [], "any", false, false, true, 39); // line 40 echo " "; if ((((($context["menu_level"] ?? null) == 0) && twig_get_attribute($this->env, $this->source, $context["item"], "is_expanded", [], "any", false, false, true, 40)) && twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 40))) { // line 41 echo " "; ob_start(); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 41, $this->source), "html", null, true); echo " "; $context["link_title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; $context["link_attributes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => "dropdown-toggle"], "method", false, false, true, 42), "setAttribute", [0 => "data-toggle", 1 => "dropdown"], "method", false, false, true, 42); // line 43 echo " "; } // line 44 echo " "; // line 45 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->getLink($this->sandbox->ensureToStringAllowed(($context["link_title"] ?? null), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 45), 45, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["link_attributes"] ?? null), "addClass", [0 => ((twig_get_attribute($this->env, $this->source, $context["item"], "in_active_trail", [], "any", false, false, true, 45)) ? ("active-trail") : (""))], "method", false, false, true, 45), 45, $this->source)), "html", null, true); echo " "; // line 46 if (twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 46)) { // line 47 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_call_macro($macros["_self"], "macro_menu_links", [twig_get_attribute($this->env, $this->source, $context["item"], "below", [], "any", false, false, true, 47), twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "removeClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 47), (($context["menu_level"] ?? null) + 1), ($context["classes"] ?? null), ($context["dropdown_classes"] ?? null)], 47, $context, $this->getSourceContext())); echo " "; } // line 49 echo " </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 echo " </ul> "; } return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/menu/menu.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 51, 143 => 49, 137 => 47, 135 => 46, 130 => 45, 128 => 44, 125 => 43, 122 => 42, 116 => 41, 113 => 40, 110 => 39, 108 => 38, 103 => 37, 101 => 34, 100 => 33, 99 => 32, 98 => 31, 97 => 30, 95 => 29, 93 => 27, 91 => 26, 74 => 25, 69 => 24, 66 => 23, 49 => 22, 43 => 60, 40 => 54,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a menu. * * Available variables: * - classes: A list of classes to apply to the top level <ul> element. * - dropdown_classes: A list of classes to apply to the dropdown <ul> element. * - menu_name: The machine name of the menu. * - items: A nested list of menu items. Each menu item contains: * - attributes: HTML attributes for the menu item. * - below: The menu item child items. * - title: The menu link title. * - url: The menu link url, instance of \\Drupal\\Core\\Url * - localized_options: Menu link localized options. * * @ingroup templates * * Define a custom macro that will render all menu trees. */ #} {% macro menu_links(items, attributes, menu_level, classes, dropdown_classes) %} {% if items %} <ul level="=" classes> {% for item in items %} {% set item_classes = item.url.getOption('container_attributes').class %} {% set item_classes = [ item.is_expanded and item.below ? 'expanded dropdown', item.in_active_trail ? 'active active-trail', loop.first ? 'first', loop.last ? 'last', ] %} <li> {% set link_title = item.title %} {% set link_attributes = item.link_attributes %} {% if menu_level == 0 and item.is_expanded and item.below %} {% set link_title %}{{ link_title }} {% endset %} {% set link_attributes = link_attributes.addClass('dropdown-toggle').setAttribute('data-toggle', 'dropdown') %} {% endif %} {# Must use link() here so it triggers hook_link_alter(). #} {{ link(link_title, item.url, link_attributes.addClass(item.in_active_trail ? 'active-trail')) }} {% if item.below %} {{ _self.menu_links(item.below, attributes.removeClass(classes), menu_level + 1, classes, dropdown_classes) }} {% endif %} </li> {% endfor %} </ul> {% endif %} {% endmacro %} {# Invoke the custom macro defined above. If classes were provided, use them. This allows the template to be extended without having to also duplicate the code above. @see http://twig.sensiolabs.org/doc/tags/macro.html #} {{ _self.menu_links(items, attributes, 0, classes ?: ['menu', 'menu--' ~ menu_name|clean_class, 'nav'], dropdown_classes ?: ['dropdown-menu']) }} ", "themes/contrib/bootstrap/templates/menu/menu.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\menu\\menu.html.twig"); } public function checkSecurity() { static $tags = array("macro" => 22, "if" => 23, "for" => 25, "set" => 27); static $filters = array("clean_class" => 60, "escape" => 24); static $functions = array("link" => 45); try { $this->sandbox->checkSecurity( ['macro', 'if', 'for', 'set', 'import'], ['clean_class', 'escape'], ['link'] ); } 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: 352) Twig\Environment->loadTemplate('__TwigTemplate_8405ff8beb867f7adf995957646df173', 'themes/contrib/bootstrap/templates/menu/menu.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/menu/menu.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/menu/menu.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('menu', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 87) __TwigTemplate_20759dadf759ea48a1f7b47edcbba02f->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 75) __TwigTemplate_20759dadf759ea48a1f7b47edcbba02f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('core/modules/system/templates/block--system-menu-block.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array) (Line: 458) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 375) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->block_footer(Array, Array) (Line: 171) Twig\Template->displayBlock('footer', Array, Array) (Line: 74) __TwigTemplate_d8cd7175826f7c3d13b63831b9608968->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90) __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) 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: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)