summaryrefslogtreecommitdiffstats
path: root/lib/public/Contacts/ContactsMenu/IActionFactory.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2021-10-18 18:19:37 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2021-10-20 11:53:45 +0200
commit873e8e219cb7d9c0651260a3b4f138618a22f31e (patch)
treeda2ffc73b5c6f9255d60f84eb2cbe73a7cdefc60 /lib/public/Contacts/ContactsMenu/IActionFactory.php
parent3ce3c0f117e7f5b02e55eb2c9aa0a1e7f7fe3508 (diff)
downloadnextcloud-server-873e8e219cb7d9c0651260a3b4f138618a22f31e.tar.gz
nextcloud-server-873e8e219cb7d9c0651260a3b4f138618a22f31e.zip
Add appName to contactsmenu action API
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/public/Contacts/ContactsMenu/IActionFactory.php')
-rw-r--r--lib/public/Contacts/ContactsMenu/IActionFactory.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/Contacts/ContactsMenu/IActionFactory.php b/lib/public/Contacts/ContactsMenu/IActionFactory.php
index f454ea117d2..393c9eb487a 100644
--- a/lib/public/Contacts/ContactsMenu/IActionFactory.php
+++ b/lib/public/Contacts/ContactsMenu/IActionFactory.php
@@ -35,9 +35,10 @@ interface IActionFactory {
* @param string $icon full path to the action's icon
* @param string $name localized name of the action
* @param string $href target URL
+ * @param string $appName the appName registering the action
* @return ILinkAction
*/
- public function newLinkAction($icon, $name, $href);
+ public function newLinkAction(string $icon, string $name, string $href, string $appName = ''): ILinkAction;
/**
* Construct and return a new email action for the contacts menu
@@ -47,7 +48,8 @@ interface IActionFactory {
* @param string $icon full path to the action's icon
* @param string $name localized name of the action
* @param string $email target e-mail address
+ * @param string $appName the appName registering the action
* @return ILinkAction
*/
- public function newEMailAction($icon, $name, $email);
+ public function newEMailAction(string $icon, string $name, string $email, string $appName = ''): ILinkAction;
}