framework/RedKiteCms/Plugin/PluginManager.php
public function boot()
    {
        $pluginFolders = $this->configurationHandler->pluginFolders();
        $this->core = $this->findPlugins($this->configurationHandler->corePluginsDir() . "/Core");
        foreach ($pluginFolders as $pluginFolder) {
            $this->blocks += $this->findPlugins($pluginFolder . "/Block");
            $this->themes += $this->findPlugins($pluginFolder . "/Theme");
        }

        return $this;
    }
public function boot()
    {
        $pluginFolders = $this->configurationHandler->pluginFolders();
        $this->core = $this->findPlugins($this->configurationHandler->corePluginsDir() . "/Core");
        foreach ($pluginFolders as $pluginFolder) {
            $this->blocks += $this->findPlugins($pluginFolder . "/Block");
            $this->themes += $this->findPlugins($pluginFolder . "/Theme");
        }

        return $this;
    }
Boots the plugin manager

@return $this