An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.ZJBc0rBBfc73yVpO4HrovKISw7Y,sites/default/files/php/twig/6a494bc597350_field--node--uid.html.twi_TQHxZZZ0GvMZJN67BMySVtKxS/gBkR0RJ0Gt9boK_4e9pPHkKWL_-lwrruRmieMETlH6Q.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('6a494bc597350_field--node--uid.html.twi_TQHxZZZ0GvMZJN67BMySVtKxS', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* core/modules/node/templates/field--node--uid.html.twig */ class __TwigTemplate_896600823be5409b0addbce5181cbdca 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 30 echo " "; // line 31 if ( !($context["is_inline"] ?? null)) { // line 32 echo " "; $this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--uid.html.twig", 32)->display($context); } else { // line 34 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true); echo ">"; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } } public function getTemplateName() { return "core/modules/node/templates/field--node--uid.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for the node user field. * * This is an override of field.html.twig for the node user field. See that * template for documentation about its details and overrides. * * Available variables: * - attributes: HTML attributes for the containing span element. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item content. * - entity_type: The entity type to which the field belongs. * - field_name: The name of the field. * - field_type: The type of the field. * - label_display: The display settings for the label. * - is_inline: If false, display an ordinary field. * If true, display an inline format, suitable for inside elements such as * , and so on. * * @see field.html.twig * @see node_preprocess_field__node() * * @ingroup themeable * * @todo Delete as part of https://www.drupal.org/node/3015623 */ #} {% if not is_inline %} {% include \"field.html.twig\" %} {% else %} {%- for item in items -%} {{ item.content }} {%- endfor -%} {% endif %} ", "core/modules/node/templates/field--node--uid.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\node\\templates\\field--node--uid.html.twig"); } public function checkSecurity() { static $tags = array("if" => 31, "include" => 32, "for" => 35); static $filters = array("escape" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'include', 'for'], ['escape'], [] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 112) Drupal\Core\Template\TwigPhpStorageCache->write('6a494bc597350_field--node--uid.html.twi_TQHxZZZ0GvMZJN67BMySVtKxS', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* core/modules/node/templates/field--node--uid.html.twig */ class __TwigTemplate_896600823be5409b0addbce5181cbdca 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 30 echo " "; // line 31 if ( !($context["is_inline"] ?? null)) { // line 32 echo " "; $this->loadTemplate("field.html.twig", "core/modules/node/templates/field--node--uid.html.twig", 32)->display($context); } else { // line 34 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true); echo ">"; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } } public function getTemplateName() { return "core/modules/node/templates/field--node--uid.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for the node user field. * * This is an override of field.html.twig for the node user field. See that * template for documentation about its details and overrides. * * Available variables: * - attributes: HTML attributes for the containing span element. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item content. * - entity_type: The entity type to which the field belongs. * - field_name: The name of the field. * - field_type: The type of the field. * - label_display: The display settings for the label. * - is_inline: If false, display an ordinary field. * If true, display an inline format, suitable for inside elements such as * , and so on. * * @see field.html.twig * @see node_preprocess_field__node() * * @ingroup themeable * * @todo Delete as part of https://www.drupal.org/node/3015623 */ #} {% if not is_inline %} {% include \"field.html.twig\" %} {% else %} {%- for item in items -%} {{ item.content }} {%- endfor -%} {% endif %} ", "core/modules/node/templates/field--node--uid.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\node\\templates\\field--node--uid.html.twig"); } public function checkSecurity() { static $tags = array("if" => 31, "include" => 32, "for" => 35); static $filters = array("escape" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'include', 'for'], ['escape'], [] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 352) Twig\Environment->loadTemplate('__TwigTemplate_896600823be5409b0addbce5181cbdca', 'core/modules/node/templates/field--node--uid.html.twig') (Line: 312) Twig\Environment->load('core/modules/node/templates/field--node--uid.html.twig') (Line: 53) twig_render_template('core/modules/node/templates/field--node--uid.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 552) template_preprocess_node(Array, 'node', Array) call_user_func_array('template_preprocess_node', Array) (Line: 285) Drupal\Core\Theme\ThemeManager->render('node', 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: 60) __TwigTemplate_0be3542e9f5ed5925a5bb9cc49cf0a19->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/views/views-view-unformatted.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_view_unformatted', 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: 83) __TwigTemplate_ec0567a8b245933d511166f2f65e282a->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/views/views-view.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_view', 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: 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) - Warning: rename(sites/default/files/php/twig/.VZ7KKo70Q0TlR32ew1cLUqPRVGU,sites/default/files/php/twig/6a494bc597350_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B/Wz9w15DytB1LY76_fsEgv_XFbIoMSz93KAbcpGh6X20.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('6a494bc597350_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B', '<?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/pager.html.twig */ class __TwigTemplate_4dc4228550ac8bbed4984be4a0573f90 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 34 if (($context["items"] ?? null)) { // line 35 echo " "; // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Pagination")); echo " <ul> "; // line 42 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 42)) { // line 43 echo " <li> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "href", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to previous page")); echo "\" rel=\"prev\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "attributes", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "> "; // line 45 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Previous page")); echo " "; // line 46 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("< Previous")); echo " </a> </li> "; } // line 50 echo " "; // line 52 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "pages", [], "any", false, false, true, 52)); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 53 echo " <li echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (" is-active active") : (""))); echo "\"> "; // line 54 if ((($context["current"] ?? null) == $context["key"])) { // line 55 echo " "; $context["title"] = t("Current page"); // line 56 echo " "; } else { // line 57 echo " "; $context["title"] = t("Go to page @key", ["@key" => $context["key"]]); // line 58 echo " "; } // line 59 echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 59, $this->source), "html", null, true); echo "\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "attributes", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "> "; // line 61 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (t("Current page")) : (t("Page")))); echo " "; // line 63 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 63, $this->source), "html", null, true); // line 64 echo "</a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 67 echo " "; // line 69 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 69)) { // line 70 echo " <li> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to next page")); echo "\" rel=\"next\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "attributes", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "> "; // line 72 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next page")); echo " "; // line 73 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next >")); echo " </a> </li> "; } // line 77 echo " </ul> "; } } public function getTemplateName() { return "themes/custom/asc/templates/pager.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 156 => 77, 149 => 73, 145 => 72, 137 => 71, 134 => 70, 131 => 69, 128 => 67, 120 => 64, 118 => 63, 114 => 61, 104 => 59, 101 => 58, 98 => 57, 95 => 56, 92 => 55, 90 => 54, 85 => 53, 80 => 52, 77 => 50, 70 => 46, 66 => 45, 58 => 44, 55 => 43, 52 => 42, 44 => 36, 41 => 35, 39 => 34,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a pager. * * Available variables: * - items: List of pager items. * The list is keyed by the following elements: * - first: Item for the first page; not present on the first page of results. * - previous: Item for the previous page; not present on the first page * of results. * - next: Item for the next page; not present on the last page of results. * - last: Item for the last page; not present on the last page of results. * - pages: List of pages, keyed by page number. * Sub-sub elements: * items.first, items.previous, items.next, items.last, and each item inside * items.pages contain the following elements: * - href: URL with appropriate query parameters for the item. * - attributes: A keyed list of HTML attributes for the item. * - text: The visible text used for the item link, such as \"‹ previous\" * or \"next ›\". * - current: The page number of the current page. * - ellipses: If there are more pages than the quantity allows, then an * ellipsis before or after the listed pages may be present. * - previous: Present if the currently visible list of pages does not start * at the first page. * - next: Present if the visible list of pages ends before the last page. * * @ingroup templates * * @see template_preprocess_pager() */ #} {% if items %} {{ 'Pagination'|t }} <ul> {# Print previous item if we are not on the first page. #} {% if items.previous %} <li> <a attributes> {{ 'Previous page'|t }} {{ '< Previous'|t }} </a> </li> {% endif %} {# Now generate the actual pager piece. #} {% for key, item in items.pages %} <li> {% if current == key %} {% set title = 'Current page'|t %} {% else %} {% set title = 'Go to page @key'|t({'@key': key}) %} {% endif %} <a attributes> {{ current == key ? 'Current page'|t : 'Page'|t }} {{- key -}} </a> </li> {% endfor %} {# Print next item if we are not on the last page. #} {% if items.next %} <li> <a attributes> {{ 'Next page'|t }} {{ 'Next >'|t }} </a> </li> {% endif %} </ul> {% endif %} ", "themes/custom/asc/templates/pager.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\pager.html.twig"); } public function checkSecurity() { static $tags = array("if" => 34, "for" => 52, "set" => 55); static $filters = array("t" => 36, "escape" => 44); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'for', 'set'], ['t', '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('6a494bc597350_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B', '<?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/pager.html.twig */ class __TwigTemplate_4dc4228550ac8bbed4984be4a0573f90 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 34 if (($context["items"] ?? null)) { // line 35 echo " "; // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Pagination")); echo " <ul> "; // line 42 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 42)) { // line 43 echo " <li> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "href", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to previous page")); echo "\" rel=\"prev\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "attributes", [], "any", false, false, true, 44), 44, $this->source), "html", null, true); echo "> "; // line 45 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Previous page")); echo " "; // line 46 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("< Previous")); echo " </a> </li> "; } // line 50 echo " "; // line 52 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "pages", [], "any", false, false, true, 52)); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 53 echo " <li echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (" is-active active") : (""))); echo "\"> "; // line 54 if ((($context["current"] ?? null) == $context["key"])) { // line 55 echo " "; $context["title"] = t("Current page"); // line 56 echo " "; } else { // line 57 echo " "; $context["title"] = t("Go to page @key", ["@key" => $context["key"]]); // line 58 echo " "; } // line 59 echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 59, $this->source), "html", null, true); echo "\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "attributes", [], "any", false, false, true, 59), 59, $this->source), "html", null, true); echo "> "; // line 61 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (t("Current page")) : (t("Page")))); echo " "; // line 63 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 63, $this->source), "html", null, true); // line 64 echo "</a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 67 echo " "; // line 69 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 69)) { // line 70 echo " <li> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "\" title=\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to next page")); echo "\" rel=\"next\""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "attributes", [], "any", false, false, true, 71), 71, $this->source), "html", null, true); echo "> "; // line 72 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next page")); echo " "; // line 73 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next >")); echo " </a> </li> "; } // line 77 echo " </ul> "; } } public function getTemplateName() { return "themes/custom/asc/templates/pager.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 156 => 77, 149 => 73, 145 => 72, 137 => 71, 134 => 70, 131 => 69, 128 => 67, 120 => 64, 118 => 63, 114 => 61, 104 => 59, 101 => 58, 98 => 57, 95 => 56, 92 => 55, 90 => 54, 85 => 53, 80 => 52, 77 => 50, 70 => 46, 66 => 45, 58 => 44, 55 => 43, 52 => 42, 44 => 36, 41 => 35, 39 => 34,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a pager. * * Available variables: * - items: List of pager items. * The list is keyed by the following elements: * - first: Item for the first page; not present on the first page of results. * - previous: Item for the previous page; not present on the first page * of results. * - next: Item for the next page; not present on the last page of results. * - last: Item for the last page; not present on the last page of results. * - pages: List of pages, keyed by page number. * Sub-sub elements: * items.first, items.previous, items.next, items.last, and each item inside * items.pages contain the following elements: * - href: URL with appropriate query parameters for the item. * - attributes: A keyed list of HTML attributes for the item. * - text: The visible text used for the item link, such as \"‹ previous\" * or \"next ›\". * - current: The page number of the current page. * - ellipses: If there are more pages than the quantity allows, then an * ellipsis before or after the listed pages may be present. * - previous: Present if the currently visible list of pages does not start * at the first page. * - next: Present if the visible list of pages ends before the last page. * * @ingroup templates * * @see template_preprocess_pager() */ #} {% if items %} {{ 'Pagination'|t }} <ul> {# Print previous item if we are not on the first page. #} {% if items.previous %} <li> <a attributes> {{ 'Previous page'|t }} {{ '< Previous'|t }} </a> </li> {% endif %} {# Now generate the actual pager piece. #} {% for key, item in items.pages %} <li> {% if current == key %} {% set title = 'Current page'|t %} {% else %} {% set title = 'Go to page @key'|t({'@key': key}) %} {% endif %} <a attributes> {{ current == key ? 'Current page'|t : 'Page'|t }} {{- key -}} </a> </li> {% endfor %} {# Print next item if we are not on the last page. #} {% if items.next %} <li> <a attributes> {{ 'Next page'|t }} {{ 'Next >'|t }} </a> </li> {% endif %} </ul> {% endif %} ", "themes/custom/asc/templates/pager.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\pager.html.twig"); } public function checkSecurity() { static $tags = array("if" => 34, "for" => 52, "set" => 55); static $filters = array("t" => 36, "escape" => 44); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'for', 'set'], ['t', '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_4dc4228550ac8bbed4984be4a0573f90', 'themes/custom/asc/templates/pager.html.twig') (Line: 312) Twig\Environment->load('themes/custom/asc/templates/pager.html.twig') (Line: 53) twig_render_template('themes/custom/asc/templates/pager.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('pager', 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: 95) __TwigTemplate_ec0567a8b245933d511166f2f65e282a->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/views/views-view.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_view', 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: 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)
