include/SugarPlugins/SugarPlugins.php
\SugarPlugins
Package: SugarCRM
Plugin management
- Api
Constants
Properties
Methods

_getPluginDownloadToken(
string $plugin_id
)
:
stringReturns the download token for the given plugin
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $plugin_id | string |
| Type | Description |
|---|---|
| string | token |

downloadPlugin(
string $plugin_id
)
:
voidDownloads the plugin from Sugar using an HTTP redirect
Parameters
| Name | Type | Description |
|---|---|---|
| $plugin_id | string |