An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.DdXHtYX_Rw1nHGIQXjSxeJ5c6Hs,sites/default/files/php/twig/69796101a9a5b_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ/EzRcu-5EZ-9SvVMUp_NfObQqp1QRdcpwF8gUiEgOnmw.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('69796101a9a5b_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('69796101a9a5b_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/.f4l3Os56ZnFBk7wnLKuKnTLVBMo,sites/default/files/php/twig/69796101a9a5b_input--button.html.twig_dgOVOJ4xR9ltQVGVmV8XWymSE/PBDzZUPiNkj4TUmHBXT3J7TH8bIBBymkrmF8kwwxtKk.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('69796101a9a5b_input--button.html.twig_dgOVOJ4xR9ltQVGVmV8XWymSE', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* themes/custom/asc/templates/input--button.html.twig */ class __TwigTemplate_f917f1288c21af45ea2a08cd2773ee84 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'input' => [$this, 'block_input'], ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doGetParent(array $context) { // line 1 return "input.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 27 $context["classes"] = [0 => "btn", 1 => ((( // line 29 ($context["type"] ?? null) == "submit")) ? ("js-form-submit") : ("")), 2 => (((( // line 30 ($context["icon"] ?? null) && ($context["icon_position"] ?? null)) && !($context["icon_only"] ?? null))) ? (("icon-" . $this->sandbox->ensureToStringAllowed(($context["icon_position"] ?? null), 30, $this->source))) : (""))]; // line 1 $this->parent = $this->loadTemplate("input.html.twig", "themes/custom/asc/templates/input--button.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 33 public function block_input($context, array $blocks = []) { $macros = $this->macros; // line 34 ob_start(); // line 35 echo " "; // line 36 if ((($context["icon"] ?? null) && ($context["icon_only"] ?? null))) { // line 37 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 => "icon-only"], "method", false, false, true, 37), 37, $this->source), "html", null, true); echo "> "; // line 38 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 38, $this->source), "html", null, true); echo " "; // line 39 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 39, $this->source), "html", null, true); echo " "; } else { // line 42 echo " "; if ((($context["icon_position"] ?? null) == "after")) { // 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["label"] ?? null), 43, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 43, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 43, $this->source), "html", null, true); echo " "; } else { // line 45 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, 45), 45, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 45, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 45, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 45, $this->source), "html", null, true); echo " "; } // line 47 echo " "; } // line 48 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 48, $this->source), "html", null, true); echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_0_)); // line 50 echo " "; } public function getTemplateName() { return "themes/custom/asc/templates/input--button.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 117 => 50, 115 => 34, 109 => 48, 106 => 47, 94 => 45, 82 => 43, 79 => 42, 73 => 39, 69 => 38, 64 => 37, 62 => 36, 59 => 35, 57 => 34, 53 => 33, 48 => 1, 46 => 30, 45 => 29, 44 => 27, 37 => 1,); } public function getSourceContext() { return new Source("{% extends \"input.html.twig\" %} {# /** * @file * Theme suggestion for \"button\" input form element. * * Available variables: * - attributes: A list of HTML attributes for the input element. * - children: Optional additional rendered elements. * - icon: An icon. * - icon_only: Flag to display only the icon and not the label. * - icon_position: Where an icon should be displayed. * - label: button label. * - prefix: Markup to display before the input element. * - suffix: Markup to display after the input element. * - type: The type of input. * * @ingroup templates * * @see \\Drupal\\bootstrap\\Plugin\\Preprocess\\InputButton * @see \\Drupal\\bootstrap\\Plugin\\Preprocess\\Input * @see template_preprocess_input() */ #} {% set classes = [ 'btn', type == 'submit' ? 'js-form-submit', icon and icon_position and not icon_only ? 'icon-' ~ icon_position, ] %} {% block input %} {% apply spaceless %} {% if icon and icon_only %} {{ label }} {{ icon }} {% else %} {% if icon_position == 'after' %} {{ label }}{{ icon }}{{ children }} {% else %} {{ icon }}{{ label }}{{ children }} {% endif %} {% endif %} {{ children }} {% endapply %} {% endblock %} ", "themes/custom/asc/templates/input--button.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\input--button.html.twig"); } public function checkSecurity() { static $tags = array("set" => 27, "apply" => 34, "if" => 36); static $filters = array("escape" => 37, "spaceless" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'apply', 'if'], ['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('69796101a9a5b_input--button.html.twig_dgOVOJ4xR9ltQVGVmV8XWymSE', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* themes/custom/asc/templates/input--button.html.twig */ class __TwigTemplate_f917f1288c21af45ea2a08cd2773ee84 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'input' => [$this, 'block_input'], ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doGetParent(array $context) { // line 1 return "input.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 27 $context["classes"] = [0 => "btn", 1 => ((( // line 29 ($context["type"] ?? null) == "submit")) ? ("js-form-submit") : ("")), 2 => (((( // line 30 ($context["icon"] ?? null) && ($context["icon_position"] ?? null)) && !($context["icon_only"] ?? null))) ? (("icon-" . $this->sandbox->ensureToStringAllowed(($context["icon_position"] ?? null), 30, $this->source))) : (""))]; // line 1 $this->parent = $this->loadTemplate("input.html.twig", "themes/custom/asc/templates/input--button.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 33 public function block_input($context, array $blocks = []) { $macros = $this->macros; // line 34 ob_start(); // line 35 echo " "; // line 36 if ((($context["icon"] ?? null) && ($context["icon_only"] ?? null))) { // line 37 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 => "icon-only"], "method", false, false, true, 37), 37, $this->source), "html", null, true); echo "> "; // line 38 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 38, $this->source), "html", null, true); echo " "; // line 39 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 39, $this->source), "html", null, true); echo " "; } else { // line 42 echo " "; if ((($context["icon_position"] ?? null) == "after")) { // 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["label"] ?? null), 43, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 43, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 43, $this->source), "html", null, true); echo " "; } else { // line 45 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, 45), 45, $this->source), "html", null, true); echo ">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null), 45, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 45, $this->source), "html", null, true); echo ""; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 45, $this->source), "html", null, true); echo " "; } // line 47 echo " "; } // line 48 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 48, $this->source), "html", null, true); echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_0_)); // line 50 echo " "; } public function getTemplateName() { return "themes/custom/asc/templates/input--button.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 117 => 50, 115 => 34, 109 => 48, 106 => 47, 94 => 45, 82 => 43, 79 => 42, 73 => 39, 69 => 38, 64 => 37, 62 => 36, 59 => 35, 57 => 34, 53 => 33, 48 => 1, 46 => 30, 45 => 29, 44 => 27, 37 => 1,); } public function getSourceContext() { return new Source("{% extends \"input.html.twig\" %} {# /** * @file * Theme suggestion for \"button\" input form element. * * Available variables: * - attributes: A list of HTML attributes for the input element. * - children: Optional additional rendered elements. * - icon: An icon. * - icon_only: Flag to display only the icon and not the label. * - icon_position: Where an icon should be displayed. * - label: button label. * - prefix: Markup to display before the input element. * - suffix: Markup to display after the input element. * - type: The type of input. * * @ingroup templates * * @see \\Drupal\\bootstrap\\Plugin\\Preprocess\\InputButton * @see \\Drupal\\bootstrap\\Plugin\\Preprocess\\Input * @see template_preprocess_input() */ #} {% set classes = [ 'btn', type == 'submit' ? 'js-form-submit', icon and icon_position and not icon_only ? 'icon-' ~ icon_position, ] %} {% block input %} {% apply spaceless %} {% if icon and icon_only %} {{ label }} {{ icon }} {% else %} {% if icon_position == 'after' %} {{ label }}{{ icon }}{{ children }} {% else %} {{ icon }}{{ label }}{{ children }} {% endif %} {% endif %} {{ children }} {% endapply %} {% endblock %} ", "themes/custom/asc/templates/input--button.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\input--button.html.twig"); } public function checkSecurity() { static $tags = array("set" => 27, "apply" => 34, "if" => 36); static $filters = array("escape" => 37, "spaceless" => 34); static $functions = array(); try { $this->sandbox->checkSecurity( ['set', 'apply', 'if'], ['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_f917f1288c21af45ea2a08cd2773ee84', 'themes/custom/asc/templates/input--button.html.twig') (Line: 312) Twig\Environment->load('themes/custom/asc/templates/input--button.html.twig') (Line: 53) twig_render_template('themes/custom/asc/templates/input--button.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('input', Array) (Line: 501) Drupal\Core\Render\Renderer->doRender(Array) (Line: 458) 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)
