var/cache/dev_h709f23ac6750a26dad7ce174fa60cb15/twig/6c/6cc577251f6d77ca5bc51ecb4482016031632e934abee5f23fac746af17668f4.php line 40

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. /* @SwagPayPal/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_c1d1eebe036f2bb8b6b0ea57776819b4 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.             'layout_head_javascript_hmr_mode' => [$this'block_layout_head_javascript_hmr_mode'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@MoorlFoundation/storefront/layout/meta.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""@SwagPayPal/storefront/layout/meta.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""@SwagPayPal/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@MoorlFoundation/storefront/layout/meta.html.twig""@SwagPayPal/storefront/layout/meta.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_layout_head_javascript_hmr_mode($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""layout_head_javascript_hmr_mode"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_hmr_mode"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("layout_head_javascript_hmr_mode"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         if ((($__internal_compile_0 sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse6)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_constant("Swag\\PayPal\\Checkout\\Plus\\PlusSubscriber::PAYPAL_PLUS_DATA_EXTENSION_ID")] ?? null) : null)) {
  62.             // line 7
  63.             echo "        <script src=\"https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js\"></script>
  64.     ";
  65.         }
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     public function getTemplateName()
  72.     {
  73.         return "@SwagPayPal/storefront/layout/meta.html.twig";
  74.     }
  75.     public function isTraitable()
  76.     {
  77.         return false;
  78.     }
  79.     public function getDebugInfo()
  80.     {
  81.         return array (  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  82.     }
  83.     public function getSourceContext()
  84.     {
  85.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  86. {% block layout_head_javascript_hmr_mode %}
  87.     {{ parent() }}
  88.     {% if page.extensions[constant('Swag\\\\PayPal\\\\Checkout\\\\Plus\\\\PlusSubscriber::PAYPAL_PLUS_DATA_EXTENSION_ID')] %}
  89.         <script src=\"https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js\"></script>
  90.     {% endif %}
  91. {% endblock %}
  92. ""@SwagPayPal/storefront/layout/meta.html.twig""/var/customers/webs/fporzellan/htdocs/custom/plugins/SwagPayPal/src/Resources/views/storefront/layout/meta.html.twig");
  93.     }
  94. }