cms.block.render

Triggered in Cms\Twig\Extension.

Provides an opportunity to modify the rendered block content

Example usage:

Event::listen('cms.block.render', function ((string) $name, (string) $result) {
    if ($name === 'myBlockName') {
        return 'my custom content';
    }
});