var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/3a/3ad3258592ab3efe7964b97870e334fbb20e885716b0b91a3c72c69a6014c9d2.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_e0af038e96443897b4fd316756ce0957bb4028373903d53ffdd2c322019e9db6 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 "@Storefront/storefront/section/cms-section-block-container.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@MoorlFoundation/storefront/section/cms-section-block-container.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@MoorlFoundation/storefront/section/cms-section-block-container.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_section_content_block($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_content_block"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_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""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/MoorlFoundation/src/Resources/views/storefront/section/cms-section-block-container.html.twig");
  106.     }
  107. }