Triggered when LemonStand determines an active CMS theme.
Use this event to force a specific theme to be used, ignoring the currently default CMS theme.
The handler should return a
Cms_Theme object representing a theme which should be used.
public function subscribeEvents()
{
Backend::$events->addEvent('cms:onGetActiveTheme', $this, 'get_active_theme');
}
public function get_active_theme()
{
return Cms_Theme::create()->find_by_code('utility');
}