summaryrefslogtreecommitdiffstats
path: root/lib/public/Dashboard
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-06-23 15:23:28 +0200
committerJulius Härtl <jus@bitgrid.net>2020-07-15 09:27:57 +0200
commit81e559313325777649e640492cba1981aff3e54a (patch)
tree3a200debadabdc6ddb07b90699e0fb34f0e94603 /lib/public/Dashboard
parent86a7d1641aa85c83aab3b0bc22a84442d3ce3b26 (diff)
downloadnextcloud-server-81e559313325777649e640492cba1981aff3e54a.tar.gz
nextcloud-server-81e559313325777649e640492cba1981aff3e54a.zip
Move to lazy panel registration during registration context
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Dashboard')
-rw-r--r--lib/public/Dashboard/IManager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/Dashboard/IManager.php b/lib/public/Dashboard/IManager.php
index a5185ae22a7..21d67407fb8 100644
--- a/lib/public/Dashboard/IManager.php
+++ b/lib/public/Dashboard/IManager.php
@@ -38,6 +38,12 @@ interface IManager {
public function registerPanel(IPanel $panel): void;
/**
+ * @param string $panelClass
+ * @since 20.0.0
+ */
+ public function lazyRegisterPanel(string $panelClass): void;
+
+ /**
* @since 20.0.0
*
* @return IPanel[]