aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Contacts/ContactsMenu/ILinkAction.php
blob: 559e04885c5e4a24d663bcfa97c4e303bd1a8c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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;
}