An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.nfI0-_otHTXfeOvDkqwFqMqBsaA,sites/default/files/php/twig/697efbeae5813_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ/oDWm3svf5CEbLXx0x2Sh3J2EfnPa9F7MkacT28xMpJo.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('697efbeae5813_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('697efbeae5813_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modules/contrib/webform/templates/webform-element-more.html.twig */ class __TwigTemplate_f0fac94187136ad20b078725045d0c20 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("webform/webform.element.more"), "html", null, true); echo " "; // line 20 $context["classes"] = [0 => "js-webform-element-more", 1 => "webform-element-more"]; // line 25 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 25), 25, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 26), 26, $this->source), "html", null, true); echo "--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more_title"] ?? null), 26, $this->source), "html", null, true); echo "</a> extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 27), 27, $this->source), "html", null, true); echo "--content\" class=\"webform-element-more--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null), 27, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "modules/contrib/webform/templates/webform-element-more.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 56 => 27, 50 => 26, 45 => 25, 43 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme implementation for webform element more. * * Available variables * - title: More label. * - content: More content. * * Based on WAI-ARIA Authoring Practices 1.1: Disclosure (Show/Hide) * * @see https://www.w3.org/TR/wai-aria-practices-1.1/#disclosure * @see https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html * @see template_preprocess_webform_element_more() * @ingroup themeable */ #} {{ attach_library('webform/webform.element.more') }} {% set classes = [ 'js-webform-element-more', 'webform-element-more', ] %} <a>{{ more_title }}</a> {{ more }} ", "modules/contrib/webform/templates/webform-element-more.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\webform\\templates\\webform-element-more.html.twig"); } public function checkSecurity() { static $tags = array("set" => 20); static $filters = array("escape" => 18); static $functions = array("attach_library" => 18); try { $this->sandbox->checkSecurity( ['set'], ['escape'], ['attach_library'] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 352) Twig\Environment->loadTemplate('__TwigTemplate_f0fac94187136ad20b078725045d0c20', 'modules/contrib/webform/templates/webform-element-more.html.twig') (Line: 312) Twig\Environment->load('modules/contrib/webform/templates/webform-element-more.html.twig') (Line: 53) twig_render_template('modules/contrib/webform/templates/webform-element-more.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('webform_element_more', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 160) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 161) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 1167) _webform_token_render_more(Object, 'Omit the '?' to output all values. Output all values as HTML using [webform_submission:values:html].To output individual elements, replace the '?' with…<ul><li>element_key</li><li>element_key:format</li><li>element_key:raw</li><li>element_key:format:items</li><li>element_key:delta</li><li>element_key:sub_element_key</li><li>element_key:delta:sub_element_key</li><li>element_key:sub_element_key:format</li><li>element_key:delta:sub_element_key:format</li><li>element_key:delta:format</li><li>element_key:delta:format:html</li><li>element_key:entity:*</li><li>element_key:delta:entity:*</li><li>element_key:delta:entity:field_name:*</li><li>element_key:sub_element_key:entity:*</li><li>element_key:sub_element_key:entity:field_name:*</li><li>element_key:delta:sub_element_key:entity:*</li><li>element_key:checked:option_value</li><li>element_key:selected:option_value</li></ul>All items after the 'element_key' are optional.The 'delta' is the numeric index for specific valueThe 'sub_element_key' is a composite element's sub element key.The 'checked' or 'selected' looks to see if an 'option_value' is checked or selected for an options element (select, checkboxes, or radios)The 'option_value' is options value for an options element (select, checkboxes, or radios).The 'format' can be 'value', 'raw', or custom format specifically associated with the elementThe 'items' can be 'comma', 'semicolon', 'and', 'ol', 'ul', or custom delimiterThe 'entity:*' applies to the referenced entityAdd 'html' at the end of the token to return HTML markup instead of plain text.For example, to display the Contact webform's 'Subject' element's value you would use the [webform_submission:values:subject] token.') (Line: 257) webform_token_info() call_user_func_array(Object, Array) (Line: 409) Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'webform') (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith('token_info', Object) (Line: 416) Drupal\Core\Extension\ModuleHandler->invokeAll('token_info') (Line: 40) Drupal\token\Token->getInfo() (Line: 99) Drupal\token\Token->getTokenInfo('node', 'url') (Line: 220) _token_module('node', 'url') (Line: 1055) token_tokens('node', Array, Array, Array, Object) call_user_func_array(Object, Array) (Line: 409) Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'token') (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith('tokens', Object) (Line: 416) Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 364) Drupal\Core\Utility\Token->generate('node', Array, Array, Array, Object) (Line: 241) Drupal\Core\Utility\Token->doReplace(1, '[node:url]', Array, Array, Object) (Line: 191) Drupal\Core\Utility\Token->replace('[node:url]', Array, Array, NULL) (Line: 66) Drupal\metatag\MetatagToken->replace('[node:url]', Array, Array) (Line: 789) Drupal\metatag\MetatagManager->processTagValue(Object, Array, Array, , 'en') (Line: 628) Drupal\metatag\MetatagManager->generateRawElements(Array, Object) (Line: 564) Drupal\metatag\MetatagManager->generateElements(Array, Object) (Line: 504) metatag_get_tags_from_route() (Line: 258) _metatag_remove_duplicate_entity_tags(Array) (Line: 218) metatag_entity_view_alter(Array, Object, Object) (Line: 545) Drupal\Core\Extension\ModuleHandler->alter('node_view', Array, Object, Object) (Line: 304) Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 238) Drupal\Core\Entity\EntityViewBuilder->build(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 797) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 386) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) - Warning: rename(sites/default/files/php/twig/.6GYGVOVjCmS2f7rmwNMQ9HtDC7s,sites/default/files/php/twig/697efbeae5813_form-element-label.html.t_iWxmx8P1moSKuzCLvfHum4e4F/xgDfrMXXptSbYRbcXn8Z1H1ec0gNZ7aRUHtJDXmEpEc.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('697efbeae5813_form-element-label.html.t_iWxmx8P1moSKuzCLvfHum4e4F', '<?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/input/form-element-label.html.twig */ class __TwigTemplate_e7bb06b6d3f70b8215a528f5d74f51c6 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 22 $context["classes"] = [0 => "control-label", 1 => ((( // line 24 ($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 2 => (((( // line 25 ($context["title_display"] ?? null) == "invisible") && !(($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) ? ("sr-only") : ("")), 3 => (( // line 26 ($context["required"] ?? null)) ? ("js-form-required") : ("")), 4 => (( // line 27 ($context["required"] ?? null)) ? ("form-required") : (""))]; // line 30 if ((( !twig_test_empty(($context["title"] ?? null)) && (($context["title_display"] ?? null) == "invisible")) && (($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) { // line 35 $context["attributes"] = twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "setAttribute", [0 => "title", 1 => ($context["title"] ?? null)], "method", false, false, true, 35); // line 36 $context["title"] = null; } // line 42 if ((( !twig_test_empty(($context["title"] ?? null)) || ($context["is_checkbox"] ?? null)) || ($context["is_radio"] ?? null))) { // line 43 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, 43), 43, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["element"] ?? null), 43, $this->source), "html", null, true); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 43, $this->source), "html", null, true); // line 44 if (($context["description"] ?? null)) { // line 45 echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["description"] ?? null), 45, $this->source), "html", null, true); echo ""; } // line 47 echo ""; } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/input/form-element-label.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 47, 62 => 45, 60 => 44, 54 => 43, 52 => 42, 49 => 36, 47 => 35, 45 => 30, 43 => 27, 42 => 26, 41 => 25, 40 => 24, 39 => 22,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for a form element label. * * Available variables: * - element: an input element. * - title: The label's text. * - title_display: Elements title_display setting. * - description: element description. * - required: An indicator for whether the associated form element is required. * - is_checkbox: Whether the label is outputted in checkbox context. * - is_radio: Whether the label is outputted in radio button context. * - attributes: A list of HTML attributes for the label. * * @ingroup templates * * @see template_preprocess_form_element_label() */ #} {%- set classes = [ 'control-label', title_display == 'after' ? 'option', title_display == 'invisible' and not (is_checkbox or is_radio) ? 'sr-only', required ? 'js-form-required', required ? 'form-required', ] -%} {% if title is not empty and title_display == 'invisible' and (is_checkbox or is_radio) -%} {# Clear but preserve label text as attribute (e.g. for screen readers) for checkboxes/radio buttons when it actually should be invisible. #} {%- set attributes = attributes.setAttribute('title', title) -%} {%- set title = null -%} {%- endif -%} {# Labels for single checkboxes/radios contain the element itself and thus have always to be rendered regardless of whether they have a title or not. #} {%- if title is not empty or is_checkbox or is_radio -%} {{ element }}{{ title }} {%- if description -%} {{ description }} {%- endif -%} {%- endif -%} ", "themes/contrib/bootstrap/templates/input/form-element-label.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\form-element-label.html.twig"); } public function checkSecurity() { static $tags = array("set" => 22, "if" => 30); static $filters = array("escape" => 43); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'if'], ['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('697efbeae5813_form-element-label.html.t_iWxmx8P1moSKuzCLvfHum4e4F', '<?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/input/form-element-label.html.twig */ class __TwigTemplate_e7bb06b6d3f70b8215a528f5d74f51c6 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 22 $context["classes"] = [0 => "control-label", 1 => ((( // line 24 ($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 2 => (((( // line 25 ($context["title_display"] ?? null) == "invisible") && !(($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) ? ("sr-only") : ("")), 3 => (( // line 26 ($context["required"] ?? null)) ? ("js-form-required") : ("")), 4 => (( // line 27 ($context["required"] ?? null)) ? ("form-required") : (""))]; // line 30 if ((( !twig_test_empty(($context["title"] ?? null)) && (($context["title_display"] ?? null) == "invisible")) && (($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) { // line 35 $context["attributes"] = twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "setAttribute", [0 => "title", 1 => ($context["title"] ?? null)], "method", false, false, true, 35); // line 36 $context["title"] = null; } // line 42 if ((( !twig_test_empty(($context["title"] ?? null)) || ($context["is_checkbox"] ?? null)) || ($context["is_radio"] ?? null))) { // line 43 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, 43), 43, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["element"] ?? null), 43, $this->source), "html", null, true); echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 43, $this->source), "html", null, true); // line 44 if (($context["description"] ?? null)) { // line 45 echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["description"] ?? null), 45, $this->source), "html", null, true); echo ""; } // line 47 echo ""; } } public function getTemplateName() { return "themes/contrib/bootstrap/templates/input/form-element-label.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 47, 62 => 45, 60 => 44, 54 => 43, 52 => 42, 49 => 36, 47 => 35, 45 => 30, 43 => 27, 42 => 26, 41 => 25, 40 => 24, 39 => 22,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation for a form element label. * * Available variables: * - element: an input element. * - title: The label's text. * - title_display: Elements title_display setting. * - description: element description. * - required: An indicator for whether the associated form element is required. * - is_checkbox: Whether the label is outputted in checkbox context. * - is_radio: Whether the label is outputted in radio button context. * - attributes: A list of HTML attributes for the label. * * @ingroup templates * * @see template_preprocess_form_element_label() */ #} {%- set classes = [ 'control-label', title_display == 'after' ? 'option', title_display == 'invisible' and not (is_checkbox or is_radio) ? 'sr-only', required ? 'js-form-required', required ? 'form-required', ] -%} {% if title is not empty and title_display == 'invisible' and (is_checkbox or is_radio) -%} {# Clear but preserve label text as attribute (e.g. for screen readers) for checkboxes/radio buttons when it actually should be invisible. #} {%- set attributes = attributes.setAttribute('title', title) -%} {%- set title = null -%} {%- endif -%} {# Labels for single checkboxes/radios contain the element itself and thus have always to be rendered regardless of whether they have a title or not. #} {%- if title is not empty or is_checkbox or is_radio -%} {{ element }}{{ title }} {%- if description -%} {{ description }} {%- endif -%} {%- endif -%} ", "themes/contrib/bootstrap/templates/input/form-element-label.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\form-element-label.html.twig"); } public function checkSecurity() { static $tags = array("set" => 22, "if" => 30); static $filters = array("escape" => 43); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'if'], ['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_e7bb06b6d3f70b8215a528f5d74f51c6', 'themes/contrib/bootstrap/templates/input/form-element-label.html.twig') (Line: 312) Twig\Environment->load('themes/contrib/bootstrap/templates/input/form-element-label.html.twig') (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/input/form-element-label.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('form_element_label', 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: 63) __TwigTemplate_0584ad1bc9e7fc87fe5e88f4a80e9111->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/input/form-element.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 501) 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: 52) __TwigTemplate_b1ded44f956cad21ead825d6b8fceec8->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/views/views-exposed-form.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('views_exposed_form', 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: 82) __TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 69) __TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/contrib/bootstrap/templates/block/block.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, 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: 175) Drupal\Core\Render\Renderer->renderPlaceholder('', Array) (Line: 674) Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 562) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 149) Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 285) Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 74) Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 45) Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object) call_user_func(Array, Object, 'kernel.response', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214) Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 202) 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)
