var/cache/dev/twig/ac/acf00736776dae94b25f0c8ff19d281d.php line 47

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig */
  14. class __TwigTemplate_7026a4218e00e8d0671a2184814ac606 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig"));
  35.         // line 1
  36.         $macros["wrap_macro"] = $this->macros["wrap_macro"] = $this->loadTemplate("@FoxHabbitBasis/Macro/wrap.html.twig""@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig"1)->unwrap();
  37.         // line 2
  38.         echo twig_call_macro($macros["wrap_macro"], "macro_wrapperOpen", [twig_get_attribute($this->env$this->source, (isset($context["config"]) || array_key_exists("config"$context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.'2$this->source); })()), "box_wrapper", [], "any"falsefalsetrue2), $context], 2$context$this->getSourceContext());
  39.         echo "
  40. ";
  41.         // line 3
  42.         echo twig_call_macro($macros["wrap_macro"], "macro_wrapperClose", [twig_get_attribute($this->env$this->source, (isset($context["config"]) || array_key_exists("config"$context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.'3$this->source); })()), "box_wrapper", [], "any"falsefalsetrue3), $context], 3$context$this->getSourceContext());
  43.         echo "
  44. ";
  45.         // line 4
  46.         echo twig_call_macro($macros["wrap_macro"], "macro_wrapperOpen", [twig_get_attribute($this->env$this->source, (isset($context["config"]) || array_key_exists("config"$context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.'4$this->source); })()), "content_wrapper", [], "any"falsefalsetrue4), $context], 4$context$this->getSourceContext());
  47.         echo "
  48.     ";
  49.         // line 5
  50.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""c", ["allowed" => ((twig_get_attribute($this->env$this->source,         // line 6
  51. ($context["config"] ?? null), "valid_bricks", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "valid_bricks", [], "any"falsefalsetrue6), 6$this->source), $this->extensions['FoxHabbit\BasisBundle\Twig\Extension\ToolExtension']->toolAreabricksGetList(((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_regex", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_regex", [], "any"falsefalsetrue6), 6$this->source), "/-content-/")) : ("/-content-/")), ((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_include", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_include", [], "any"falsefalsetrue6), 6$this->source), null)) : (null)), ((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any"falsefalsetrue6), 6$this->source), null)) : (null))))) : ($this->extensions['FoxHabbit\BasisBundle\Twig\Extension\ToolExtension']->toolAreabricksGetList(((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_regex", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_regex", [], "any"falsefalsetrue6), 6$this->source), "/-content-/")) : ("/-content-/")), ((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_include", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_include", [], "any"falsefalsetrue6), 6$this->source), null)) : (null)), ((twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any"truetruetrue6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any"falsefalsetrue6), 6$this->source), null)) : (null))))), "params" => ((twig_get_attribute($this->env$this->source,         // line 7
  52. ($context["config"] ?? null), "params", [], "any"truetruetrue7)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["config"] ?? null), "params", [], "any"falsefalsetrue7), 7$this->source), [])) : ([]))]);
  53.         // line 8
  54.         echo "
  55. ";
  56.         // line 9
  57.         echo twig_call_macro($macros["wrap_macro"], "macro_wrapperClose", [twig_get_attribute($this->env$this->source, (isset($context["config"]) || array_key_exists("config"$context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.'9$this->source); })()), "content_wrapper", [], "any"falsefalsetrue9), $context], 9$context$this->getSourceContext());
  58.         echo "
  59. ";
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.     }
  65.     public function getTemplateName()
  66.     {
  67.         return "@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig";
  68.     }
  69.     public function isTraitable()
  70.     {
  71.         return false;
  72.     }
  73.     public function getDebugInfo()
  74.     {
  75.         return array (  66 => 9,  63 => 8,  61 => 7,  60 => 6,  59 => 5,  55 => 4,  51 => 3,  47 => 2,  45 => 1,);
  76.     }
  77.     public function getSourceContext()
  78.     {
  79.         return new Source("{% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
  80. {{ wrap_macro.wrapperOpen( config.box_wrapper, _context) }}
  81. {{ wrap_macro.wrapperClose( config.box_wrapper, _context) }}
  82. {{ wrap_macro.wrapperOpen( config.content_wrapper, _context) }}
  83.     {{pimcore_areablock('c', {
  84.         allowed: config.valid_bricks|default(foxhabbit_common_tool_areabricks_get_list( config.areabricks_regex|default('/-content-/'), config.areabricks_include|default(null), config.areabricks_exclude|default(null))),
  85.         params: config.params|default({})}
  86.     ) }}
  87. {{ wrap_macro.wrapperClose( config.content_wrapper, _context) }}
  88. ""@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig""/srv/httpd/vhosts/lorch-test/releases/51/src/AppBundle/Resources/views/Areas/content/appbundle-content-parallax-box/variant-default.html.twig");
  89.     }
  90.     
  91.     public function checkSecurity()
  92.     {
  93.         static $tags = array("import" => 1);
  94.         static $filters = array("default" => 6);
  95.         static $functions = array("pimcore_areablock" => 5"foxhabbit_common_tool_areabricks_get_list" => 6);
  96.         try {
  97.             $this->sandbox->checkSecurity(
  98.                 ['import'],
  99.                 ['default'],
  100.                 ['pimcore_areablock''foxhabbit_common_tool_areabricks_get_list']
  101.             );
  102.         } catch (SecurityError $e) {
  103.             $e->setSourceContext($this->source);
  104.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  105.                 $e->setTemplateLine($tags[$e->getTagName()]);
  106.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  107.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  108.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  109.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  110.             }
  111.             throw $e;
  112.         }
  113.     }
  114. }