Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/config/option/PhabricatorPhurlConfigOptions.php
12256 views
1
<?php
2
3
final class PhabricatorPhurlConfigOptions
4
extends PhabricatorApplicationConfigOptions {
5
6
public function getName() {
7
return pht('Phurl');
8
}
9
10
public function getDescription() {
11
return pht('Options for Phurl.');
12
}
13
14
public function getIcon() {
15
return 'fa-link';
16
}
17
18
public function getGroup() {
19
return 'apps';
20
}
21
22
public function getOptions() {
23
return array(
24
$this->newOption('phurl.short-uri', 'string', null)
25
->setLocked(true)
26
->setSummary(pht('URI that Phurl will use to shorten URLs.'))
27
->setDescription(
28
pht(
29
'Set the URI that Phurl will use to share shortened URLs.'))
30
->addExample(
31
'https://some-very-short-domain.museum/',
32
pht('Valid Setting')),
33
);
34
}
35
}
36
37