iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api
IPluginIntegrationService Interface
IPluginIntegrationService Methods
AddButton Method
AddButtonOnClosedOrderView Method
AddButtonOnPastOrderView Method
GetConfigsDirectoryPath Method
GetDataStorageDirectoryPath Method
GetPaymentProcessorSettingsKey Method
GetPluginSettings Method
UpdatePluginSettings Method

# IPluginIntegrationService AddButton Method

Adds action button to display it in plugin menu. Button will be automatically removed on iikoFront restarts or you will dispose method's return value.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    IDisposable AddButton(
    	Button button
    )

#### Parameters

button
  Type: Resto.Front.Api.UI
  Button
  Action Button to insert in plugins summary at 'Additional screen' -> 'Plugins menu'.

#### Return Value

Type: IDisposable
You may dispose result to remove button.
See Also

#### Reference

IPluginIntegrationService Interface
Resto.Front.Api Namespace