nextcloud-pride-flags/lib/Settings/PersonalSettings.php

26 lines
545 B
PHP
Raw Permalink Normal View History

2024-07-28 15:57:30 +00:00
<?php
declare(strict_types=1);
namespace OCA\PrideFlags\Settings;
use OCA\PrideFlags\AppConstants;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\Settings\ISettings;
use OCP\Util;
class PersonalSettings implements ISettings {
public function getForm(): TemplateResponse {
Util::addScript(AppConstants::APP_ID, 'pride-settings');
return new TemplateResponse(AppConstants::APP_ID, 'settings', []);
}
public function getSection(): string {
return AppConstants::APP_ID;
}
public function getPriority(): int {
return 50;
}
}