예제 #1
0
 /**
  * Boots the theme from the given theme plugin
  *
  * @param \RedKiteCms\Plugin\Plugin $theme
  *
  * @return $this
  */
 public function boot(Plugin $theme)
 {
     $this->plugin = $theme;
     parent::boot($theme);
     $this->initTemplates();
     $this->initHomepageTemplate();
     return $this;
 }