Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60645092
PhabricatorFeedConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, May 1, 16:44
Size
941 B
Mime Type
text/x-php
Expires
Fri, May 3, 16:44 (2 d)
Engine
blob
Format
Raw Data
Handle
17389456
Attached To
rPH Phabricator
PhabricatorFeedConfigOptions.php
View Options
<?php
final
class
PhabricatorFeedConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Feed'
);
}
public
function
getDescription
()
{
return
pht
(
'Feed options.'
);
}
public
function
getIcon
()
{
return
'fa-newspaper-o'
;
}
public
function
getGroup
()
{
return
'apps'
;
}
public
function
getOptions
()
{
$hooks_help
=
$this
->
deformat
(
pht
(
<<<EODOC
IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks.
You can configure Webhooks in Herald. This configuration option will be removed
in a future version of Phabricator.
(This legacy option may be configured with a list of URIs; feed stories will
send to these URIs.)
EODOC
));
return
array
(
$this
->
newOption
(
'feed.http-hooks'
,
'list<string>'
,
array
())
->
setLocked
(
true
)
->
setSummary
(
pht
(
'Deprecated.'
))
->
setDescription
(
$hooks_help
),
);
}
}
Event Timeline
Log In to Comment