aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Activity/Settings/FileActivitySettings.php
blob: 0ca7100832fc650b09a95dbb4b076ed8970841f0 (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
26
27
28
29
30
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCA\Files\Activity\Settings;

use OCP\Activity\ActivitySettings;
use OCP\IL10N;

abstract class FileActivitySettings extends ActivitySettings {
	/**
	 * @param IL10N $l
	 */
	public function __construct(
		protected IL10N $l,
	) {
	}

	public function getGroupIdentifier() {
		return 'files';
	}

	public function getGroupName() {
		return $this->l->t('Files');
	}
}