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

53 lines
901 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AppAPI\Settings\DeclarativeSettings;
use OCA\AppAPI\AppInfo\Application;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;
class AiIntegrationTeam implements IIconSection {
public function __construct(
private IURLGenerator $urlGenerator,
private IL10N $l
) {
}
/**
* @inheritDoc
*/
public function getID(): string {
return 'ai_integration_team';
}
/**
* @inheritDoc
*/
public function getName(): string {
return $this->l->t('AI Integration Team');
}
/**
* @inheritDoc
*/
public function getPriority(): int {
return 30;
}
/**
* @inheritDoc
*/
public function getIcon(): ?string {
return $this->urlGenerator->imagePath(Application::APP_ID, 'app-dark.svg');
}
}