aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Contacts/ContactsMenu/ILinkAction.php
blob: 92bccfd8ddaab6d427fa8f073522b9c121ab1142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Contacts\ContactsMenu;

/**
 * @since 12.0
 */
interface ILinkAction extends IAction {
	/**
	 * @param string $href the target URL of the action
	 * @since 12.0
	 */
	public function setHref(string $href);

	/**
	 * @since 12.0
	 * @return string
	 */
	public function getHref(): string;
}