Please see the ASC Press Release regarding the approved FY21 Budget.
Date
An official website of the United States government Here's how you know ⌄
A .gov website belongs to an official government organization in the United States.
A lock or https:// means you've safely connected to the .gov website.
Share sensitive information only on official, secure websites.
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('682586f38415f_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ', '<?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/webform/templates/webform-element-more.html.twig */ class __TwigTemplate_f0fac94187136ad20b078725045d0c20 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 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("webform/webform.element.more"), "html", null, true); echo " "; // line 20 $context["classes"] = [0 => "js-webform-element-more", 1 => "webform-element-more"]; // line 25 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, 25), 25, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 26), 26, $this->source), "html", null, true); echo "--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more_title"] ?? null), 26, $this->source), "html", null, true); echo "</a> extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 27), 27, $this->source), "html", null, true); echo "--content\" class=\"webform-element-more--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null), 27, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "modules/contrib/webform/templates/webform-element-more.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 56 => 27, 50 => 26, 45 => 25, 43 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme implementation for webform element more. * * Available variables * - title: More label. * - content: More content. * * Based on WAI-ARIA Authoring Practices 1.1: Disclosure (Show/Hide) * * @see https://www.w3.org/TR/wai-aria-practices-1.1/#disclosure * @see https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html * @see template_preprocess_webform_element_more() * @ingroup themeable */ #} {{ attach_library('webform/webform.element.more') }} {% set classes = [ 'js-webform-element-more', 'webform-element-more', ] %} <a>{{ more_title }}</a> {{ more }} ", "modules/contrib/webform/templates/webform-element-more.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\webform\\templates\\webform-element-more.html.twig"); } public function checkSecurity() { static $tags = array("set" => 20); static $filters = array("escape" => 18); static $functions = array("attach_library" => 18); try { $this->sandbox->checkSecurity( ['set'], ['escape'], ['attach_library'] ); } 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('682586f38415f_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ', '<?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/webform/templates/webform-element-more.html.twig */ class __TwigTemplate_f0fac94187136ad20b078725045d0c20 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 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("webform/webform.element.more"), "html", null, true); echo " "; // line 20 $context["classes"] = [0 => "js-webform-element-more", 1 => "webform-element-more"]; // line 25 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, 25), 25, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 26), 26, $this->source), "html", null, true); echo "--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more_title"] ?? null), 26, $this->source), "html", null, true); echo "</a> extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 27), 27, $this->source), "html", null, true); echo "--content\" class=\"webform-element-more--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null), 27, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "modules/contrib/webform/templates/webform-element-more.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 56 => 27, 50 => 26, 45 => 25, 43 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme implementation for webform element more. * * Available variables * - title: More label. * - content: More content. * * Based on WAI-ARIA Authoring Practices 1.1: Disclosure (Show/Hide) * * @see https://www.w3.org/TR/wai-aria-practices-1.1/#disclosure * @see https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html * @see template_preprocess_webform_element_more() * @ingroup themeable */ #} {{ attach_library('webform/webform.element.more') }} {% set classes = [ 'js-webform-element-more', 'webform-element-more', ] %} <a>{{ more_title }}</a> {{ more }} ", "modules/contrib/webform/templates/webform-element-more.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\webform\\templates\\webform-element-more.html.twig"); } public function checkSecurity() { static $tags = array("set" => 20); static $filters = array("escape" => 18); static $functions = array("attach_library" => 18); try { $this->sandbox->checkSecurity( ['set'], ['escape'], ['attach_library'] ); } 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_f0fac94187136ad20b078725045d0c20', 'modules/contrib/webform/templates/webform-element-more.html.twig') (Line: 312) Twig\Environment->load('modules/contrib/webform/templates/webform-element-more.html.twig') (Line: 53) twig_render_template('modules/contrib/webform/templates/webform-element-more.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('webform_element_more', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 160) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 161) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 1167) _webform_token_render_more(Object, 'Omit the '?' to output all values. Output all values as HTML using [webform_submission:values:html].To output individual elements, replace the '?' with…<ul><li>element_key</li><li>element_key:format</li><li>element_key:raw</li><li>element_key:format:items</li><li>element_key:delta</li><li>element_key:sub_element_key</li><li>element_key:delta:sub_element_key</li><li>element_key:sub_element_key:format</li><li>element_key:delta:sub_element_key:format</li><li>element_key:delta:format</li><li>element_key:delta:format:html</li><li>element_key:entity:*</li><li>element_key:delta:entity:*</li><li>element_key:delta:entity:field_name:*</li><li>element_key:sub_element_key:entity:*</li><li>element_key:sub_element_key:entity:field_name:*</li><li>element_key:delta:sub_element_key:entity:*</li><li>element_key:checked:option_value</li><li>element_key:selected:option_value</li></ul>All items after the 'element_key' are optional.The 'delta' is the numeric index for specific valueThe 'sub_element_key' is a composite element's sub element key.The 'checked' or 'selected' looks to see if an 'option_value' is checked or selected for an options element (select, checkboxes, or radios)The 'option_value' is options value for an options element (select, checkboxes, or radios).The 'format' can be 'value', 'raw', or custom format specifically associated with the elementThe 'items' can be 'comma', 'semicolon', 'and', 'ol', 'ul', or custom delimiterThe 'entity:*' applies to the referenced entityAdd 'html' at the end of the token to return HTML markup instead of plain text.For example, to display the Contact webform's 'Subject' element's value you would use the [webform_submission:values:subject] token.') (Line: 257) webform_token_info() call_user_func_array(Object, Array) (Line: 409) Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'webform') (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith('token_info', Object) (Line: 416) Drupal\Core\Extension\ModuleHandler->invokeAll('token_info') (Line: 40) Drupal\token\Token->getInfo() (Line: 99) Drupal\token\Token->getTokenInfo('node', 'url') (Line: 220) _token_module('node', 'url') (Line: 1055) token_tokens('node', Array, Array, Array, Object) call_user_func_array(Object, Array) (Line: 409) Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'token') (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith('tokens', Object) (Line: 416) Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 364) Drupal\Core\Utility\Token->generate('node', Array, Array, Array, Object) (Line: 241) Drupal\Core\Utility\Token->doReplace(1, '[node:url]', Array, Array, Object) (Line: 191) Drupal\Core\Utility\Token->replace('[node:url]', Array, Array, NULL) (Line: 66) Drupal\metatag\MetatagToken->replace('[node:url]', Array, Array) (Line: 789) Drupal\metatag\MetatagManager->processTagValue(Object, Array, Array, , 'en') (Line: 628) Drupal\metatag\MetatagManager->generateRawElements(Array, Object) (Line: 564) Drupal\metatag\MetatagManager->generateElements(Array, Object) (Line: 504) metatag_get_tags_from_route() (Line: 258) _metatag_remove_duplicate_entity_tags(Array) (Line: 218) metatag_entity_view_alter(Array, Object, Object) (Line: 545) Drupal\Core\Extension\ModuleHandler->alter('node_view', Array, Object, Object) (Line: 304) Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 238) Drupal\Core\Entity\EntityViewBuilder->build(Array) call_user_func_array(Array, Array) (Line: 111) 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: 797) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 386) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) 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)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('682586f38415f_region.html.twig_2KkPhIxUeGfA851IJMgX-gRpt', '<?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/asc/templates/region.html.twig */ class __TwigTemplate_b9318eec9820b556b7b9e51b72bc0941 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 18 $context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 20 ($context["region"] ?? null), 20, $this->source))), 2 => "clearfix"]; // line 24 if (($context["content"] ?? null)) { // line 25 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, 25), 25, $this->source), "html", null, true); echo "> "; // line 26 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 26, $this->source), "html", null, true); echo " "; } } public function getTemplateName() { return "themes/custom/asc/templates/region.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 49 => 26, 44 => 25, 42 => 24, 40 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override to display a region. * * Available variables: * - content: The content for this region, typically blocks. * - attributes: HTML attributes for the region div. * - region: The name of the region variable as defined in the theme's * .info.yml file. * * @ingroup templates * * @see template_preprocess_region() */ #} {% set classes = [ 'region', 'region-' ~ region|clean_class, \t'clearfix', ] %} {% if content %} {{ content }} {% endif %} ", "themes/custom/asc/templates/region.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\region.html.twig"); } public function checkSecurity() { static $tags = array("set" => 18, "if" => 24); static $filters = array("clean_class" => 20, "escape" => 25); 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('682586f38415f_region.html.twig_2KkPhIxUeGfA851IJMgX-gRpt', '<?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/asc/templates/region.html.twig */ class __TwigTemplate_b9318eec9820b556b7b9e51b72bc0941 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 18 $context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 20 ($context["region"] ?? null), 20, $this->source))), 2 => "clearfix"]; // line 24 if (($context["content"] ?? null)) { // line 25 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, 25), 25, $this->source), "html", null, true); echo "> "; // line 26 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 26, $this->source), "html", null, true); echo " "; } } public function getTemplateName() { return "themes/custom/asc/templates/region.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 49 => 26, 44 => 25, 42 => 24, 40 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override to display a region. * * Available variables: * - content: The content for this region, typically blocks. * - attributes: HTML attributes for the region div. * - region: The name of the region variable as defined in the theme's * .info.yml file. * * @ingroup templates * * @see template_preprocess_region() */ #} {% set classes = [ 'region', 'region-' ~ region|clean_class, \t'clearfix', ] %} {% if content %} {{ content }} {% endif %} ", "themes/custom/asc/templates/region.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\region.html.twig"); } public function checkSecurity() { static $tags = array("set" => 18, "if" => 24); static $filters = array("clean_class" => 20, "escape" => 25); 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: 352) Twig\Environment->loadTemplate('__TwigTemplate_b9318eec9820b556b7b9e51b72bc0941', 'themes/custom/asc/templates/region.html.twig') (Line: 312) Twig\Environment->load('themes/custom/asc/templates/region.html.twig') (Line: 53) twig_render_template('themes/custom/asc/templates/region.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 501) 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: 100) __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)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('682586f38415f_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('682586f38415f_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)