diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-18 09:12:11 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-18 09:12:11 +0100 |
commit | a6b579b772a9966984d46daad82e46ac2905a343 (patch) | |
tree | 7f5bbe5f171de80614837617115718ddba3a0a35 /lib/public | |
parent | 1edfffd091ed416d99925d9dc660920560c457fa (diff) | |
download | nextcloud-server-a6b579b772a9966984d46daad82e46ac2905a343.tar.gz nextcloud-server-a6b579b772a9966984d46daad82e46ac2905a343.zip |
Add guest navigation type
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/INavigationManager.php | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/public/INavigationManager.php b/lib/public/INavigationManager.php index 77b881b8b15..f840bc8c8a5 100644 --- a/lib/public/INavigationManager.php +++ b/lib/public/INavigationManager.php @@ -39,6 +39,25 @@ namespace OCP; * @since 6.0.0 */ interface INavigationManager { + + /** + * Navigation entries of the app navigation + * @since 16.0.0 + */ + const TYPE_APPS = 'link'; + + /** + * Navigation entries of the settings navigation + * @since 16.0.0 + */ + const TYPE_SETTINGS = 'settings'; + + /** + * Navigation entries for public page footer navigation + * @since 16.0.0 + */ + const TYPE_GUEST = 'guest'; + /** * Creates a new navigation entry * @@ -65,5 +84,5 @@ interface INavigationManager { * @return array * @since 14.0.0 */ - public function getAll(string $type = 'link'): array; + public function getAll(string $type = self::TYPE_APPS): array; } |