/** * 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; }
/** * Constructor * * @param \RedKiteCms\Configuration\ConfigurationHandler $configurationHandler * @param \RedKiteCms\Content\SlotsManager\SlotsManagerFactoryInterface $slotsManagerFactory */ public function __construct(ConfigurationHandler $configurationHandler, SlotsManagerFactoryInterface $slotsManagerFactory) { parent::__construct($configurationHandler); $this->slotsManagerFactory = $slotsManagerFactory; }