Twig render events

The theme engine class provides these events:

Occurs immediately before twig theme engine renders a template.

  • Zikula\ThemeModule\Bridge\Event\TwigPreRenderEvent

Occurs immediately after twig theme engine renders a template.

  • Zikula\ThemeModule\Bridge\Event\TwigPostRenderEvent