RegisterWidgetEvent¶
-
class
OCP\Dashboard\
RegisterWidgetEvent
¶ - Class RegisterPanelEventThis event is dispatched to allow apps supporting older Nextcloud versions tostill register their dashboard panels so that they are only constructed whenthey are needed. Deprecated right away so we can drop it again after 19 is EOLand backward compatible apps can use OCP\AppFramework\Bootstrap\IBootstrap
Source: lib/public/Dashboard/RegisterWidgetEvent.php#42 Parent: OCP\EventDispatcher\Event
Properties¶
Methods¶
-
public
OCP\Dashboard\RegisterWidgetEvent::
__construct
($manager)¶ Source: lib/public/Dashboard/RegisterWidgetEvent.php#45
-
public
OCP\Dashboard\RegisterWidgetEvent::
registerWidget
($panelClass)¶ Source: Parameters: - $panelClass (string)
Since: 20.0.0