diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-29 12:17:47 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-02-12 17:22:32 +0100 |
commit | b6da8c527998d44264d3486f2d34e34630a97bee (patch) | |
tree | d215237234fb0668bfe58b0f43fa088a31eabbeb /lib/public | |
parent | 96480af159f57fd670cd12056e7a13ec76ac6d36 (diff) | |
download | nextcloud-server-b6da8c527998d44264d3486f2d34e34630a97bee.tar.gz nextcloud-server-b6da8c527998d44264d3486f2d34e34630a97bee.zip |
Add getAll to public INavigationManager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/INavigationManager.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/INavigationManager.php b/lib/public/INavigationManager.php index 216f8a897d8..344ea47e2e0 100644 --- a/lib/public/INavigationManager.php +++ b/lib/public/INavigationManager.php @@ -57,4 +57,13 @@ interface INavigationManager { * @since 6.0.0 */ public function setActiveEntry($appId); + + /** + * Get a list of navigation entries + * + * @param bool $absolute set to true if links to navigation entries should be converted to absolute urls + * @return array + * @since 14.0.0 + */ + public function getAll(string $type = 'link'): array; } |