cms.page.renderPartial

Triggered in Cms\Classes\Controller.

Provides an oportunity to manipulate the output of a partial after being rendered

Example usage:

Event::listen('cms.page.renderPartial', function ((\Cms\Classes\Controller) $controller, (string) $partialName, (string) &$partialContent) {
    return "Overriding content";
});

Or

$CmsController->bindEvent('page.renderPartial', function ((string) $partialName, (string) &$partialContent) {
    return "Overriding content";
});