f7cloud_client/apps/groupfolders/lib/Settings/Section.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

39 lines
764 B
PHP

<?php
declare (strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\GroupFolders\Settings;
use OCA\GroupFolders\AppInfo\Application;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;
class Section implements IIconSection {
public function __construct(
private readonly IL10N $l,
private readonly IURLGenerator $url,
) {
}
public function getID(): string {
return Application::APP_ID;
}
public function getName(): string {
return $this->l->t('Team folders');
}
public function getPriority(): int {
return 90;
}
public function getIcon(): string {
return $this->url->imagePath('groupfolders', 'app-dark.svg');
}
}