Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/feed/config/PhabricatorFeedConfigOptions.php
12242 views
1
<?php
2
3
final class PhabricatorFeedConfigOptions
4
extends PhabricatorApplicationConfigOptions {
5
6
public function getName() {
7
return pht('Feed');
8
}
9
10
public function getDescription() {
11
return pht('Feed options.');
12
}
13
14
public function getIcon() {
15
return 'fa-newspaper-o';
16
}
17
18
public function getGroup() {
19
return 'apps';
20
}
21
22
public function getOptions() {
23
$hooks_help = $this->deformat(pht(<<<EODOC
24
IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks.
25
26
You can configure Webhooks in Herald. This configuration option will be removed
27
in a future version of the software.
28
29
(This legacy option may be configured with a list of URIs; feed stories will
30
send to these URIs.)
31
EODOC
32
));
33
34
return array(
35
$this->newOption('feed.http-hooks', 'list<string>', array())
36
->setLocked(true)
37
->setSummary(pht('Deprecated.'))
38
->setDescription($hooks_help),
39
);
40
}
41
42
}
43
44