aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/Template/LinkMenuAction.php
blob: 6ae1fcdf13b2e17d934cd034d777f7625530c7cd (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
25
<?php
/**
 * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\AppFramework\Http\Template;

/**
 * Class LinkMenuAction
 *
 * @since 14.0.0
 */
class LinkMenuAction extends SimpleMenuAction {
	/**
	 * LinkMenuAction constructor.
	 *
	 * @param string $label
	 * @param string $icon
	 * @param string $link
	 * @since 14.0.0
	 */
	public function __construct(string $label, string $icon, string $link) {
		parent::__construct('directLink', $label, $icon, $link);
	}
}