summaryrefslogtreecommitdiffstats
path: root/lib/public/Collaboration/Resources/IProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Collaboration/Resources/IProvider.php')
-rw-r--r--lib/public/Collaboration/Resources/IProvider.php24
1 files changed, 3 insertions, 21 deletions
diff --git a/lib/public/Collaboration/Resources/IProvider.php b/lib/public/Collaboration/Resources/IProvider.php
index 16ab16c0d1b..c091ecaa8d5 100644
--- a/lib/public/Collaboration/Resources/IProvider.php
+++ b/lib/public/Collaboration/Resources/IProvider.php
@@ -38,31 +38,13 @@ interface IProvider {
public function getType(): string;
/**
- * Get the display name of a resource
+ * Get the rich object data of a resource
*
* @param IResource $resource
- * @return string
- * @since 16.0.0
- */
- public function getName(IResource $resource): string;
-
- /**
- * Get the icon class of a resource
- *
- * @param IResource $resource
- * @return string
- * @since 16.0.0
- */
- public function getIconLink(IResource $resource): string;
-
- /**
- * Get the link to a resource
- *
- * @param IResource $resource
- * @return string
+ * @return array
* @since 16.0.0
*/
- public function getLink(IResource $resource): string;
+ public function getResourceRichObject(IResource $resource): array;
/**
* Can a user/guest access the collection