public function link_plugintype($name, $summary = '') {
        $this->add_type(new types\plugintype_link($name, [], $summary));

        return $this;
    }
public function link_plugintype($name, $summary = '') {
        $this->add_type(new types\plugintype_link($name, [], $summary));

        return $this;
    }
public function link_plugintype ( $ name , $ summary = '' ) { $ this -> add_type ( new types \ plugintype_link ( $ name , [ ] , $ summary ) ) ; return $ this ; }
Old function to link a plugin to the component.

This function is legacy and is not recommended. Please use add_plugintype_link() instead.

@param   string  $name the name of the plugin to link.
@param   string  $summary A description of what is stored within this plugin.
@return  $this
Old function to link a plugin to the component .