new (require("core_ai/aiprovider_action_management_table"))(providerid)
- Description:
Constructor for the class.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
providerid |
int | The provider id. |
Methods
setPluginState(methodname, plugin, state) → {Promise}
- Description:
Set the plugin state (enabled or disabled).
- Source:
Parameters:
Name | Type | Description |
---|---|---|
methodname |
string | The web service to call. |
plugin |
string | The name of the plugin and action to set the state for. |
state |
number | The state to set. |
Returns:
- Type
- Promise