summaryrefslogtreecommitdiffstats
path: root/lib/public/INavigationManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/INavigationManager.php')
-rw-r--r--lib/public/INavigationManager.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/INavigationManager.php b/lib/public/INavigationManager.php
index 189342b4cc4..71979042811 100644
--- a/lib/public/INavigationManager.php
+++ b/lib/public/INavigationManager.php
@@ -90,4 +90,13 @@ interface INavigationManager {
* @since 14.0.0
*/
public function getAll(string $type = self::TYPE_APPS): array;
+
+ /**
+ * Set an unread counter for navigation entries
+ *
+ * @param string $id id of the navigation entry
+ * @param int $unreadCounter Number of unread entries (0 to hide the counter which is the default)
+ * @since 22.0.0
+ */
+ public function setUnreadCounter(string $id, int $unreadCounter): void;
}