diff options
author | Louis Chemineau <louis@chmn.me> | 2023-01-18 16:53:22 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-02-02 15:41:26 +0100 |
commit | 4ab3c16403e69811cf2353ba2bfeafcbcf259c42 (patch) | |
tree | 981b24806dfde120a7170957cac022b3bfdb74b9 /lib/public/AppFramework | |
parent | fc4e87a2dfc5ff53bc9f15da13f355dd285769a9 (diff) | |
download | nextcloud-server-4ab3c16403e69811cf2353ba2bfeafcbcf259c42.tar.gz nextcloud-server-4ab3c16403e69811cf2353ba2bfeafcbcf259c42.zip |
Pluggable share provider
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r-- | lib/public/AppFramework/Bootstrap/IRegistrationContext.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php index 3748714bb79..6350169510f 100644 --- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php +++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php @@ -328,4 +328,14 @@ interface IRegistrationContext { * @since 25.0.0 */ public function registerSensitiveMethods(string $class, array $methods): void; + + /** + * Register an implementation of IPublicShareTemplateProvider. + * + * @param string $class + * @psalm-param class-string<\OCP\Share\IPublicShareTemplateProvider> $class + * @return void + * @since 26.0.0 + */ + public function registerPublicShareTemplateProvider(string $class): void; } |