original_string: public function link_plugintype($name, $summary = '') {
          $this->add_type(new types\plugintype_link($name, [], $summary));
  
          return $this;
      }
code: public function link_plugintype($name, $summary = '') {
          $this->add_type(new types\plugintype_link($name, [], $summary));
  
          return $this;
      }
code_tokens: public function link_plugintype ( $ name , $ summary = '' ) { $ this -> add_type ( new types \ plugintype_link ( $ name , [ ] , $ summary ) ) ; return $ this ; }
docstring: 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
docstring_tokens: Old function to link a plugin to the component .