Warning: touch(): Utime failed: Operation not permitted in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 100 of core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('673cd15ca2972_views-view-grid.html.twig_zBcJh4hmKcZAEsf9JivhpuzeR', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* themes/gavias_mion/templates/views/views-view-grid.html.twig */
class __TwigTemplate_4d0284480381e047b7e897cdf1c6ae3f extends Template
{
private Source $source;
/**
* @var array
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 30
$context["classes"] = ["views-view-grid", CoreExtension::getAttribute($this->env, $this->source, // line 32
($context["gva_masonry"] ?? null), "class", [], "any", false, false, true, 32), CoreExtension::getAttribute($this->env, $this->source, // line 33
($context["options"] ?? null), "alignment", [], "any", false, false, true, 33), ("cols-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 34
($context["options"] ?? null), "columns", [], "any", false, false, true, 34), 34, $this->source)), "clearfix"];
// line 38
yield "
";
// line 39
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 39) == "1")) {
// line 40
yield " ";
$context["xclass"] = ["col-lg-12 col-md-12 col-sm-12 col-xs-12"];
// line 41
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 41) == "2")) {
// line 42
yield " ";
$context["xclass"] = ["col-lg-6 col-md-6 col-sm-6 col-xs-12"];
// line 43
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 43) == "3")) {
// line 44
yield " ";
$context["xclass"] = ["col-lg-4 col-md-4 col-sm-4 col-xs-12"];
// line 45
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 45) == "4")) {
// line 46
yield " ";
$context["xclass"] = ["col-lg-3 col-md-3 col-sm-6 col-xs-12"];
// line 47
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 47) == "6")) {
// line 48
yield " ";
$context["xclass"] = ["col-lg-2 col-md-2 col-sm-6 col-xs-6"];
// line 49
yield " ";
} else {
// line 50
yield " ";
$context["xclass"] = ["col-lg-4 col-md-4 col-sm-4 col-xs-12"];
// line 51
yield " ";
}
yield "
";
// line 53
if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "row_class_default", [], "any", false, false, true, 53)) {
// line 54
yield " ";
// line 55
$context["row_classes"] = ["views-row row", (((CoreExtension::getAttribute($this->env, $this->source, // line 57
($context["options"] ?? null), "alignment", [], "any", false, false, true, 57) == "horizontal")) ? ("clearfix") : (""))];
}
// line 61
if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "col_class_default", [], "any", false, false, true, 61)) {
// line 62
yield " ";
// line 63
$context["col_classes"] = ["views-col", (((CoreExtension::getAttribute($this->env, $this->source, // line 65
($context["options"] ?? null), "alignment", [], "any", false, false, true, 65) == "vertical")) ? ("clearfix") : (""))];
}
// line 69
if (($context["title"] ?? null)) {
// line 70
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 70, $this->source), "html", null, true);
yield "
";
}
// line 72
yield "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [($context["classes"] ?? null)], "method", false, false, true, 72), 72, $this->source), "html", null, true);
yield ">
";
// line 73
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "alignment", [], "any", false, false, true, 73) == "horizontal")) {
// line 74
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 75
yield "
";
// line 76
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["gva_masonry"] ?? null), "class", [], "any", false, false, true, 76) == "")) {
// line 77
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["row"], "attributes", [], "any", false, false, true, 77), "addClass", [($context["row_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "row_class_default", [], "any", false, false, true, 77)) ? (("row-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 77), 77, $this->source))) : (""))], "method", false, false, true, 77), 77, $this->source), "html", null, true);
yield ">
";
}
// line 78
yield "
";
// line 80
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "content", [], "any", false, false, true, 80));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 81
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["column"], "attributes", [], "any", false, false, true, 81), "addClass", [($context["col_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "col_class_default", [], "any", false, false, true, 81)) ? (("col-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 81), 81, $this->source))) : ("")), ($context["xclass"] ?? null), CoreExtension::getAttribute($this->env, $this->source, ($context["gva_masonry"] ?? null), "class_item", [], "any", false, false, true, 81)], "method", false, false, true, 81), 81, $this->source), "html", null, true);
yield ">
";
// line 82
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "content", [], "any", false, false, true, 82), 82, $this->source), "html", null, true);
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
yield "
";
// line 86
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["gva_masonry"] ?? null), "class", [], "any", false, false, true, 86) == "")) {
// line 87
yield "
";
}
// line 88
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 91
yield " ";
} else {
// line 92
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 93
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["column"], "attributes", [], "any", false, false, true, 93), "addClass", [($context["col_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "col_class_default", [], "any", false, false, true, 93)) ? (("col-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 93), 93, $this->source))) : ("")), ($context["xclass"] ?? null)], "method", false, false, true, 93), 93, $this->source), "html", null, true);
yield ">
";
// line 94
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "content", [], "any", false, false, true, 94));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 95
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["row"], "attributes", [], "any", false, false, true, 95), "addClass", [($context["row_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "row_class_default", [], "any", false, false, true, 95)) ? (("row-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 95), 95, $this->source))) : (""))], "method", false, false, true, 95), 95, $this->source), "html", null, true);
yield ">
";
// line 96
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "content", [], "any", false, false, true, 96), 96, $this->source), "html", null, true);
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 99
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 101
yield " ";
}
// line 102
yield "
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["gva_masonry", "options", "title", "attributes", "items", "loop"]); yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/gavias_mion/templates/views/views-view-grid.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 304 => 102, 301 => 101, 286 => 99, 269 => 96, 264 => 95, 247 => 94, 242 => 93, 224 => 92, 221 => 91, 205 => 88, 201 => 87, 199 => 86, 196 => 85, 179 => 82, 174 => 81, 157 => 80, 153 => 78, 147 => 77, 145 => 76, 142 => 75, 124 => 74, 122 => 73, 117 => 72, 111 => 70, 109 => 69, 106 => 65, 105 => 63, 103 => 62, 101 => 61, 98 => 57, 97 => 55, 95 => 54, 93 => 53, 87 => 51, 84 => 50, 81 => 49, 78 => 48, 75 => 47, 72 => 46, 69 => 45, 66 => 44, 63 => 43, 60 => 42, 57 => 41, 54 => 40, 52 => 39, 49 => 38, 47 => 34, 46 => 33, 45 => 32, 44 => 30,);
}
public function getSourceContext(): Source
{
return new Source("", "themes/gavias_mion/templates/views/views-view-grid.html.twig", "/cmsserua/serua/mexico/EscuelasyFacultades/economia/themes/gavias_mion/templates/views/views-view-grid.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 30, "if" => 39, "for" => 74);
static $filters = array("escape" => 70);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape'],
[],
$this->source
);
} 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('673cd15ca2972_views-view-grid.html.twig_zBcJh4hmKcZAEsf9JivhpuzeR', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* themes/gavias_mion/templates/views/views-view-grid.html.twig */
class __TwigTemplate_4d0284480381e047b7e897cdf1c6ae3f extends Template
{
private Source $source;
/**
* @var array
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 30
$context["classes"] = ["views-view-grid", CoreExtension::getAttribute($this->env, $this->source, // line 32
($context["gva_masonry"] ?? null), "class", [], "any", false, false, true, 32), CoreExtension::getAttribute($this->env, $this->source, // line 33
($context["options"] ?? null), "alignment", [], "any", false, false, true, 33), ("cols-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 34
($context["options"] ?? null), "columns", [], "any", false, false, true, 34), 34, $this->source)), "clearfix"];
// line 38
yield "
";
// line 39
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 39) == "1")) {
// line 40
yield " ";
$context["xclass"] = ["col-lg-12 col-md-12 col-sm-12 col-xs-12"];
// line 41
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 41) == "2")) {
// line 42
yield " ";
$context["xclass"] = ["col-lg-6 col-md-6 col-sm-6 col-xs-12"];
// line 43
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 43) == "3")) {
// line 44
yield " ";
$context["xclass"] = ["col-lg-4 col-md-4 col-sm-4 col-xs-12"];
// line 45
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 45) == "4")) {
// line 46
yield " ";
$context["xclass"] = ["col-lg-3 col-md-3 col-sm-6 col-xs-12"];
// line 47
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "columns", [], "any", false, false, true, 47) == "6")) {
// line 48
yield " ";
$context["xclass"] = ["col-lg-2 col-md-2 col-sm-6 col-xs-6"];
// line 49
yield " ";
} else {
// line 50
yield " ";
$context["xclass"] = ["col-lg-4 col-md-4 col-sm-4 col-xs-12"];
// line 51
yield " ";
}
yield "
";
// line 53
if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "row_class_default", [], "any", false, false, true, 53)) {
// line 54
yield " ";
// line 55
$context["row_classes"] = ["views-row row", (((CoreExtension::getAttribute($this->env, $this->source, // line 57
($context["options"] ?? null), "alignment", [], "any", false, false, true, 57) == "horizontal")) ? ("clearfix") : (""))];
}
// line 61
if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "col_class_default", [], "any", false, false, true, 61)) {
// line 62
yield " ";
// line 63
$context["col_classes"] = ["views-col", (((CoreExtension::getAttribute($this->env, $this->source, // line 65
($context["options"] ?? null), "alignment", [], "any", false, false, true, 65) == "vertical")) ? ("clearfix") : (""))];
}
// line 69
if (($context["title"] ?? null)) {
// line 70
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 70, $this->source), "html", null, true);
yield "
";
}
// line 72
yield "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [($context["classes"] ?? null)], "method", false, false, true, 72), 72, $this->source), "html", null, true);
yield ">
";
// line 73
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "alignment", [], "any", false, false, true, 73) == "horizontal")) {
// line 74
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 75
yield "
";
// line 76
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["gva_masonry"] ?? null), "class", [], "any", false, false, true, 76) == "")) {
// line 77
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["row"], "attributes", [], "any", false, false, true, 77), "addClass", [($context["row_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "row_class_default", [], "any", false, false, true, 77)) ? (("row-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 77), 77, $this->source))) : (""))], "method", false, false, true, 77), 77, $this->source), "html", null, true);
yield ">
";
}
// line 78
yield "
";
// line 80
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "content", [], "any", false, false, true, 80));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 81
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["column"], "attributes", [], "any", false, false, true, 81), "addClass", [($context["col_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "col_class_default", [], "any", false, false, true, 81)) ? (("col-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 81), 81, $this->source))) : ("")), ($context["xclass"] ?? null), CoreExtension::getAttribute($this->env, $this->source, ($context["gva_masonry"] ?? null), "class_item", [], "any", false, false, true, 81)], "method", false, false, true, 81), 81, $this->source), "html", null, true);
yield ">
";
// line 82
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "content", [], "any", false, false, true, 82), 82, $this->source), "html", null, true);
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
yield "
";
// line 86
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["gva_masonry"] ?? null), "class", [], "any", false, false, true, 86) == "")) {
// line 87
yield "
";
}
// line 88
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 91
yield " ";
} else {
// line 92
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 93
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["column"], "attributes", [], "any", false, false, true, 93), "addClass", [($context["col_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "col_class_default", [], "any", false, false, true, 93)) ? (("col-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 93), 93, $this->source))) : ("")), ($context["xclass"] ?? null)], "method", false, false, true, 93), 93, $this->source), "html", null, true);
yield ">
";
// line 94
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "content", [], "any", false, false, true, 94));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 95
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["row"], "attributes", [], "any", false, false, true, 95), "addClass", [($context["row_classes"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "row_class_default", [], "any", false, false, true, 95)) ? (("row-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 95), 95, $this->source))) : (""))], "method", false, false, true, 95), 95, $this->source), "html", null, true);
yield ">
";
// line 96
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "content", [], "any", false, false, true, 96), 96, $this->source), "html", null, true);
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 99
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 101
yield " ";
}
// line 102
yield "
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["gva_masonry", "options", "title", "attributes", "items", "loop"]); yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/gavias_mion/templates/views/views-view-grid.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 304 => 102, 301 => 101, 286 => 99, 269 => 96, 264 => 95, 247 => 94, 242 => 93, 224 => 92, 221 => 91, 205 => 88, 201 => 87, 199 => 86, 196 => 85, 179 => 82, 174 => 81, 157 => 80, 153 => 78, 147 => 77, 145 => 76, 142 => 75, 124 => 74, 122 => 73, 117 => 72, 111 => 70, 109 => 69, 106 => 65, 105 => 63, 103 => 62, 101 => 61, 98 => 57, 97 => 55, 95 => 54, 93 => 53, 87 => 51, 84 => 50, 81 => 49, 78 => 48, 75 => 47, 72 => 46, 69 => 45, 66 => 44, 63 => 43, 60 => 42, 57 => 41, 54 => 40, 52 => 39, 49 => 38, 47 => 34, 46 => 33, 45 => 32, 44 => 30,);
}
public function getSourceContext(): Source
{
return new Source("", "themes/gavias_mion/templates/views/views-view-grid.html.twig", "/cmsserua/serua/mexico/EscuelasyFacultades/economia/themes/gavias_mion/templates/views/views-view-grid.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 30, "if" => 39, "for" => 74);
static $filters = array("escape" => 70);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape'],
[],
$this->source
);
} 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: 382)
Twig\Environment->loadTemplate('__TwigTemplate_4d0284480381e047b7e897cdf1c6ae3f', 'themes/gavias_mion/templates/views/views-view-grid.html.twig') (Line: 343)
Twig\Environment->load('themes/gavias_mion/templates/views/views-view-grid.html.twig') (Line: 33)
twig_render_template('themes/gavias_mion/templates/views/views-view-grid.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('views_view_grid', Array) (Line: 491)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 504)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90)
__TwigTemplate_644386507923f4aabda340785a37fb54->doDisplay(Array, Array) (Line: 393)
Twig\Template->yield(Array, Array) (Line: 349)
Twig\Template->display(Array) (Line: 364)
Twig\Template->render(Array) (Line: 35)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('core/modules/views/templates/views-view.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('views_view', Array) (Line: 491)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 504)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 231)
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: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)