Warning: rename(sites/default/files/php/twig/.hCIEc8pOl2bk1eN6yfgREAK7M-A,sites/default/files/php/twig/69f3313908ce0_paragraph--card-2-column._LIO9MQLOXs37dnC_1yV3wWS-c/9fbtBrjUk_HAneevyiL9dz2wjV_V0HIKo0vzqoe7PvQ.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('69f3313908ce0_paragraph--card-2-column._LIO9MQLOXs37dnC_1yV3wWS-c', '<?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/paragraphs/paragraph--card-2-column.html.twig */
class __TwigTemplate_2e08b0c82745802763222bae4d085e85 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'paragraph' => [$this, 'block_paragraph'],
'content' => [$this, 'block_content'],
];
$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 => "paragraph", 1 => ("paragraph--type--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, // line 44
($context["paragraph"] ?? null), "bundle", [], "any", false, false, true, 44), 44, $this->source))), 2 => (( // line 45
($context["view_mode"] ?? null)) ? (("paragraph--view-mode--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["view_mode"] ?? null), 45, $this->source)))) : ("")), 3 => (( !twig_get_attribute($this->env, $this->source, // line 46
($context["paragraph"] ?? null), "isPublished", [], "method", false, false, true, 46)) ? ("paragraph--unpublished") : ("")), 4 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 47
($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 47), 0, [], "any", false, false, true, 47), "value", [], "any", false, false, true, 47)) ? (("bg-color-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 47), 0, [], "any", false, false, true, 47), "value", [], "any", false, false, true, 47), 47, $this->source)))) : ("")), 5 => "container"];
// line 51
echo "
";
// line 52
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 52), 0, [], "any", false, false, true, 52), "value", [], "any", false, false, true, 52) == "None")) {
// line 53
echo " ";
$context["bgClass"] = "bg-color-gray";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 54
($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 54), 0, [], "any", false, false, true, 54), "value", [], "any", false, false, true, 54) == "Blue Bottom")) {
// line 55
echo " ";
$context["bgClass"] = "bg-color-gray";
} else {
// line 57
echo " ";
$context["bgClass"] = "bg-color-white";
}
// line 59
echo "
";
// line 60
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_1", [], "any", false, false, true, 60), 0, [], "any", false, false, true, 60), "value", [], "any", false, false, true, 60) == "Button")) {
// line 61
echo " ";
$context["btnClass1"] = "button desktop-button-red-large";
}
// line 63
echo "
";
// line 64
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_2", [], "any", false, false, true, 64), 0, [], "any", false, false, true, 64), "value", [], "any", false, false, true, 64) == "Button")) {
// line 65
echo " ";
$context["btnClass2"] = "button desktop-button-red-large";
}
// line 67
echo "
";
// line 68
$this->displayBlock('paragraph', $context, $blocks);
}
public function block_paragraph($context, array $blocks = [])
{
$macros = $this->macros;
// 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 ">
";
// line 71
$this->displayBlock('content', $context, $blocks);
// line 122
echo "
";
}
// line 71
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 72
echo "
";
// line 73
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_divider", [], "any", false, false, true, 73), 0, [], "any", false, false, true, 73), "value", [], "any", false, false, true, 73) == "above")) {
// line 74
echo "
";
}
// line 76
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_general_heading", [], "any", false, false, true, 76), 76, $this->source), "html", null, true);
echo "
";
// line 77
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_subheading", [], "any", false, false, true, 77), 77, $this->source), "html", null, true);
echo "
";
// line 78
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_divider", [], "any", false, false, true, 78), 0, [], "any", false, false, true, 78), "value", [], "any", false, false, true, 78) == "below")) {
// line 79
echo "
";
}
// line 81
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 83, $this->source), "html", null, true);
echo "\">
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_image_1", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
echo "
";
// line 85
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_1_url", [], "any", false, false, true, 85))) {
// line 86
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_1_url", [], "any", false, false, true, 86));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 87
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 87), 87, $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["content"] ?? null), "field_heading_1", [], "any", false, false, true, 87), 87, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 88
echo "
";
} else {
// line 90
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_heading_1", [], "any", false, false, true, 90), 90, $this->source), "html", null, true);
echo "
";
}
// line 92
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_body_1", [], "any", false, false, true, 92), 92, $this->source), "html", null, true);
echo "
";
// line 94
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_url_1", [], "any", false, false, true, 94));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 95
echo "
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 96), 96, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass1"] ?? null), 96, $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"], "title", [], "any", false, false, true, 96), 96, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 98
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 102, $this->source), "html", null, true);
echo "\">
";
// line 103
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_image_2", [], "any", false, false, true, 103), 103, $this->source), "html", null, true);
echo "
";
// line 104
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_2_url", [], "any", false, false, true, 104))) {
// line 105
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_2_url", [], "any", false, false, true, 105));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 106
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 106), 106, $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["content"] ?? null), "field_heading_2", [], "any", false, false, true, 106), 106, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo "
";
} else {
// line 109
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_heading_2", [], "any", false, false, true, 109), 109, $this->source), "html", null, true);
echo "
";
}
// line 111
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_body_2", [], "any", false, false, true, 111), 111, $this->source), "html", null, true);
echo "
";
// line 113
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_url_2", [], "any", false, false, true, 113));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 114
echo "
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 115), 115, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass2"] ?? null), 115, $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"], "title", [], "any", false, false, true, 115), 115, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 117
echo "
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 269 => 117, 256 => 115, 253 => 114, 249 => 113, 243 => 111, 237 => 109, 233 => 107, 222 => 106, 217 => 105, 215 => 104, 211 => 103, 207 => 102, 201 => 98, 188 => 96, 185 => 95, 181 => 94, 175 => 92, 169 => 90, 165 => 88, 154 => 87, 149 => 86, 147 => 85, 143 => 84, 139 => 83, 135 => 81, 131 => 79, 129 => 78, 125 => 77, 120 => 76, 116 => 74, 114 => 73, 111 => 72, 107 => 71, 101 => 122, 99 => 71, 93 => 69, 86 => 68, 83 => 67, 79 => 65, 77 => 64, 74 => 63, 70 => 61, 68 => 60, 65 => 59, 61 => 57, 57 => 55, 55 => 54, 52 => 53, 50 => 52, 47 => 51, 45 => 47, 44 => 46, 43 => 45, 42 => 44, 41 => 42,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display a paragraph.
*
* Available variables:
* - paragraph: Full paragraph entity.
* Only method names starting with \"get\", \"has\", or \"is\" and a few common
* methods such as \"id\", \"label\", and \"bundle\" are available. For example:
* - paragraph.getCreatedTime() will return the paragraph creation timestamp.
* - paragraph.id(): The paragraph ID.
* - paragraph.bundle(): The type of the paragraph, for example, \"image\" or \"text\".
* - paragraph.getOwnerId(): The user ID of the paragraph author.
* See Drupal\\paragraphs\\Entity\\Paragraph for a full list of public properties
* and methods for the paragraph object.
* - content: All paragraph items. Use {{ content }} to print them all,
* or print a subset such as {{ content.field_example }}. Use
* {{ content|without('field_example') }} to temporarily suppress the printing
* of a given child element.
* - attributes: HTML attributes for the containing element.
* The attributes.class element may contain one or more of the following
* classes:
* - paragraphs: The current template type (also known as a \"theming hook\").
* - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an
* \"Image\" it would result in \"paragraphs--type--image\". Note that the machine
* name will often be in a short form of the human readable label.
* - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a
* preview would result in: \"paragraphs--view-mode--preview\", and
* default: \"paragraphs--view-mode--default\".
* - view_mode: View mode; for example, \"preview\" or \"full\".
* - logged_in: Flag for authenticated user status. Will be true when the
* current user is a logged-in member.
* - is_admin: Flag for admin user status. Will be true when the current user
* is an administrator.
*
* @see template_preprocess_paragraph()
*
* @ingroup themeable
*/
#}
{%
set classes = [
'paragraph',
'paragraph--type--' ~ paragraph.bundle|clean_class,
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
not paragraph.isPublished() ? 'paragraph--unpublished',
paragraph.field_background.0.value ? 'bg-color-' ~ paragraph.field_background.0.value|clean_class,
'container'
]
%}
{% if paragraph.field_background.0.value == \"None\" %}
{% set bgClass = \"bg-color-gray\" %}
{% elseif paragraph.field_background.0.value == \"Blue Bottom\" %}
{% set bgClass = \"bg-color-gray\" %}
{% else %}
{% set bgClass = \"bg-color-white\" %}
{% endif %}
{% if paragraph.field_go_link_1.0.value == \"Button\" %}
{% set btnClass1 = \"button desktop-button-red-large\" %}
{% endif %}
{% if paragraph.field_go_link_2.0.value == \"Button\" %}
{% set btnClass2 = \"button desktop-button-red-large\" %}
{% endif %}
{% block paragraph %}
{% block content %}
{% if paragraph.field_divider.0.value == \"above\" %}
{% endif %}
{{ content.field_general_heading }}
{{ content.field_subheading }}
{% if paragraph.field_divider.0.value == \"below\" %}
{% endif %}
{{ content.field_image_1 }}
{% if paragraph.field_heading_1_url is not empty %}
{% for item in paragraph.field_heading_1_url %}
<a>{{ content.field_heading_1 }}</a>
{% endfor %}
{% else %}
{{ content.field_heading_1 }}
{% endif %}
{{ content.field_body_1 }}
{% for item in paragraph.field_go_link_url_1 %}
<a>{{ item.title }}</a>
{% endfor %}
{{ content.field_image_2 }}
{% if paragraph.field_heading_2_url is not empty %}
{% for item in paragraph.field_heading_2_url %}
<a>{{ content.field_heading_2 }}</a>
{% endfor %}
{% else %}
{{ content.field_heading_2 }}
{% endif %}
{{ content.field_body_2 }}
{% for item in paragraph.field_go_link_url_2 %}
<a>{{ item.title }}</a>
{% endfor %}
{% endblock %}
{% endblock paragraph %}
", "themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\paragraphs\\paragraph--card-2-column.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 42, "if" => 52, "block" => 68, "for" => 86);
static $filters = array("clean_class" => 44, "escape" => 69);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block', '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('69f3313908ce0_paragraph--card-2-column._LIO9MQLOXs37dnC_1yV3wWS-c', '<?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/paragraphs/paragraph--card-2-column.html.twig */
class __TwigTemplate_2e08b0c82745802763222bae4d085e85 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'paragraph' => [$this, 'block_paragraph'],
'content' => [$this, 'block_content'],
];
$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 => "paragraph", 1 => ("paragraph--type--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, // line 44
($context["paragraph"] ?? null), "bundle", [], "any", false, false, true, 44), 44, $this->source))), 2 => (( // line 45
($context["view_mode"] ?? null)) ? (("paragraph--view-mode--" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["view_mode"] ?? null), 45, $this->source)))) : ("")), 3 => (( !twig_get_attribute($this->env, $this->source, // line 46
($context["paragraph"] ?? null), "isPublished", [], "method", false, false, true, 46)) ? ("paragraph--unpublished") : ("")), 4 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 47
($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 47), 0, [], "any", false, false, true, 47), "value", [], "any", false, false, true, 47)) ? (("bg-color-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 47), 0, [], "any", false, false, true, 47), "value", [], "any", false, false, true, 47), 47, $this->source)))) : ("")), 5 => "container"];
// line 51
echo "
";
// line 52
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 52), 0, [], "any", false, false, true, 52), "value", [], "any", false, false, true, 52) == "None")) {
// line 53
echo " ";
$context["bgClass"] = "bg-color-gray";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 54
($context["paragraph"] ?? null), "field_background", [], "any", false, false, true, 54), 0, [], "any", false, false, true, 54), "value", [], "any", false, false, true, 54) == "Blue Bottom")) {
// line 55
echo " ";
$context["bgClass"] = "bg-color-gray";
} else {
// line 57
echo " ";
$context["bgClass"] = "bg-color-white";
}
// line 59
echo "
";
// line 60
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_1", [], "any", false, false, true, 60), 0, [], "any", false, false, true, 60), "value", [], "any", false, false, true, 60) == "Button")) {
// line 61
echo " ";
$context["btnClass1"] = "button desktop-button-red-large";
}
// line 63
echo "
";
// line 64
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_2", [], "any", false, false, true, 64), 0, [], "any", false, false, true, 64), "value", [], "any", false, false, true, 64) == "Button")) {
// line 65
echo " ";
$context["btnClass2"] = "button desktop-button-red-large";
}
// line 67
echo "
";
// line 68
$this->displayBlock('paragraph', $context, $blocks);
}
public function block_paragraph($context, array $blocks = [])
{
$macros = $this->macros;
// 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 ">
";
// line 71
$this->displayBlock('content', $context, $blocks);
// line 122
echo "
";
}
// line 71
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 72
echo "
";
// line 73
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_divider", [], "any", false, false, true, 73), 0, [], "any", false, false, true, 73), "value", [], "any", false, false, true, 73) == "above")) {
// line 74
echo "
";
}
// line 76
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_general_heading", [], "any", false, false, true, 76), 76, $this->source), "html", null, true);
echo "
";
// line 77
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_subheading", [], "any", false, false, true, 77), 77, $this->source), "html", null, true);
echo "
";
// line 78
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_divider", [], "any", false, false, true, 78), 0, [], "any", false, false, true, 78), "value", [], "any", false, false, true, 78) == "below")) {
// line 79
echo "
";
}
// line 81
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 83, $this->source), "html", null, true);
echo "\">
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_image_1", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
echo "
";
// line 85
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_1_url", [], "any", false, false, true, 85))) {
// line 86
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_1_url", [], "any", false, false, true, 86));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 87
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 87), 87, $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["content"] ?? null), "field_heading_1", [], "any", false, false, true, 87), 87, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 88
echo "
";
} else {
// line 90
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_heading_1", [], "any", false, false, true, 90), 90, $this->source), "html", null, true);
echo "
";
}
// line 92
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_body_1", [], "any", false, false, true, 92), 92, $this->source), "html", null, true);
echo "
";
// line 94
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_url_1", [], "any", false, false, true, 94));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 95
echo "
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 96), 96, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass1"] ?? null), 96, $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"], "title", [], "any", false, false, true, 96), 96, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 98
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 102, $this->source), "html", null, true);
echo "\">
";
// line 103
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_image_2", [], "any", false, false, true, 103), 103, $this->source), "html", null, true);
echo "
";
// line 104
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_2_url", [], "any", false, false, true, 104))) {
// line 105
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_2_url", [], "any", false, false, true, 105));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 106
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 106), 106, $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["content"] ?? null), "field_heading_2", [], "any", false, false, true, 106), 106, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo "
";
} else {
// line 109
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_heading_2", [], "any", false, false, true, 109), 109, $this->source), "html", null, true);
echo "
";
}
// line 111
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "field_body_2", [], "any", false, false, true, 111), 111, $this->source), "html", null, true);
echo "
";
// line 113
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_url_2", [], "any", false, false, true, 113));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 114
echo "
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, true, 115), 115, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass2"] ?? null), 115, $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"], "title", [], "any", false, false, true, 115), 115, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 117
echo "
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 269 => 117, 256 => 115, 253 => 114, 249 => 113, 243 => 111, 237 => 109, 233 => 107, 222 => 106, 217 => 105, 215 => 104, 211 => 103, 207 => 102, 201 => 98, 188 => 96, 185 => 95, 181 => 94, 175 => 92, 169 => 90, 165 => 88, 154 => 87, 149 => 86, 147 => 85, 143 => 84, 139 => 83, 135 => 81, 131 => 79, 129 => 78, 125 => 77, 120 => 76, 116 => 74, 114 => 73, 111 => 72, 107 => 71, 101 => 122, 99 => 71, 93 => 69, 86 => 68, 83 => 67, 79 => 65, 77 => 64, 74 => 63, 70 => 61, 68 => 60, 65 => 59, 61 => 57, 57 => 55, 55 => 54, 52 => 53, 50 => 52, 47 => 51, 45 => 47, 44 => 46, 43 => 45, 42 => 44, 41 => 42,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display a paragraph.
*
* Available variables:
* - paragraph: Full paragraph entity.
* Only method names starting with \"get\", \"has\", or \"is\" and a few common
* methods such as \"id\", \"label\", and \"bundle\" are available. For example:
* - paragraph.getCreatedTime() will return the paragraph creation timestamp.
* - paragraph.id(): The paragraph ID.
* - paragraph.bundle(): The type of the paragraph, for example, \"image\" or \"text\".
* - paragraph.getOwnerId(): The user ID of the paragraph author.
* See Drupal\\paragraphs\\Entity\\Paragraph for a full list of public properties
* and methods for the paragraph object.
* - content: All paragraph items. Use {{ content }} to print them all,
* or print a subset such as {{ content.field_example }}. Use
* {{ content|without('field_example') }} to temporarily suppress the printing
* of a given child element.
* - attributes: HTML attributes for the containing element.
* The attributes.class element may contain one or more of the following
* classes:
* - paragraphs: The current template type (also known as a \"theming hook\").
* - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an
* \"Image\" it would result in \"paragraphs--type--image\". Note that the machine
* name will often be in a short form of the human readable label.
* - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a
* preview would result in: \"paragraphs--view-mode--preview\", and
* default: \"paragraphs--view-mode--default\".
* - view_mode: View mode; for example, \"preview\" or \"full\".
* - logged_in: Flag for authenticated user status. Will be true when the
* current user is a logged-in member.
* - is_admin: Flag for admin user status. Will be true when the current user
* is an administrator.
*
* @see template_preprocess_paragraph()
*
* @ingroup themeable
*/
#}
{%
set classes = [
'paragraph',
'paragraph--type--' ~ paragraph.bundle|clean_class,
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
not paragraph.isPublished() ? 'paragraph--unpublished',
paragraph.field_background.0.value ? 'bg-color-' ~ paragraph.field_background.0.value|clean_class,
'container'
]
%}
{% if paragraph.field_background.0.value == \"None\" %}
{% set bgClass = \"bg-color-gray\" %}
{% elseif paragraph.field_background.0.value == \"Blue Bottom\" %}
{% set bgClass = \"bg-color-gray\" %}
{% else %}
{% set bgClass = \"bg-color-white\" %}
{% endif %}
{% if paragraph.field_go_link_1.0.value == \"Button\" %}
{% set btnClass1 = \"button desktop-button-red-large\" %}
{% endif %}
{% if paragraph.field_go_link_2.0.value == \"Button\" %}
{% set btnClass2 = \"button desktop-button-red-large\" %}
{% endif %}
{% block paragraph %}
{% block content %}
{% if paragraph.field_divider.0.value == \"above\" %}
{% endif %}
{{ content.field_general_heading }}
{{ content.field_subheading }}
{% if paragraph.field_divider.0.value == \"below\" %}
{% endif %}
{{ content.field_image_1 }}
{% if paragraph.field_heading_1_url is not empty %}
{% for item in paragraph.field_heading_1_url %}
<a>{{ content.field_heading_1 }}</a>
{% endfor %}
{% else %}
{{ content.field_heading_1 }}
{% endif %}
{{ content.field_body_1 }}
{% for item in paragraph.field_go_link_url_1 %}
<a>{{ item.title }}</a>
{% endfor %}
{{ content.field_image_2 }}
{% if paragraph.field_heading_2_url is not empty %}
{% for item in paragraph.field_heading_2_url %}
<a>{{ content.field_heading_2 }}</a>
{% endfor %}
{% else %}
{{ content.field_heading_2 }}
{% endif %}
{{ content.field_body_2 }}
{% for item in paragraph.field_go_link_url_2 %}
<a>{{ item.title }}</a>
{% endfor %}
{% endblock %}
{% endblock paragraph %}
", "themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\paragraphs\\paragraph--card-2-column.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 42, "if" => 52, "block" => 68, "for" => 86);
static $filters = array("clean_class" => 44, "escape" => 69);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block', '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_2e08b0c82745802763222bae4d085e85', 'themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig') (Line: 53)
twig_render_template('themes/custom/asc/templates/paragraphs/paragraph--card-2-column.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('paragraph', 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: 67)
__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)
We provide federal oversight of State Appraiser and AMC regulatory programs
Receive a referral to the appropriate State and Federal agencies for complaints about appraisal independence or compliance with the Uniform Standards of Professional Appraisal Practice (USPAP).