var/cache/dev_hc896b0aecebc6aae6bec469c82cd525f/twig/b4/b46d0d6f99b5031103e7c34db76f65c4fb19a3037c5a99051f4bacf1ad5aa446.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @MoorlFoundation/storefront/section/cms-section-block-container.html.twig */
  16. class __TwigTemplate_6bd1a04fbfdbce02f47a61ef48c18a4a extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'section_content_block' => [$this'block_section_content_block'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@NetzpPowerPack6/storefront/section/cms-section-block-container.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@MoorlFoundation/storefront/section/cms-section-block-container.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@MoorlFoundation/storefront/section/cms-section-block-container.html.twig"));
  40.         $this->parent $this->loadTemplate("@NetzpPowerPack6/storefront/section/cms-section-block-container.html.twig""@MoorlFoundation/storefront/section/cms-section-block-container.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_section_content_block($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_content_block"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_content_block"));
  55.         // line 4
  56.         echo "    ";
  57.         $context["blockBehaviour"] = $this->extensions['MoorlFoundation\Core\Framework\Twig\AnimatedExtension']->blockBehaviour(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["block"] ?? null), "customFields", [], "any"falsefalsefalse4), "moorl_block_behaviour", [], "any"falsefalsefalse4));
  58.         // line 5
  59.         echo "
  60.     ";
  61.         // line 6
  62.         if (($context["blockBehaviour"] ?? null)) {
  63.             // line 7
  64.             echo "        <div class='";
  65.             echo sw_escape_filter($this->env, ($context["blockBehaviour"] ?? null), "html"nulltrue);
  66.             echo "'>";
  67.             $this->displayParentBlock("section_content_block"$context$blocks);
  68.             echo "</div>
  69.     ";
  70.         } else {
  71.             // line 9
  72.             echo "        ";
  73.             $this->displayParentBlock("section_content_block"$context$blocks);
  74.             echo "
  75.     ";
  76.         }
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.     }
  82.     public function getTemplateName()
  83.     {
  84.         return "@MoorlFoundation/storefront/section/cms-section-block-container.html.twig";
  85.     }
  86.     public function isTraitable()
  87.     {
  88.         return false;
  89.     }
  90.     public function getDebugInfo()
  91.     {
  92.         return array (  84 => 9,  76 => 7,  74 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  93.     }
  94.     public function getSourceContext()
  95.     {
  96.         return new Source("{% sw_extends '@Storefront/storefront/section/cms-section-block-container.html.twig' %}
  97. {% block section_content_block %}
  98.     {% set blockBehaviour = moorl_block_behaviour(block.customFields.moorl_block_behaviour) %}
  99.     {% if blockBehaviour %}
  100.         <div class='{{ blockBehaviour }}'>{{ parent() }}</div>
  101.     {% else %}
  102.         {{ parent() }}
  103.     {% endif %}
  104. {% endblock %}
  105. ""@MoorlFoundation/storefront/section/cms-section-block-container.html.twig""/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/vendor/store.shopware.com/moorlfoundation/src/Resources/views/storefront/section/cms-section-block-container.html.twig");
  106.     }
  107. }