Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F555771
HeraldWebhookEditor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
746 B
Referenced Files
None
Subscribers
None
HeraldWebhookEditor.php
View Options
<?php
final
class
HeraldWebhookEditor
extends
PhabricatorApplicationTransactionEditor
{
public
function
getEditorApplicationClass
()
{
return
PhabricatorHeraldApplication
::
class
;
}
public
function
getEditorObjectsDescription
()
{
return
pht
(
'Webhooks'
);
}
public
function
getCreateObjectTitle
(
$author
,
$object
)
{
return
pht
(
'%s created this webhook.'
,
$author
);
}
public
function
getCreateObjectTitleForFeed
(
$author
,
$object
)
{
return
pht
(
'%s created %s.'
,
$author
,
$object
);
}
public
function
getTransactionTypes
()
{
$types
=
parent
::
getTransactionTypes
();
$types
[]
=
PhabricatorTransactions
::
TYPE_VIEW_POLICY
;
$types
[]
=
PhabricatorTransactions
::
TYPE_EDIT_POLICY
;
return
$types
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 6:47 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
125341
Default Alt Text
HeraldWebhookEditor.php (746 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment