mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
66 lines
1 KiB
PHP
66 lines
1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\Libresign\Activity\Settings;
|
|
|
|
use OCP\Activity\ActivitySettings;
|
|
|
|
abstract class LibresignActivitySettings extends ActivitySettings {
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function getGroupIdentifier() {
|
|
return 'libresign';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function getGroupName() {
|
|
return 'LibreSign';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function getPriority(): int {
|
|
return 51;
|
|
}
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function canChangeNotification(): bool {
|
|
return true;
|
|
}
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function canChangeMail() {
|
|
return true;
|
|
}
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function isDefaultEnabledMail() {
|
|
return true;
|
|
}
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
#[\Override]
|
|
public function isDefaultEnabledNotification(): bool {
|
|
return true;
|
|
}
|
|
}
|