aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Remote/Credentials.php
blob: 56cf745c34c80040129ac3b54e53b0223f88e391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
generated by cgit v1.2.3 (git 2.39.1) at 2025-08-02 01:02:26 +0000
 


>l10nFactory->get('lib')->t('Email');
	}

	public function getTitle(): string {
		return $this->l10nFactory->get('lib')->t('Mail %s', [$this->value]);
	}

	public function getPriority(): int {
		return 20;
	}

	public function getIcon(): string {
		return $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core', 'actions/mail.svg'));
	}

	public function getTarget(): ?string {
		if (empty($this->value)) {
			return null;
		}
		return 'mailto:' . $this->value;
	}
}