public function listAvailablePluginsByType()
    {
        $list = [];
        foreach ($this->config['rcmPlugin'] as $name => $data) {
            $displayName = $name;
            $type = 'Misc';
            $icon = $this->config['Rcm']['defaultPluginIcon'];
            if (isset($data['type'])) {
                $type = $data['type'];
            }
            if (isset($data['display'])) {
                $displayName = $data['display'];
            }
            if (isset($data['icon']) && !empty($data['icon'])) {
                $icon = $data['icon'];
            }
            $list[$type][$name] = [
                'name' => $name,
                'displayName' => $displayName,
                'icon' => $icon,
                'siteWide' => false // @deprecated <deprecated-site-wide-plugin>
            ];
        }

        return $list;
    }
public function listAvailablePluginsByType()
    {
        $list = [];
        foreach ($this->config['rcmPlugin'] as $name => $data) {
            $displayName = $name;
            $type = 'Misc';
            $icon = $this->config['Rcm']['defaultPluginIcon'];
            if (isset($data['type'])) {
                $type = $data['type'];
            }
            if (isset($data['display'])) {
                $displayName = $data['display'];
            }
            if (isset($data['icon']) && !empty($data['icon'])) {
                $icon = $data['icon'];
            }
            $list[$type][$name] = [
                'name' => $name,
                'displayName' => $displayName,
                'icon' => $icon,
                'siteWide' => false // @deprecated <deprecated-site-wide-plugin>
            ];
        }

        return $list;
    }
public function listAvailablePluginsByType ( ) { $ list = [ ] ; foreach ( $ this -> config [ 'rcmPlugin' ] as $ name => $ data ) { $ displayName = $ name ; $ type = 'Misc' ; $ icon = $ this -> config [ 'Rcm' ] [ 'defaultPluginIcon' ] ; if ( isset ( $ data [ 'type' ] ) ) { $ type = $ data [ 'type' ] ; } if ( isset ( $ data [ 'display' ] ) ) { $ displayName = $ data [ 'display' ] ; } if ( isset ( $ data [ 'icon' ] ) && ! empty ( $ data [ 'icon' ] ) ) { $ icon = $ data [ 'icon' ] ; } $ list [ $ type ] [ $ name ] = [ 'name' => $ name , 'displayName' => $ displayName , 'icon' => $ icon , 'siteWide' => false // @deprecated <deprecated-site-wide-plugin> ] ; } return $ list ; }
Returns an array the represents the available plugins

@return array
Returns an array the represents the available plugins