cms.template.processSettingsAfterLoad

Triggered in Cms\Controllers\Index.

Fires immediately after a CMS template (page|partial|layout|content|asset) has been loaded and provides an opportunity to interact with it.

Example usage:

Event::listen('cms.template.processSettingsAfterLoad', function ((\Cms\Controllers\Index) $controller, (mixed) $templateObject) {
    // Make some modifications to the $template object
});

Or

$CmsIndexController->bindEvent('template.processSettingsAfterLoad', function ((mixed) $templateObject) {
    // Make some modifications to the $template object
});