An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.ULcla8T1dAmCNjwHIxNvADGCXGk,sites/default/files/php/twig/6768e0ca7e58b_field--node--title.html.t_yQQ7EOR_9aSRF1PYwneKZxfGn/3iLjHvqCJE1x9Ox3529AutwUGn811xjs4dWwR9SdP6w.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('6768e0ca7e58b_field--node--title.html.t_yQQ7EOR_9aSRF1PYwneKZxfGn', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* core/modules/node/templates/field--node--title.html.twig */ class __TwigTemplate_8868dcc8ee86a18d1043679a7f128f92 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--title.html.twig", 32)->display($context); } else { // line 34 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true); echo ">"; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } } public function getTemplateName() { return "core/modules/node/templates/field--node--title.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for the node title field. * * This is an override of field.html.twig for the node title 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--title.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\node\\templates\\field--node--title.html.twig"); } public function checkSecurity() { static $tags = array("if" => 31, "include" => 32, "for" => 35); static $filters = array("escape" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'include', 'for'], ['escape'], [] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 112) Drupal\Core\Template\TwigPhpStorageCache->write('6768e0ca7e58b_field--node--title.html.t_yQQ7EOR_9aSRF1PYwneKZxfGn', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* core/modules/node/templates/field--node--title.html.twig */ class __TwigTemplate_8868dcc8ee86a18d1043679a7f128f92 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--title.html.twig", 32)->display($context); } else { // line 34 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true); echo ">"; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } } public function getTemplateName() { return "core/modules/node/templates/field--node--title.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for the node title field. * * This is an override of field.html.twig for the node title 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--title.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\node\\templates\\field--node--title.html.twig"); } public function checkSecurity() { static $tags = array("if" => 31, "include" => 32, "for" => 35); static $filters = array("escape" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'include', 'for'], ['escape'], [] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 352) Twig\Environment->loadTemplate('__TwigTemplate_8868dcc8ee86a18d1043679a7f128f92', 'core/modules/node/templates/field--node--title.html.twig') (Line: 312) Twig\Environment->load('core/modules/node/templates/field--node--title.html.twig') (Line: 53) twig_render_template('core/modules/node/templates/field--node--title.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: 110) Drupal\Core\Entity\Controller\EntityViewController->buildTitle(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)
- Warning: rename(sites/default/files/php/twig/.MLCeoNnf2QYWf0bT2KroXVK_So4,sites/default/files/php/twig/6768e0ca7e58b_node.html.twig_CJ8KHB2G88EDlwCezC0m4LnL4/5k5FwLXNWrsYzp9Xb-oo1jfvr7HAgwSG23HgaU9Salw.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('6768e0ca7e58b_node.html.twig_CJ8KHB2G88EDlwCezC0m4LnL4', '<?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/node/node.html.twig */ class __TwigTemplate_68c7b2f3b08ba12997554e38ffac9a85 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 68 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("core/drupal.dialog.ajax"), "html", null, true); echo " "; // line 70 $context["classes"] = [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, // line 71 ($context["node"] ?? null), "bundle", [], "any", false, false, true, 71), 71, $this->source)), 1 => ((twig_get_attribute($this->env, $this->source, // line 72 ($context["node"] ?? null), "isPromoted", [], "method", false, false, true, 72)) ? ("is-promoted") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 73 ($context["node"] ?? null), "isSticky", [], "method", false, false, true, 73)) ? ("is-sticky") : ("")), 3 => (( !twig_get_attribute($this->env, $this->source, // line 74 ($context["node"] ?? null), "isPublished", [], "method", false, false, true, 74)) ? ("is-unpublished") : ("")), 4 => (( // line 75 ($context["view_mode"] ?? null)) ? (\Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["view_mode"] ?? null), 75, $this->source))) : ("")), 5 => "clearfix"]; // line 79 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, 79), 79, $this->source), "html", null, true); echo "> "; // line 81 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null), 81, $this->source), "html", null, true); echo " "; // line 82 if ((($context["label"] ?? null) && !($context["page"] ?? null))) { // line 83 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null), 83, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url"] ?? null), 84, $this->source), "html", null, true); echo "\" rel=\"bookmark\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 84, $this->source), "html", null, true); echo "</a> "; } // line 87 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null), 87, $this->source), "html", null, true); echo " "; // line 89 if (($context["display_submitted"] ?? null)) { // line 90 echo " "; // line 91 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["author_picture"] ?? null), 91, $this->source), "html", null, true); echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["author_attributes"] ?? null), "addClass", [0 => "author"], "method", false, false, true, 92), 92, $this->source), "html", null, true); echo "> "; // line 93 echo t("Submitted by @author_name on @date", array("@author_name" => ($context["author_name"] ?? null), "@date" => ($context["date"] ?? null), )); // line 94 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["metadata"] ?? null), 94, $this->source), "html", null, true); echo " "; } // line 98 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => "content"], "method", false, false, true, 99), 99, $this->source), "html", null, true); echo "> "; // line 100 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 100, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "themes/contrib/bootstrap/templates/node/node.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 111 => 100, 107 => 99, 104 => 98, 96 => 94, 94 => 93, 90 => 92, 86 => 91, 83 => 90, 81 => 89, 75 => 87, 67 => 84, 62 => 83, 60 => 82, 56 => 81, 50 => 79, 48 => 75, 47 => 74, 46 => 73, 45 => 72, 44 => 71, 43 => 70, 39 => 68,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override to display a node. * * Available variables: * - node: The node entity with limited access to object properties and methods. Only \"getter\" methods (method names starting with \"get\", \"has\", or \"is\") and a few common methods such as \"id\" and \"label\" are available. Calling other methods (such as node.delete) will result in an exception. * - label: (optional) The title of the node. * - content: All node items. Use {{ content }} to print them all, * or print a subset such as {{ content.field_example }}. Use * {{ content|without('field_example') }} to temporarily suppress the printing * of a given child element. * - author_picture: The node author user entity, rendered using the \"compact\" * view mode. * - metadata: Metadata for this node. * - date: (optional) Themed creation date field. * - author_name: (optional) Themed author name field. * - url: Direct URL of the current node. * - display_submitted: Whether submission information should be displayed. * - attributes: HTML attributes for the containing element. * The attributes.class element may contain one or more of the following * classes: * - node: The current template type (also known as a \"theming hook\"). * - node--type-[type]: The current node type. For example, if the node is an * \"Article\" it would result in \"node--type-article\". Note that the machine * name will often be in a short form of the human readable label. * - node--view-mode-[view_mode]: The View Mode of the node; for example, a * teaser would result in: \"node--view-mode-teaser\", and * full: \"node--view-mode-full\". * The following are controlled through the node publishing options. * - node--promoted: Appears on nodes promoted to the front page. * - node--sticky: Appears on nodes ordered above other non-sticky nodes in * teaser listings. * - node--unpublished: Appears on unpublished nodes visible only to site * admins. * - title_attributes: Same as attributes, except applied to the main title * tag that appears in the template. * - content_attributes: Same as attributes, except applied to the main * content tag that appears in the template. * - author_attributes: Same as attributes, except applied to the author of * the node tag that appears in the template. * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * - view_mode: View mode; for example, \"teaser\" or \"full\". * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. * - page: Flag for the full page state. Will be true if view_mode is 'full'. * - readmore: Flag for more state. Will be true if the teaser content of the * node cannot hold the main body content. * - logged_in: Flag for authenticated user status. Will be true when the * current user is a logged-in member. * - is_admin: Flag for admin user status. Will be true when the current user * is an administrator. * * @ingroup templates * * @see template_preprocess_node() * * @todo Remove the id attribute (or make it a class), because if that gets * rendered twice on a page this is invalid CSS for example: two lists * in different view modes. */ #} {{ attach_library('core/drupal.dialog.ajax') }} {% set classes = [ node.bundle|clean_class, node.isPromoted() ? 'is-promoted', node.isSticky() ? 'is-sticky', not node.isPublished() ? 'is-unpublished', view_mode ? view_mode|clean_class, 'clearfix', ] %} {{ title_prefix }} {% if label and not page %} <a>{{ label }}</a> {% endif %} {{ title_suffix }} {% if display_submitted %} {{ author_picture }} {% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %} {{ metadata }} {% endif %} {{ content }} ", "themes/contrib/bootstrap/templates/node/node.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\node\\node.html.twig"); } public function checkSecurity() { static $tags = array("set" => 70, "if" => 82, "trans" => 93); static $filters = array("escape" => 68, "clean_class" => 71); static $functions = array("attach_library" => 68); try { $this->sandbox->checkSecurity( ['set', 'if', 'trans'], ['escape', 'clean_class'], ['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('6768e0ca7e58b_node.html.twig_CJ8KHB2G88EDlwCezC0m4LnL4', '<?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/node/node.html.twig */ class __TwigTemplate_68c7b2f3b08ba12997554e38ffac9a85 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 68 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("core/drupal.dialog.ajax"), "html", null, true); echo " "; // line 70 $context["classes"] = [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, // line 71 ($context["node"] ?? null), "bundle", [], "any", false, false, true, 71), 71, $this->source)), 1 => ((twig_get_attribute($this->env, $this->source, // line 72 ($context["node"] ?? null), "isPromoted", [], "method", false, false, true, 72)) ? ("is-promoted") : ("")), 2 => ((twig_get_attribute($this->env, $this->source, // line 73 ($context["node"] ?? null), "isSticky", [], "method", false, false, true, 73)) ? ("is-sticky") : ("")), 3 => (( !twig_get_attribute($this->env, $this->source, // line 74 ($context["node"] ?? null), "isPublished", [], "method", false, false, true, 74)) ? ("is-unpublished") : ("")), 4 => (( // line 75 ($context["view_mode"] ?? null)) ? (\Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["view_mode"] ?? null), 75, $this->source))) : ("")), 5 => "clearfix"]; // line 79 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, 79), 79, $this->source), "html", null, true); echo "> "; // line 81 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null), 81, $this->source), "html", null, true); echo " "; // line 82 if ((($context["label"] ?? null) && !($context["page"] ?? null))) { // line 83 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null), 83, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["url"] ?? null), 84, $this->source), "html", null, true); echo "\" rel=\"bookmark\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 84, $this->source), "html", null, true); echo "</a> "; } // line 87 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null), 87, $this->source), "html", null, true); echo " "; // line 89 if (($context["display_submitted"] ?? null)) { // line 90 echo " "; // line 91 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["author_picture"] ?? null), 91, $this->source), "html", null, true); echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["author_attributes"] ?? null), "addClass", [0 => "author"], "method", false, false, true, 92), 92, $this->source), "html", null, true); echo "> "; // line 93 echo t("Submitted by @author_name on @date", array("@author_name" => ($context["author_name"] ?? null), "@date" => ($context["date"] ?? null), )); // line 94 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["metadata"] ?? null), 94, $this->source), "html", null, true); echo " "; } // line 98 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => "content"], "method", false, false, true, 99), 99, $this->source), "html", null, true); echo "> "; // line 100 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 100, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "themes/contrib/bootstrap/templates/node/node.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 111 => 100, 107 => 99, 104 => 98, 96 => 94, 94 => 93, 90 => 92, 86 => 91, 83 => 90, 81 => 89, 75 => 87, 67 => 84, 62 => 83, 60 => 82, 56 => 81, 50 => 79, 48 => 75, 47 => 74, 46 => 73, 45 => 72, 44 => 71, 43 => 70, 39 => 68,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override to display a node. * * Available variables: * - node: The node entity with limited access to object properties and methods. Only \"getter\" methods (method names starting with \"get\", \"has\", or \"is\") and a few common methods such as \"id\" and \"label\" are available. Calling other methods (such as node.delete) will result in an exception. * - label: (optional) The title of the node. * - content: All node items. Use {{ content }} to print them all, * or print a subset such as {{ content.field_example }}. Use * {{ content|without('field_example') }} to temporarily suppress the printing * of a given child element. * - author_picture: The node author user entity, rendered using the \"compact\" * view mode. * - metadata: Metadata for this node. * - date: (optional) Themed creation date field. * - author_name: (optional) Themed author name field. * - url: Direct URL of the current node. * - display_submitted: Whether submission information should be displayed. * - attributes: HTML attributes for the containing element. * The attributes.class element may contain one or more of the following * classes: * - node: The current template type (also known as a \"theming hook\"). * - node--type-[type]: The current node type. For example, if the node is an * \"Article\" it would result in \"node--type-article\". Note that the machine * name will often be in a short form of the human readable label. * - node--view-mode-[view_mode]: The View Mode of the node; for example, a * teaser would result in: \"node--view-mode-teaser\", and * full: \"node--view-mode-full\". * The following are controlled through the node publishing options. * - node--promoted: Appears on nodes promoted to the front page. * - node--sticky: Appears on nodes ordered above other non-sticky nodes in * teaser listings. * - node--unpublished: Appears on unpublished nodes visible only to site * admins. * - title_attributes: Same as attributes, except applied to the main title * tag that appears in the template. * - content_attributes: Same as attributes, except applied to the main * content tag that appears in the template. * - author_attributes: Same as attributes, except applied to the author of * the node tag that appears in the template. * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * - view_mode: View mode; for example, \"teaser\" or \"full\". * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. * - page: Flag for the full page state. Will be true if view_mode is 'full'. * - readmore: Flag for more state. Will be true if the teaser content of the * node cannot hold the main body content. * - logged_in: Flag for authenticated user status. Will be true when the * current user is a logged-in member. * - is_admin: Flag for admin user status. Will be true when the current user * is an administrator. * * @ingroup templates * * @see template_preprocess_node() * * @todo Remove the id attribute (or make it a class), because if that gets * rendered twice on a page this is invalid CSS for example: two lists * in different view modes. */ #} {{ attach_library('core/drupal.dialog.ajax') }} {% set classes = [ node.bundle|clean_class, node.isPromoted() ? 'is-promoted', node.isSticky() ? 'is-sticky', not node.isPublished() ? 'is-unpublished', view_mode ? view_mode|clean_class, 'clearfix', ] %} {{ title_prefix }} {% if label and not page %} <a>{{ label }}</a> {% endif %} {{ title_suffix }} {% if display_submitted %} {{ author_picture }} {% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %} {{ metadata }} {% endif %} {{ content }} ", "themes/contrib/bootstrap/templates/node/node.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\node\\node.html.twig"); } public function checkSecurity() { static $tags = array("set" => 70, "if" => 82, "trans" => 93); static $filters = array("escape" => 68, "clean_class" => 71); static $functions = array("attach_library" => 68); try { $this->sandbox->checkSecurity( ['set', 'if', 'trans'], ['escape', 'clean_class'], ['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_68c7b2f3b08ba12997554e38ffac9a85', 'themes/contrib/bootstrap/templates/node/node.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/node/node.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/node/node.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 445) 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)