aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Bootstrap
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2021-10-14 08:19:40 +0000
committerChristopher Ng <chrng8@gmail.com>2021-10-19 04:59:35 +0000
commit309354852f12ae88d5eef05d311d6ebcba8ee762 (patch)
tree640c4e2394ba2a868d8d1cb6b5271fd1271bbdab /lib/public/AppFramework/Bootstrap
parent7215148a242815a5064ce5d00a387c634dc936f3 (diff)
downloadnextcloud-server-309354852f12ae88d5eef05d311d6ebcba8ee762.tar.gz
nextcloud-server-309354852f12ae88d5eef05d311d6ebcba8ee762.zip
Profile backend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/public/AppFramework/Bootstrap')
-rw-r--r--lib/public/AppFramework/Bootstrap/IRegistrationContext.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
index d396c619923..f75cdb18cfb 100644
--- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
+++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php
@@ -26,6 +26,7 @@ declare(strict_types=1);
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
namespace OCP\AppFramework\Bootstrap;
use OCP\AppFramework\IAppContainer;
@@ -74,6 +75,7 @@ interface IRegistrationContext {
* @since 20.0.0
*/
public function registerDashboardWidget(string $widgetClass): void;
+
/**
* Register a service
*
@@ -237,4 +239,15 @@ interface IRegistrationContext {
* @since 23.0.0
*/
public function registerCalendarProvider(string $class): void;
+
+ /**
+ * Register an implementation of \OCP\Profile\ILinkAction that
+ * will handle the implementation of a profile action
+ *
+ * @param string $actionClass
+ * @psalm-param class-string<\OCP\Profile\ILinkAction> $actionClass
+ * @return void
+ * @since 23.0.0
+ */
+ public function registerProfileAction(string $actionClass): void;
}