cms.template.processTwigContent

Triggered in Cms\Twig\Loader.

Provides an oportunity to modify Twig content before being processed by Twig. $dataHolder = {content: $twigContent}

Example usage:

Event::listen('cms.template.processTwigContent', function ((\Cms\Classes\CmsObject) $thisObject, (object) $dataHolder) {
    $dataHolder->content = "NO CONTENT FOR YOU!";
});