<?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;
/* default/content.html.twig */
class __TwigTemplate_2030c1f42456075421f8e91ba0ce89ba extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layouts/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/content.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/content.html.twig"));
$this->parent = $this->loadTemplate("layouts/layout.html.twig", "default/content.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "Areablock", ["allowed" => ["header", "contact-header", "teaser", "suche", "text", "call-to-action", "downloads", "cards", "bild-text-text-bild", "contact-form", "error-page", "benefits", "media-slider", "order-form"], "sorting" => ["header", "content-header", "contact-header", "teaser-header", "news-teaser", "history-teaser", "news-overview", "teaser", "cards", "suche", "text", "call-to-action", "zitat-bild", "zitat-teaser", "zitat-teaser-secondary", "downloads", "download", "bild-text-text-bild", "image-gallery", "media-slider", "contact-form", "order-form", "accordion", "team", "error-page", "benefits"], "group" => ["Header" => ["header", "content-header", "contact-header", "teaser-header", "suche", "error-page"], "Teaser" => ["news-teaser", "teaser", "cards", "history-teaser", "bild-text-text-bild"], "Inhalt Elemente" => ["text", "call-to-action", "zitat-bild", "zitat-teaser", "zitat-teaser-secondary", "downloads", "download", "image-gallery", "media-slider", "news-overview", "contact-form", "order-form", "accordion", "team", "benefits"]], "limits" => ["header" => 1, "news-teaser" => 1, "history-teaser" => 1], "globalParams" => ["deviceType" => $this->sandbox->ensureToStringAllowed( // line 89
(isset($context["deviceType"]) || array_key_exists("deviceType", $context) ? $context["deviceType"] : (function () { throw new RuntimeError('Variable "deviceType" does not exist.', 89, $this->source); })()), 89, $this->source), "searchCX" => $this->sandbox->ensureToStringAllowed( // line 90
(isset($context["searchCX"]) || array_key_exists("searchCX", $context) ? $context["searchCX"] : (function () { throw new RuntimeError('Variable "searchCX" does not exist.', 90, $this->source); })()), 90, $this->source)], "params" => ["contact-form" => ["form" => $this->sandbox->ensureToStringAllowed( // line 94
(isset($context["contactForm"]) || array_key_exists("contactForm", $context) ? $context["contactForm"] : (function () { throw new RuntimeError('Variable "contactForm" does not exist.', 94, $this->source); })()), 94, $this->source), "success" => $this->sandbox->ensureToStringAllowed( // line 95
(isset($context["success"]) || array_key_exists("success", $context) ? $context["success"] : (function () { throw new RuntimeError('Variable "success" does not exist.', 95, $this->source); })()), 95, $this->source)], "order-form" => ["form" => $this->sandbox->ensureToStringAllowed( // line 98
(isset($context["orderForm"]) || array_key_exists("orderForm", $context) ? $context["orderForm"] : (function () { throw new RuntimeError('Variable "orderForm" does not exist.', 98, $this->source); })()), 98, $this->source), "success" => $this->sandbox->ensureToStringAllowed( // line 99
(isset($context["success2"]) || array_key_exists("success2", $context) ? $context["success2"] : (function () { throw new RuntimeError('Variable "success2" does not exist.', 99, $this->source); })()), 99, $this->source)]]]);
// line 102
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "default/content.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 87 => 102, 85 => 99, 84 => 98, 83 => 95, 82 => 94, 81 => 90, 80 => 89, 78 => 4, 65 => 3, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'layouts/layout.html.twig' %}
{% block content %}
{{ pimcore_areablock('Areablock', {
'allowed': [
'header',
'contact-header',
'teaser',
'suche',
'text',
'call-to-action',
'downloads',
'cards',
'bild-text-text-bild',
'contact-form',
'error-page',
'benefits',
'media-slider',
'order-form',
],
'sorting': [
'header',
'content-header',
'contact-header',
'teaser-header',
'news-teaser',
'history-teaser',
'news-overview',
'teaser',
'cards',
'suche',
'text',
'call-to-action',
'zitat-bild',
'zitat-teaser',
'zitat-teaser-secondary',
'downloads',
'download',
'bild-text-text-bild',
'image-gallery',
'media-slider',
'contact-form',
'order-form',
'accordion',
'team',
'error-page',
'benefits'
],
'group': {
'Header' : [
'header',
'content-header',
'contact-header',
'teaser-header',
'suche',
'error-page'
],
'Teaser': [
'news-teaser',
'teaser',
'cards',
'history-teaser',
'bild-text-text-bild'
],
'Inhalt Elemente': [
'text',
'call-to-action',
'zitat-bild',
'zitat-teaser',
'zitat-teaser-secondary',
'downloads',
'download',
'image-gallery',
'media-slider',
'news-overview',
'contact-form',
'order-form',
'accordion',
'team',
'benefits'
]
},
'limits': {
'header': 1,
'news-teaser': 1,
'history-teaser' : 1
},
'globalParams': {
'deviceType': deviceType,
'searchCX' : searchCX
},
'params': {
'contact-form' : {
form : contactForm,
success : success
},
'order-form' : {
form : orderForm,
success : success2
}
}
}) }}
{% endblock %}", "default/content.html.twig", "/home/httpd/vhosts/annavation.a4interactive.ch/httpdocs/dev/templates/default/content.html.twig");
}
public function checkSecurity()
{
static $tags = ["extends" => 1];
static $filters = [];
static $functions = ["pimcore_areablock" => 4];
try {
$this->sandbox->checkSecurity(
['extends'],
[],
['pimcore_areablock'],
$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;
}
}
}