framework/RedKiteCms/Content/Theme/Theme.php
public function boot(Plugin $theme)
    {
        $this->plugin = $theme;

        parent::boot($theme);

        $this->initTemplates();
        $this->initHomepageTemplate();

        return $this;
    }
public function boot(Plugin $theme)
    {
        $this->plugin = $theme;

        parent::boot($theme);

        $this->initTemplates();
        $this->initHomepageTemplate();

        return $this;
    }
Boots the theme from the given theme plugin

@param \RedKiteCms\Plugin\Plugin $theme

@return $this