Warning: rename(sites/default/files/php/twig/.Us8RCR07M5f2aeOGzgbsNHJx23M,sites/default/files/php/twig/6a8bb5a1e4627_paragraph--list-widget-3-_WKfGKxQLSA2Bz2vKifKJJnACz/Ek7oNX_VDVsfU767s-xgxfYTsOsWIA-pxzwuxRPN_GE.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('6a8bb5a1e4627_paragraph--list-widget-3-_WKfGKxQLSA2Bz2vKifKJJnACz', '<?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--list-widget-3-column.html.twig */
class __TwigTemplate_8c462a3f96c3946416eee876132c1a04 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
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_3", [], "any", false, false, true, 68), 0, [], "any", false, false, true, 68), "value", [], "any", false, false, true, 68) == "Button")) {
// line 69
echo " ";
$context["btnClass3"] = "button desktop-button-red-large";
}
// line 71
echo "
";
// line 72
$this->displayBlock('paragraph', $context, $blocks);
}
public function block_paragraph($context, array $blocks = [])
{
$macros = $this->macros;
// line 73
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, 73), 73, $this->source), "html", null, true);
echo ">
";
// line 75
$this->displayBlock('content', $context, $blocks);
// line 145
echo "
";
}
// line 75
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 76
echo "
";
// line 77
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, 77), 0, [], "any", false, false, true, 77), "value", [], "any", false, false, true, 77) == "above")) {
// line 78
echo "
";
}
// line 80
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, 80), 80, $this->source), "html", null, true);
echo "
";
// line 81
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, 81), 81, $this->source), "html", null, true);
echo "
";
// line 82
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, 82), 0, [], "any", false, false, true, 82), "value", [], "any", false, false, true, 82) == "below")) {
// line 83
echo "
";
}
// line 85
echo "
";
// line 88
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, 88), 88, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 89, $this->source), "html", null, true);
echo "\">
";
// line 90
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_1_url", [], "any", false, false, true, 90))) {
// line 91
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, 91));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 92
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, 92), 92, $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, 92), 92, $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 93
echo "
";
} else {
// line 95
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, 95), 95, $this->source), "html", null, true);
echo "
";
}
// line 97
echo "
";
// line 98
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, 98), 98, $this->source), "html", null, true);
echo "
";
// line 100
$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, 100));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 101
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, 101), 101, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass1"] ?? null), 101, $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, 101), 101, $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 103
echo "
";
// line 108
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, 108), 108, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 109, $this->source), "html", null, true);
echo "\">
";
// line 110
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_2_url", [], "any", false, false, true, 110))) {
// line 111
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, 111));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 112
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, 112), 112, $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, 112), 112, $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 113
echo "
";
} else {
// line 115
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, 115), 115, $this->source), "html", null, true);
echo "
";
}
// line 117
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, 117), 117, $this->source), "html", null, true);
echo "
";
// line 119
$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, 119));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 120
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, 120), 120, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass2"] ?? null), 120, $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, 120), 120, $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 122
echo "
";
// line 127
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_3", [], "any", false, false, true, 127), 127, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 128, $this->source), "html", null, true);
echo "\">
";
// line 129
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_3_url", [], "any", false, false, true, 129))) {
// line 130
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_3_url", [], "any", false, false, true, 130));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 131
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, 131), 131, $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_3", [], "any", false, false, true, 131), 131, $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 132
echo "
";
} else {
// line 134
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_3", [], "any", false, false, true, 134), 134, $this->source), "html", null, true);
echo "
";
}
// line 136
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_3", [], "any", false, false, true, 136), 136, $this->source), "html", null, true);
echo "
";
// line 138
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_url_3", [], "any", false, false, true, 138));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 139
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, 139), 139, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass3"] ?? null), 139, $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, 139), 139, $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 141
echo "
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-column.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 342 => 141, 329 => 139, 325 => 138, 319 => 136, 313 => 134, 309 => 132, 298 => 131, 293 => 130, 291 => 129, 287 => 128, 283 => 127, 276 => 122, 263 => 120, 259 => 119, 253 => 117, 247 => 115, 243 => 113, 232 => 112, 227 => 111, 225 => 110, 221 => 109, 217 => 108, 210 => 103, 197 => 101, 193 => 100, 188 => 98, 185 => 97, 179 => 95, 175 => 93, 164 => 92, 159 => 91, 157 => 90, 153 => 89, 149 => 88, 144 => 85, 140 => 83, 138 => 82, 134 => 81, 129 => 80, 125 => 78, 123 => 77, 120 => 76, 116 => 75, 110 => 145, 108 => 75, 102 => 73, 95 => 72, 92 => 71, 88 => 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 %}
{% if paragraph.field_go_link_3.0.value == \"Button\" %}
{% set btnClass3 = \"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 %}
{{ content.field_image_3 }}
{% if paragraph.field_heading_3_url is not empty %}
{% for item in paragraph.field_heading_3_url %}
<a>{{ content.field_heading_3 }}</a>
{% endfor %}
{% else %}
{{ content.field_heading_3 }}
{% endif %}
{{ content.field_body_3 }}
{% for item in paragraph.field_go_link_url_3 %}
<a>{{ item.title }}</a>
{% endfor %}
{% endblock %}
{% endblock paragraph %}
", "themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-column.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\paragraphs\\paragraph--list-widget-3-column.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 42, "if" => 52, "block" => 72, "for" => 91);
static $filters = array("clean_class" => 44, "escape" => 73);
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('6a8bb5a1e4627_paragraph--list-widget-3-_WKfGKxQLSA2Bz2vKifKJJnACz', '<?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--list-widget-3-column.html.twig */
class __TwigTemplate_8c462a3f96c3946416eee876132c1a04 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
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_3", [], "any", false, false, true, 68), 0, [], "any", false, false, true, 68), "value", [], "any", false, false, true, 68) == "Button")) {
// line 69
echo " ";
$context["btnClass3"] = "button desktop-button-red-large";
}
// line 71
echo "
";
// line 72
$this->displayBlock('paragraph', $context, $blocks);
}
public function block_paragraph($context, array $blocks = [])
{
$macros = $this->macros;
// line 73
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, 73), 73, $this->source), "html", null, true);
echo ">
";
// line 75
$this->displayBlock('content', $context, $blocks);
// line 145
echo "
";
}
// line 75
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 76
echo "
";
// line 77
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, 77), 0, [], "any", false, false, true, 77), "value", [], "any", false, false, true, 77) == "above")) {
// line 78
echo "
";
}
// line 80
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, 80), 80, $this->source), "html", null, true);
echo "
";
// line 81
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, 81), 81, $this->source), "html", null, true);
echo "
";
// line 82
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, 82), 0, [], "any", false, false, true, 82), "value", [], "any", false, false, true, 82) == "below")) {
// line 83
echo "
";
}
// line 85
echo "
";
// line 88
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, 88), 88, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 89, $this->source), "html", null, true);
echo "\">
";
// line 90
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_1_url", [], "any", false, false, true, 90))) {
// line 91
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, 91));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 92
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, 92), 92, $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, 92), 92, $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 93
echo "
";
} else {
// line 95
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, 95), 95, $this->source), "html", null, true);
echo "
";
}
// line 97
echo "
";
// line 98
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, 98), 98, $this->source), "html", null, true);
echo "
";
// line 100
$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, 100));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 101
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, 101), 101, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass1"] ?? null), 101, $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, 101), 101, $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 103
echo "
";
// line 108
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, 108), 108, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 109, $this->source), "html", null, true);
echo "\">
";
// line 110
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_2_url", [], "any", false, false, true, 110))) {
// line 111
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, 111));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 112
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, 112), 112, $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, 112), 112, $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 113
echo "
";
} else {
// line 115
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, 115), 115, $this->source), "html", null, true);
echo "
";
}
// line 117
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, 117), 117, $this->source), "html", null, true);
echo "
";
// line 119
$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, 119));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 120
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, 120), 120, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass2"] ?? null), 120, $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, 120), 120, $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 122
echo "
";
// line 127
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_3", [], "any", false, false, true, 127), 127, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["bgClass"] ?? null), 128, $this->source), "html", null, true);
echo "\">
";
// line 129
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_3_url", [], "any", false, false, true, 129))) {
// line 130
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_heading_3_url", [], "any", false, false, true, 130));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 131
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, 131), 131, $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_3", [], "any", false, false, true, 131), 131, $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 132
echo "
";
} else {
// line 134
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_3", [], "any", false, false, true, 134), 134, $this->source), "html", null, true);
echo "
";
}
// line 136
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_3", [], "any", false, false, true, 136), 136, $this->source), "html", null, true);
echo "
";
// line 138
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["paragraph"] ?? null), "field_go_link_url_3", [], "any", false, false, true, 138));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 139
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, 139), 139, $this->source), "html", null, true);
echo "\" class=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["btnClass3"] ?? null), 139, $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, 139), 139, $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 141
echo "
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-column.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 342 => 141, 329 => 139, 325 => 138, 319 => 136, 313 => 134, 309 => 132, 298 => 131, 293 => 130, 291 => 129, 287 => 128, 283 => 127, 276 => 122, 263 => 120, 259 => 119, 253 => 117, 247 => 115, 243 => 113, 232 => 112, 227 => 111, 225 => 110, 221 => 109, 217 => 108, 210 => 103, 197 => 101, 193 => 100, 188 => 98, 185 => 97, 179 => 95, 175 => 93, 164 => 92, 159 => 91, 157 => 90, 153 => 89, 149 => 88, 144 => 85, 140 => 83, 138 => 82, 134 => 81, 129 => 80, 125 => 78, 123 => 77, 120 => 76, 116 => 75, 110 => 145, 108 => 75, 102 => 73, 95 => 72, 92 => 71, 88 => 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 %}
{% if paragraph.field_go_link_3.0.value == \"Button\" %}
{% set btnClass3 = \"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 %}
{{ content.field_image_3 }}
{% if paragraph.field_heading_3_url is not empty %}
{% for item in paragraph.field_heading_3_url %}
<a>{{ content.field_heading_3 }}</a>
{% endfor %}
{% else %}
{{ content.field_heading_3 }}
{% endif %}
{{ content.field_body_3 }}
{% for item in paragraph.field_go_link_url_3 %}
<a>{{ item.title }}</a>
{% endfor %}
{% endblock %}
{% endblock paragraph %}
", "themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-column.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\paragraphs\\paragraph--list-widget-3-column.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 42, "if" => 52, "block" => 72, "for" => 91);
static $filters = array("clean_class" => 44, "escape" => 73);
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_8c462a3f96c3946416eee876132c1a04', 'themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-column.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-column.html.twig') (Line: 53)
twig_render_template('themes/custom/asc/templates/paragraphs/paragraph--list-widget-3-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).