diff --git a/modules/system/classes/PluginManager.php b/modules/system/classes/PluginManager.php index d5caf21cb..dff071c75 100644 --- a/modules/system/classes/PluginManager.php +++ b/modules/system/classes/PluginManager.php @@ -346,15 +346,24 @@ class PluginManager /** * Returns an array with all enabled plugins - * The index is the plugin namespace, the value is the plugin information object. * - * @return array + * @return array [$code => $pluginObj] */ public function getPlugins() { return array_diff_key($this->plugins, $this->disabledPlugins); } + /** + * Returns an array will all plugins detected on the filesystem + * + * @return array [$code => $pluginObj] + */ + public function getAllPlugins() + { + return $this->plugins; + } + /** * Returns a plugin registration class based on its namespace (Author\Plugin). *