mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
37 lines
797 B
PHP
37 lines
797 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Libresign\Activity\Settings;
|
|
|
|
use OCA\Libresign\Events\SendSignNotificationEvent;
|
|
use OCP\IL10N;
|
|
|
|
class FileToSign extends LibresignActivitySettings {
|
|
public function __construct(
|
|
protected IL10N $l,
|
|
) {
|
|
}
|
|
|
|
/**
|
|
* @return string Lowercase a-z and underscore only identifier. The type of table activity
|
|
* @since 20.0.0
|
|
*/
|
|
#[\Override]
|
|
public function getIdentifier(): string {
|
|
return SendSignNotificationEvent::FILE_TO_SIGN;
|
|
}
|
|
|
|
/**
|
|
* @return string A translated string
|
|
* @since 11.0.0
|
|
*/
|
|
#[\Override]
|
|
public function getName(): string {
|
|
return $this->l->t('You have a <strong>file to sign</strong>');
|
|
}
|
|
}
|