Document Type
Content Date
Is Public Record?
Yes
Content Access
Public
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('6802be6b2d9dc_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('6802be6b2d9dc_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', 'field_meta_title') (Line: 220) _token_module('node', 'field_meta_title') (Line: 1751) _field_tokens('entity', Array, Array, Array, Object) (Line: 503) token_tokens('entity', 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('entity', Array, Array, Array, Object) (Line: 1094) 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:field_meta_title]', Array, Array, Object) (Line: 191) Drupal\Core\Utility\Token->replace('[node:field_meta_title]', Array, Array, NULL) (Line: 66) Drupal\metatag\MetatagToken->replace('[node:field_meta_title]', 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('6802be6b2d9dc_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('6802be6b2d9dc_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)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6802be6b2d9dc_field--node--created.html_ysRWNOVsUfAql7CLYRymrO2vf', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* core/modules/node/templates/field--node--created.html.twig */ class __TwigTemplate_552f39679c522493888f01fdcbad2fbd 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--created.html.twig", 32)->display($context); } else { // line 34 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true); echo ">"; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } } public function getTemplateName() { return "core/modules/node/templates/field--node--created.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for the node created field. * * This is an override of field.html.twig for the node created 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--created.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\node\\templates\\field--node--created.html.twig"); } public function checkSecurity() { static $tags = array("if" => 31, "include" => 32, "for" => 35); static $filters = array("escape" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'include', 'for'], ['escape'], [] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 112) Drupal\Core\Template\TwigPhpStorageCache->write('6802be6b2d9dc_field--node--created.html_ysRWNOVsUfAql7CLYRymrO2vf', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* core/modules/node/templates/field--node--created.html.twig */ class __TwigTemplate_552f39679c522493888f01fdcbad2fbd 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--created.html.twig", 32)->display($context); } else { // line 34 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null), 34, $this->source), "html", null, true); echo ">"; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 36 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, true, 36), 36, $this->source), "html", null, true); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } } public function getTemplateName() { return "core/modules/node/templates/field--node--created.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 38, 56 => 36, 52 => 35, 48 => 34, 44 => 32, 42 => 31, 39 => 30,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for the node created field. * * This is an override of field.html.twig for the node created 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--created.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\node\\templates\\field--node--created.html.twig"); } public function checkSecurity() { static $tags = array("if" => 31, "include" => 32, "for" => 35); static $filters = array("escape" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['if', 'include', 'for'], ['escape'], [] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 352) Twig\Environment->loadTemplate('__TwigTemplate_552f39679c522493888f01fdcbad2fbd', 'core/modules/node/templates/field--node--created.html.twig') (Line: 312) Twig\Environment->load('core/modules/node/templates/field--node--created.html.twig') (Line: 53) twig_render_template('core/modules/node/templates/field--node--created.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: 550) 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: 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('6802be6b2d9dc_field.html.twig_mCeI5YQtX96oS91bMw0qnf6p_', '<?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/field/field.html.twig */ class __TwigTemplate_a47e6ee48a1de9806436a18067b80852 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 42 $context["classes"] = [0 => "field", 1 => ("field--name-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 44 ($context["field_name"] ?? null), 44, $this->source))), 2 => ("field--type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 45 ($context["field_type"] ?? null), 45, $this->source))), 3 => ("field--label-" . $this->sandbox->ensureToStringAllowed( // line 46 ($context["label_display"] ?? null), 46, $this->source))]; // line 50 $context["title_classes"] = [0 => "field--label", 1 => ((( // line 52 ($context["label_display"] ?? null) == "visually_hidden")) ? ("sr-only") : (""))]; // line 55 echo " "; // line 56 if (($context["label_hidden"] ?? null)) { // line 57 echo " "; if (($context["multiple"] ?? null)) { // line 58 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), 1 => "field--items"], "method", false, false, true, 58), 58, $this->source), "html", null, true); echo "> "; // line 59 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 60 echo " 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, 60), "addClass", [0 => "field--item"], "method", false, false, true, 60), 60, $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"], "content", [], "any", false, false, true, 60), 60, $this->source), "html", null, true); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 62 echo " "; } else { // line 64 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 65 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), 1 => "field--item"], "method", false, false, true, 65), 65, $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"], "content", [], "any", false, false, true, 65), 65, $this->source), "html", null, true); echo " "; } $_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 " "; } } else { // line 69 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, 69), 69, $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["title_attributes"] ?? null), "addClass", [0 => ($context["title_classes"] ?? null)], "method", false, false, true, 70), 70, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 70, $this->source), "html", null, true); echo " "; // line 71 if (($context["multiple"] ?? null)) { // line 72 echo " "; } // line 74 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 75 echo " 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, 75), "addClass", [0 => "field--item"], "method", false, false, true, 75), 75, $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"], "content", [], "any", false, false, true, 75), 75, $this->source), "html", null, true); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 77 echo " "; if (($context["multiple"] ?? null)) { // line 78 echo " "; } // line 80 echo " "; } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/field/field.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 139 => 80, 135 => 78, 132 => 77, 121 => 75, 116 => 74, 112 => 72, 110 => 71, 104 => 70, 99 => 69, 95 => 67, 84 => 65, 79 => 64, 75 => 62, 64 => 60, 60 => 59, 55 => 58, 52 => 57, 50 => 56, 47 => 55, 45 => 52, 44 => 50, 42 => 46, 41 => 45, 40 => 44, 39 => 42,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override for a field. * * To override output, copy the \"field.html.twig\" from the templates directory * to your theme's directory and customize it, just like customizing other * Drupal templates such as page.html.twig or node.html.twig. * * Instead of overriding the theming for all fields, you can also just override * theming for a subset of fields using * @link themeable Theme hook suggestions. @endlink For example, * here are some theme hook suggestions that can be used for a field_foo field * on an article node type: * - field--node--field-foo--article.html.twig * - field--node--field-foo.html.twig * - field--node--article.html.twig * - field--field-foo.html.twig * - field--text-with-summary.html.twig * - field.html.twig * * Available variables: * - attributes: HTML attributes for the containing element. * - label_hidden: Whether to show the field label or not. * - title_attributes: HTML attributes for the title. * - label: The label for the field. * - multiple: TRUE if a field can contain multiple items. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item's 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. * * @ingroup templates * * @see template_preprocess_field() */ #} {% set classes = [ 'field', 'field--name-' ~ field_name|clean_class, 'field--type-' ~ field_type|clean_class, 'field--label-' ~ label_display, ] %} {% set title_classes = [ 'field--label', label_display == 'visually_hidden' ? 'sr-only', ] %} {% if label_hidden %} {% if multiple %} {% for item in items %} {{ item.content }} {% endfor %} {% else %} {% for item in items %} {{ item.content }} {% endfor %} {% endif %} {% else %} {{ label }} {% if multiple %} {% endif %} {% for item in items %} {{ item.content }} {% endfor %} {% if multiple %} {% endif %} {% endif %} ", "themes/contrib/bootstrap/templates/field/field.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\field\\field.html.twig"); } public function checkSecurity() { static $tags = array("set" => 42, "if" => 56, "for" => 59); static $filters = array("clean_class" => 44, "escape" => 58); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'if', 'for'], ['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('6802be6b2d9dc_field.html.twig_mCeI5YQtX96oS91bMw0qnf6p_', '<?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/field/field.html.twig */ class __TwigTemplate_a47e6ee48a1de9806436a18067b80852 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 42 $context["classes"] = [0 => "field", 1 => ("field--name-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 44 ($context["field_name"] ?? null), 44, $this->source))), 2 => ("field--type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 45 ($context["field_type"] ?? null), 45, $this->source))), 3 => ("field--label-" . $this->sandbox->ensureToStringAllowed( // line 46 ($context["label_display"] ?? null), 46, $this->source))]; // line 50 $context["title_classes"] = [0 => "field--label", 1 => ((( // line 52 ($context["label_display"] ?? null) == "visually_hidden")) ? ("sr-only") : (""))]; // line 55 echo " "; // line 56 if (($context["label_hidden"] ?? null)) { // line 57 echo " "; if (($context["multiple"] ?? null)) { // line 58 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), 1 => "field--items"], "method", false, false, true, 58), 58, $this->source), "html", null, true); echo "> "; // line 59 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 60 echo " 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, 60), "addClass", [0 => "field--item"], "method", false, false, true, 60), 60, $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"], "content", [], "any", false, false, true, 60), 60, $this->source), "html", null, true); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 62 echo " "; } else { // line 64 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 65 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), 1 => "field--item"], "method", false, false, true, 65), 65, $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"], "content", [], "any", false, false, true, 65), 65, $this->source), "html", null, true); echo " "; } $_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 " "; } } else { // line 69 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, 69), 69, $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["title_attributes"] ?? null), "addClass", [0 => ($context["title_classes"] ?? null)], "method", false, false, true, 70), 70, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 70, $this->source), "html", null, true); echo " "; // line 71 if (($context["multiple"] ?? null)) { // line 72 echo " "; } // line 74 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 75 echo " 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, 75), "addClass", [0 => "field--item"], "method", false, false, true, 75), 75, $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"], "content", [], "any", false, false, true, 75), 75, $this->source), "html", null, true); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 77 echo " "; if (($context["multiple"] ?? null)) { // line 78 echo " "; } // line 80 echo " "; } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/field/field.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 139 => 80, 135 => 78, 132 => 77, 121 => 75, 116 => 74, 112 => 72, 110 => 71, 104 => 70, 99 => 69, 95 => 67, 84 => 65, 79 => 64, 75 => 62, 64 => 60, 60 => 59, 55 => 58, 52 => 57, 50 => 56, 47 => 55, 45 => 52, 44 => 50, 42 => 46, 41 => 45, 40 => 44, 39 => 42,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override for a field. * * To override output, copy the \"field.html.twig\" from the templates directory * to your theme's directory and customize it, just like customizing other * Drupal templates such as page.html.twig or node.html.twig. * * Instead of overriding the theming for all fields, you can also just override * theming for a subset of fields using * @link themeable Theme hook suggestions. @endlink For example, * here are some theme hook suggestions that can be used for a field_foo field * on an article node type: * - field--node--field-foo--article.html.twig * - field--node--field-foo.html.twig * - field--node--article.html.twig * - field--field-foo.html.twig * - field--text-with-summary.html.twig * - field.html.twig * * Available variables: * - attributes: HTML attributes for the containing element. * - label_hidden: Whether to show the field label or not. * - title_attributes: HTML attributes for the title. * - label: The label for the field. * - multiple: TRUE if a field can contain multiple items. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item's 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. * * @ingroup templates * * @see template_preprocess_field() */ #} {% set classes = [ 'field', 'field--name-' ~ field_name|clean_class, 'field--type-' ~ field_type|clean_class, 'field--label-' ~ label_display, ] %} {% set title_classes = [ 'field--label', label_display == 'visually_hidden' ? 'sr-only', ] %} {% if label_hidden %} {% if multiple %} {% for item in items %} {{ item.content }} {% endfor %} {% else %} {% for item in items %} {{ item.content }} {% endfor %} {% endif %} {% else %} {{ label }} {% if multiple %} {% endif %} {% for item in items %} {{ item.content }} {% endfor %} {% if multiple %} {% endif %} {% endif %} ", "themes/contrib/bootstrap/templates/field/field.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\field\\field.html.twig"); } public function checkSecurity() { static $tags = array("set" => 42, "if" => 56, "for" => 59); static $filters = array("clean_class" => 44, "escape" => 58); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'if', 'for'], ['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_a47e6ee48a1de9806436a18067b80852', 'themes/contrib/bootstrap/templates/field/field.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/field/field.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/field/field.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('field', 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: 111) __TwigTemplate_68c7b2f3b08ba12997554e38ffac9a85->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/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)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6802be6b2d9dc_file-link.html.twig_vCA143AYwYL_6o8-frrOtQ0BC', '<?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/file/file-link.html.twig */ class __TwigTemplate_5c95be50c32306deebfaf046cb914b9b 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 ob_start(); // line 19 echo " "; // line 20 $context["classes"] = [0 => (( // line 21 ($context["icon_only"] ?? null)) ? ("icon-only") : ("")), 1 => (( ! // line 22 ($context["icon_only"] ?? null)) ? (("icon-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["icon_position"] ?? null), 22, $this->source)))) : (""))]; // 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 if (($context["icon_only"] ?? null)) { // line 27 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 27, $this->source), "html", null, true); echo " "; // line 29 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link"] ?? null), 29, $this->source), "html", null, true); echo " "; // line 30 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["file_size"] ?? null), 30, $this->source), "html", null, true); echo " "; } else { // line 33 echo " "; if ((($context["icon_position"] ?? null) == "after")) { // line 34 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link"] ?? null), 34, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["file_size"] ?? null), 34, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 34, $this->source), "html", null, true); echo " "; } else { // line 36 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 36, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link"] ?? null), 36, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["file_size"] ?? null), 36, $this->source), "html", null, true); echo " "; } // line 38 echo " "; } // line 39 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_0_)); } public function getTemplateName() { return "themes/contrib/bootstrap/templates/file/file-link.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 100 => 18, 96 => 39, 93 => 38, 83 => 36, 73 => 34, 70 => 33, 64 => 30, 60 => 29, 54 => 27, 52 => 26, 47 => 25, 45 => 22, 44 => 21, 43 => 20, 41 => 19, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override for a link to a file. * * Available variables: * - attributes: The HTML attributes for the containing element. * - link: A link to the file. * - icon: An icon. * - icon_only: Flag to display only the icon and not the label. * - icon_position: Where an icon should be displayed. * * @ingroup templates * * @see \\Drupal\\bootstrap\\Plugin\\Preprocess\\FileLink::preprocessVariables */ #} {% apply spaceless %} {% set classes = [ icon_only ? 'icon-only', not icon_only ? 'icon-' ~ icon_position|clean_class ] %} {% if icon_only %} {{ icon }} {{ link }} {{ file_size }} {% else %} {% if icon_position == 'after' %} {{ link }}{{ file_size }}{{ icon }} {% else %} {{ icon }}{{ link }}{{ file_size }} {% endif %} {% endif %} {% endapply %} ", "themes/contrib/bootstrap/templates/file/file-link.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\file\\file-link.html.twig"); } public function checkSecurity() { static $tags = array("apply" => 18, "set" => 20, "if" => 26); static $filters = array("clean_class" => 22, "escape" => 25, "spaceless" => 18); static $functions = array(); try { $this->sandbox->checkSecurity( ['apply', 'set', 'if'], ['clean_class', 'escape', 'spaceless'], [] ); } 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('6802be6b2d9dc_file-link.html.twig_vCA143AYwYL_6o8-frrOtQ0BC', '<?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/file/file-link.html.twig */ class __TwigTemplate_5c95be50c32306deebfaf046cb914b9b 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 ob_start(); // line 19 echo " "; // line 20 $context["classes"] = [0 => (( // line 21 ($context["icon_only"] ?? null)) ? ("icon-only") : ("")), 1 => (( ! // line 22 ($context["icon_only"] ?? null)) ? (("icon-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["icon_position"] ?? null), 22, $this->source)))) : (""))]; // 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 if (($context["icon_only"] ?? null)) { // line 27 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 27, $this->source), "html", null, true); echo " "; // line 29 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link"] ?? null), 29, $this->source), "html", null, true); echo " "; // line 30 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["file_size"] ?? null), 30, $this->source), "html", null, true); echo " "; } else { // line 33 echo " "; if ((($context["icon_position"] ?? null) == "after")) { // line 34 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link"] ?? null), 34, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["file_size"] ?? null), 34, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 34, $this->source), "html", null, true); echo " "; } else { // line 36 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 36, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link"] ?? null), 36, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["file_size"] ?? null), 36, $this->source), "html", null, true); echo " "; } // line 38 echo " "; } // line 39 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_0_)); } public function getTemplateName() { return "themes/contrib/bootstrap/templates/file/file-link.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 100 => 18, 96 => 39, 93 => 38, 83 => 36, 73 => 34, 70 => 33, 64 => 30, 60 => 29, 54 => 27, 52 => 26, 47 => 25, 45 => 22, 44 => 21, 43 => 20, 41 => 19, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme override for a link to a file. * * Available variables: * - attributes: The HTML attributes for the containing element. * - link: A link to the file. * - icon: An icon. * - icon_only: Flag to display only the icon and not the label. * - icon_position: Where an icon should be displayed. * * @ingroup templates * * @see \\Drupal\\bootstrap\\Plugin\\Preprocess\\FileLink::preprocessVariables */ #} {% apply spaceless %} {% set classes = [ icon_only ? 'icon-only', not icon_only ? 'icon-' ~ icon_position|clean_class ] %} {% if icon_only %} {{ icon }} {{ link }} {{ file_size }} {% else %} {% if icon_position == 'after' %} {{ link }}{{ file_size }}{{ icon }} {% else %} {{ icon }}{{ link }}{{ file_size }} {% endif %} {% endif %} {% endapply %} ", "themes/contrib/bootstrap/templates/file/file-link.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\file\\file-link.html.twig"); } public function checkSecurity() { static $tags = array("apply" => 18, "set" => 20, "if" => 26); static $filters = array("clean_class" => 22, "escape" => 25, "spaceless" => 18); static $functions = array(); try { $this->sandbox->checkSecurity( ['apply', 'set', 'if'], ['clean_class', 'escape', 'spaceless'], [] ); } 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_5c95be50c32306deebfaf046cb914b9b', 'themes/contrib/bootstrap/templates/file/file-link.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/file/file-link.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/file/file-link.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('file_link', 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_a47e6ee48a1de9806436a18067b80852->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/field/field.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('field', 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: 111) __TwigTemplate_68c7b2f3b08ba12997554e38ffac9a85->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/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)