aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Dashboard/Model/WidgetSetup.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-05-27 09:10:40 +0200
committerJulius Härtl <jus@bitgrid.net>2020-07-15 09:24:51 +0200
commit544fcdb549381f233dbfd9ca57cf6e7afb490104 (patch)
tree3f97719183cb8bff8a9eaf22999c05e9de98f33e /lib/public/Dashboard/Model/WidgetSetup.php
parent673d70dfc5ac5cab63bda1c0d0d5d7a21bf420e9 (diff)
downloadnextcloud-server-544fcdb549381f233dbfd9ca57cf6e7afb490104.tar.gz
nextcloud-server-544fcdb549381f233dbfd9ca57cf6e7afb490104.zip
Deprecate old dashboard API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Dashboard/Model/WidgetSetup.php')
-rw-r--r--lib/public/Dashboard/Model/WidgetSetup.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/public/Dashboard/Model/WidgetSetup.php b/lib/public/Dashboard/Model/WidgetSetup.php
index 18dc0abd481..2a1fc877414 100644
--- a/lib/public/Dashboard/Model/WidgetSetup.php
+++ b/lib/public/Dashboard/Model/WidgetSetup.php
@@ -38,6 +38,7 @@ use JsonSerializable;
* @see IDashboardWidget::getWidgetSetup
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
@@ -73,6 +74,7 @@ final class WidgetSetup implements JsonSerializable {
*
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
*
@@ -90,6 +92,7 @@ final class WidgetSetup implements JsonSerializable {
* Returns all sizes defined for the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
@@ -101,6 +104,7 @@ final class WidgetSetup implements JsonSerializable {
* Add a new size to the setup.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
* @param int $width
@@ -121,6 +125,7 @@ final class WidgetSetup implements JsonSerializable {
* Returns menu entries.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
@@ -136,6 +141,7 @@ final class WidgetSetup implements JsonSerializable {
* $text is the display name of the menu entry.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
* @param string $icon
@@ -161,6 +167,7 @@ final class WidgetSetup implements JsonSerializable {
* $delay is the time in seconds between each call.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
* @param int $delay
@@ -180,6 +187,7 @@ final class WidgetSetup implements JsonSerializable {
* Get delayed jobs.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
@@ -192,6 +200,7 @@ final class WidgetSetup implements JsonSerializable {
* Get the push function, called when an event is send to the front-end
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
@@ -204,6 +213,7 @@ final class WidgetSetup implements JsonSerializable {
* frontend.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
*
@@ -220,6 +230,7 @@ final class WidgetSetup implements JsonSerializable {
* Returns the default settings for a widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
@@ -235,6 +246,7 @@ final class WidgetSetup implements JsonSerializable {
* @see WidgetSetting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param array $settings
*
@@ -249,6 +261,7 @@ final class WidgetSetup implements JsonSerializable {
/**
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/