File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ Developed with ❤️ by [LibreCode](https://librecode.coop). Help us transform
72
72
<activity >
73
73
<settings >
74
74
<setting >OCA\Libresign\Activity\Settings\FileToSign</setting >
75
+ <setting >OCA\Libresign\Activity\Settings\FileSigned</setting >
75
76
</settings >
76
77
<filters >
77
78
<filter >OCA\Libresign\Activity\Filter</filter >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+ /**
5
+ * SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
6
+ * SPDX-License-Identifier: AGPL-3.0-or-later
7
+ */
8
+
9
+ namespace OCA \Libresign \Activity \Settings ;
10
+
11
+ use OCP \IL10N ;
12
+
13
+ class FileSigned extends LibresignActivitySettings {
14
+ public function __construct (
15
+ protected IL10N $ l ,
16
+ ) {
17
+ }
18
+
19
+ /**
20
+ * @return string Lowercase a-z and underscore only identifier. The type of table activity
21
+ * @since 20.0.0
22
+ */
23
+ public function getIdentifier (): string {
24
+ return 'file_signed ' ;
25
+ }
26
+
27
+ /**
28
+ * @return string A translated string
29
+ * @since 11.0.0
30
+ */
31
+ public function getName (): string {
32
+ return $ this ->l ->t ('A document has been <strong>signed</strong> ' );
33
+ }
34
+
35
+ /**
36
+ * {@inheritdoc}
37
+ */
38
+ public function getPriority (): int {
39
+ return 52 ;
40
+ }
41
+
42
+ }
You can’t perform that action at this time.
0 commit comments