framework/RedKiteCms/Rendering/PageRenderer/PageRendererBackend.php
protected function generateEventNames($baseEventName, Page $page)
    {
        $pageName = $page->getPageName();
        $language = $page->getCurrentLanguage();

        return array(
            $baseEventName,
            $baseEventName . '.' . $language,
            $baseEventName . '.' . $pageName,
            $baseEventName . '.' . $language . '.' . $pageName,
        );
    }
protected function generateEventNames($baseEventName, Page $page)
    {
        $pageName = $page->getPageName();
        $language = $page->getCurrentLanguage();

        return array(
            $baseEventName,
            $baseEventName . '.' . $language,
            $baseEventName . '.' . $pageName,
            $baseEventName . '.' . $language . '.' . $pageName,
        );
    }
Generates the events based on the current page.

RedKite CMS will generate four events:

1. [ Base render name ] This event is used to change a slot content for the entire site
2. [ Base render name ].[ Language ] This event is used to change a slot content for the event language
3. [ Base render name ].[ Page ] This event is used to change a slot content for the event page collection
4. [ Base render name ].[ Language ].[ Page ] This event is used to change a slot content for the event page and
language

@param $baseEventName
@param \RedKiteCms\FilesystemEntity\Page $page

@return array