/** * Load all plugin that have been loaded to the queue */ public function load() { $this->buildAllowanceTables($this->pluginsToLoad); foreach ($this->pluginsToLoad as $packageName => $plugins) { foreach ($plugins as $pluginName) { $this->usePlugin($packageName, $pluginName); } HookManager::callHook("AfterThisPluginTreeInit"); HookManager::unRegisterHook("AfterThisPluginTreeInit"); } $this->customConfigs = new Config(); }