public function get_plugin_info($component) {
        list($type, $name) = core_component::normalize_component($component);
        $plugins = $this->get_plugins_of_type($type);
        if (isset($plugins[$name])) {
            return $plugins[$name];
        } else {
            return null;
        }
    }
public function get_plugin_info($component) {
        list($type, $name) = core_component::normalize_component($component);
        $plugins = $this->get_plugins_of_type($type);
        if (isset($plugins[$name])) {
            return $plugins[$name];
        } else {
            return null;
        }
    }
public function get_plugin_info ( $ component ) { list ( $ type , $ name ) = core_component :: normalize_component ( $ component ) ; $ plugins = $ this -> get_plugins_of_type ( $ type ) ; if ( isset ( $ plugins [ $ name ] ) ) { return $ plugins [ $ name ] ; } else { return null ; } }
Returns information about the known plugin, or null

@param string $component frankenstyle component name.
@return \core\plugininfo\base|null the corresponding plugin information.
Returns information about the known plugin or null