var/cache/dev/twig/ce/ce0213eaf2f90ab30f28cb10116681fc.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\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* pages/cms/content-types/ct_content_page.html.twig */
  16. class __TwigTemplate_862ff8d8cf198e1ca71cab51205d7ba9 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. ];
  30. }
  31. protected function doDisplay(array $context, array $blocks = []): iterable
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/cms/content-types/ct_content_page.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/cms/content-types/ct_content_page.html.twig"));
  38. // line 1
  39. yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 1)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 2
  40. (isset($context["cmsContent"]) || array_key_exists("cmsContent", $context) ? $context["cmsContent"] : (function () { throw new RuntimeError('Variable "cmsContent" does not exist.', 2, $this->source); })()), "content", [], "any", false, false, false, 2), "body", [], "any", false, false, false, 2)]));
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43. yield from [];
  44. }
  45. /**
  46. * @codeCoverageIgnore
  47. */
  48. public function getTemplateName(): string
  49. {
  50. return "pages/cms/content-types/ct_content_page.html.twig";
  51. }
  52. /**
  53. * @codeCoverageIgnore
  54. */
  55. public function isTraitable(): bool
  56. {
  57. return false;
  58. }
  59. /**
  60. * @codeCoverageIgnore
  61. */
  62. public function getDebugInfo(): array
  63. {
  64. return array ( 49 => 2, 48 => 1,);
  65. }
  66. public function getSourceContext(): Source
  67. {
  68. return new Source("{% include 'components/organisms/storyblok/storyblok.html.twig' with {
  69. 'componentData': cmsContent.content.body
  70. }%}", "pages/cms/content-types/ct_content_page.html.twig", "/var/www/html/templates/default/pages/cms/content-types/ct_content_page.html.twig");
  71. }
  72. }