var/cache/dev/twig/34/34eeb4cb4d6eb99c64fc4f0e4cb663c8.php line 49

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. /* areas/image/view.html.twig */
  14. class __TwigTemplate_850f83e441522c3fd04b2f7d43849dee 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/image/view.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/image/view.html.twig"));
  33.         // line 1
  34.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("includes/macros.html.twig""areas/image/view.html.twig"1)->unwrap();
  35.         // line 2
  36.         echo "
  37. <section class=\"area-image d-block\">
  38.     ";
  39.         // line 4
  40.         echo twig_call_macro($macros["macros"], "macro_image_link", [$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image", ["thumbnail" => "content""imgAttributes" => ["class" => "img-responsive"]]), (isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'4$this->source); })()), "galleryLightbox"], 4$context$this->getSourceContext());
  41.         echo "
  42. </section>
  43. ";
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     public function getTemplateName()
  50.     {
  51.         return "areas/image/view.html.twig";
  52.     }
  53.     public function isTraitable()
  54.     {
  55.         return false;
  56.     }
  57.     public function getDebugInfo()
  58.     {
  59.         return array (  49 => 4,  45 => 2,  43 => 1,);
  60.     }
  61.     public function getSourceContext()
  62.     {
  63.         return new Source("{% import 'includes/macros.html.twig' as macros %}
  64. <section class=\"area-image d-block\">
  65.     {{ macros.image_link(pimcore_image('image', { thumbnail: 'content', imgAttributes: {class: 'img-responsive'}}), editmode, 'galleryLightbox') }}
  66. </section>
  67. ""areas/image/view.html.twig""/var/www/html/pimcore/templates/areas/image/view.html.twig");
  68.     }
  69. }