Nextcloud PHP API (stable19)

IWidgetsService

Interface IWidgetsService

The Service is provided by the Dashboard app. The method in this interface are used by the IDashboardManager when a widget needs to access the current configuration of a widget for a user.

Tags
since
15.0.0

Table of Contents

getWidgetConfig()  : IWidgetConfig
Returns the IWidgetConfig for a widgetId and userId

Methods

getWidgetConfig()

Returns the IWidgetConfig for a widgetId and userId

public getWidgetConfig(string $widgetId, string $userId) : IWidgetConfig
Parameters
$widgetId : string
$userId : string
Tags
since
15.0.0
Return values
IWidgetConfig

Search results