39 lines
764 B
PHP
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');
|
|
}
|
|
}
|