diff options
Diffstat (limited to 'lib/private/Contacts/ContactsMenu/Actions/LinkAction.php')
-rw-r--r-- | lib/private/Contacts/ContactsMenu/Actions/LinkAction.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php b/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php index a50318903ac..5acafed2fda 100644 --- a/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php +++ b/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php @@ -38,6 +38,9 @@ class LinkAction implements ILinkAction { /** @var int */ private $priority = 10; + /** @var string */ + private $appId; + /** * @param string $icon absolute URI to an icon */ @@ -88,6 +91,22 @@ class LinkAction implements ILinkAction { } /** + * @param string $appId + * @since 23.0.0 + */ + public function setAppId(string $appId) { + $this->appId = $appId; + } + + /** + * @return string + * @since 23.0.0 + */ + public function getAppId(): string { + return $this->appId; + } + + /** * @return array */ public function jsonSerialize() { @@ -95,6 +114,7 @@ class LinkAction implements ILinkAction { 'title' => $this->name, 'icon' => $this->icon, 'hyperlink' => $this->href, + 'appId' => $this->appId, ]; } } |