cms.page.initComponents

Triggered in Cms\Classes\Controller.

Fires after the components for the given page have been initialized

Example usage:

Event::listen('cms.page.initComponents', function ((\Cms\Classes\Controller) $controller, (\Cms\Classes\Page) $page, (\Cms\Classes\Layout) $layout) {
    \Log::info($page->title . ' components have been initialized');
});

Or

$controller->bindEvent('page.initComponents', function ((\Cms\Classes\Page) $page, (\Cms\Classes\Layout) $layout) {
    \Log::info($page->title . ' components have been initialized');
});