src/Plugin/PluginManager.php
public function getPluginList() {
        $arrayPluginList = array();
        try {
            //Iterate over the plugins paths
            foreach ($this->pluginPaths as $path) {
                //Search new plugins
                $newPluginsDiscover = $this->pluginLocator->discoverPlugins($this->autoloader->getURLBase().$path);

                //Instantiate the plugins
                $listOfPluginsDiscover = $this->createPluginInstances($newPluginsDiscover);
                foreach ($listOfPluginsDiscover as $newPlugin) {
                    $arrayPluginList[] = array('plugin'=>$newPlugin['plugin'], 'enabled'=>$newPlugin['enabled']);
                }
            }
        } catch (\Exception $e) {
            throw new PluginException('Plugin Manager: Can not init all plugins. '
                    . 'Please find attach the error from the '
                    . 'initialization:'. $e->getMessage());
        }
        return (array)$arrayPluginList;
    }
public function getPluginList() {
        $arrayPluginList = array();
        try {
            //Iterate over the plugins paths
            foreach ($this->pluginPaths as $path) {
                //Search new plugins
                $newPluginsDiscover = $this->pluginLocator->discoverPlugins($this->autoloader->getURLBase().$path);

                //Instantiate the plugins
                $listOfPluginsDiscover = $this->createPluginInstances($newPluginsDiscover);
                foreach ($listOfPluginsDiscover as $newPlugin) {
                    $arrayPluginList[] = array('plugin'=>$newPlugin['plugin'], 'enabled'=>$newPlugin['enabled']);
                }
            }
        } catch (\Exception $e) {
            throw new PluginException('Plugin Manager: Can not init all plugins. '
                    . 'Please find attach the error from the '
                    . 'initialization:'. $e->getMessage());
        }
        return (array)$arrayPluginList;
    }
Return the list of all plugin available, installed and not installed.

@return array PluginInterface
@throws PluginException